X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fcm%2Flegtp.c;h=8c60dfc978e20098cee6217975d90e08ea4fcf04;hb=45d134510deb6902b870b4a0fb574b6075fba601;hp=6d763d1556590fdb98ec2043e6e17789c328c377;hpb=e550b2091fb29289d12a5722b189acbede7862f0;p=o-du%2Fl2.git diff --git a/src/cm/legtp.c b/src/cm/legtp.c index 6d763d155..8c60dfc97 100644 --- a/src/cm/legtp.c +++ b/src/cm/legtp.c @@ -17,8 +17,7 @@ *******************************************************************************/ /* This file contains DU APP and EGTP interface functions */ - -#include "du_egtp.h" +#include "common_def.h" #include "legtp.h" /******************************************************************* @@ -93,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); @@ -189,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); @@ -248,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); @@ -301,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); @@ -363,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); @@ -433,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); @@ -503,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);