X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fcm%2Flsctp.c;h=95f7bbdfa30619ff1a91bea8c4142b711da2e71a;hb=45d134510deb6902b870b4a0fb574b6075fba601;hp=793b2113a2b070dba238e83784dca51b8099eaaa;hpb=105199ef642ffe9736ea24a01d4546578fa25e60;p=o-du%2Fl2.git diff --git a/src/cm/lsctp.c b/src/cm/lsctp.c index 793b2113a..95f7bbdfa 100644 --- a/src/cm/lsctp.c +++ b/src/cm/lsctp.c @@ -18,14 +18,7 @@ /* This file contains DU APP and SCTP interface functions */ #include "common_def.h" -#include "lrg.h" -#include "legtp.h" -#include "du_cfg.h" -#include "lkw.x" -#include "lrg.x" -#include "du_mgr.h" -#include "du_sctp.h" - +#include "lsctp.h" /******************************************************************* * @@ -48,7 +41,7 @@ S16 cmPkSctpNtfy(Pst *pst, CmInetSctpNotification *ntfy) { Buffer *mBuf; - if(SGetMsg(DU_APP_MEM_REGION, DU_POOL, &mBuf) != ROK) + if(SGetMsg(pst->region, pst->pool, &mBuf) != ROK) { printf("\nSCTP : Failed to allocate memory"); RETVALUE(RFAILED);