X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fcm%2Flegtp.c;h=8c60dfc978e20098cee6217975d90e08ea4fcf04;hb=45d134510deb6902b870b4a0fb574b6075fba601;hp=56818b309e9cc765cf226f666534cb74a6bf9671;hpb=105199ef642ffe9736ea24a01d4546578fa25e60;p=o-du%2Fl2.git diff --git a/src/cm/legtp.c b/src/cm/legtp.c index 56818b309..8c60dfc97 100644 --- a/src/cm/legtp.c +++ b/src/cm/legtp.c @@ -18,12 +18,7 @@ /* This file contains DU APP and EGTP interface functions */ #include "common_def.h" -#include "lrg.h" #include "legtp.h" -#include "lkw.x" -#include "lrg.x" -#include "du_cfg.h" -#include "du_egtp.h" /******************************************************************* * @@ -97,7 +92,7 @@ S16 packEgtpCfgReq(Pst *pst, EgtpConfig egtpCfg) { Buffer *mBuf; - if(SGetMsg(DFLT_REGION, DU_POOL, &mBuf) != ROK) + if(SGetMsg(DFLT_REGION, pst->pool, &mBuf) != ROK) { printf("\nDU_APP : Failed to allocate memory"); RETVALUE(RFAILED); @@ -193,7 +188,7 @@ S16 packEgtpCfgCfm(Pst *pst, CmStatus cfm) { Buffer *mBuf; - if(SGetMsg(DFLT_REGION, DU_POOL, &mBuf) != ROK) + if(SGetMsg(DFLT_REGION, pst->pool, &mBuf) != ROK) { printf("\nEGTP : Failed to allocate memory"); RETVALUE(RFAILED); @@ -252,7 +247,7 @@ S16 packEgtpSrvOpenReq(Pst *pst) { Buffer *mBuf; - if(SGetMsg(DFLT_REGION, DU_POOL, &mBuf) != ROK) + if(SGetMsg(DFLT_REGION, pst->pool, &mBuf) != ROK) { printf("\nDU_APP : Failed to allocate memory"); RETVALUE(RFAILED); @@ -305,7 +300,7 @@ S16 packEgtpSrvOpenCfm(Pst *pst, CmStatus cfm) { Buffer *mBuf; - if(SGetMsg(DFLT_REGION, DU_POOL, &mBuf) != ROK) + if(SGetMsg(DFLT_REGION, pst->pool, &mBuf) != ROK) { printf("\nEGTP : Failed to allocate memory"); RETVALUE(RFAILED); @@ -367,7 +362,7 @@ S16 packEgtpTnlMgmtReq(Pst *pst, EgtpTnlEvt tnlEvt) { Buffer *mBuf; - if(SGetMsg(DFLT_REGION, DU_POOL, &mBuf) != ROK) + if(SGetMsg(DFLT_REGION, pst->pool, &mBuf) != ROK) { printf("\nDU_APP : Failed to allocate memory"); RETVALUE(RFAILED); @@ -437,7 +432,7 @@ S16 packEgtpTnlMgmtCfm(Pst *pst, EgtpTnlEvt tnlEvt) { Buffer *mBuf; - if(SGetMsg(DFLT_REGION, DU_POOL, &mBuf) != ROK) + if(SGetMsg(DFLT_REGION, pst->pool, &mBuf) != ROK) { printf("\nEGTP : Failed to allocate memory"); RETVALUE(RFAILED); @@ -507,7 +502,7 @@ S16 packEgtpSlotInd(Pst *pst) { Buffer *mBuf; - if(SGetMsg(DFLT_REGION, DU_POOL, &mBuf) != ROK) + if(SGetMsg(DFLT_REGION, pst->pool, &mBuf) != ROK) { printf("\nDU_APP : Failed to allocate memory"); RETVALUE(RFAILED);