X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fdu_app%2Fdu_egtp.c;h=76ec0cf74abef2ae97803f23b654c8c8738f0452;hb=d62d6a2c96903363a6d7a2f1b23658bfef3590c9;hp=075cd7c70193a570836ec6de55e5f1da89bf41db;hpb=8133a1985d2c53074af88c44edfb9231af64b433;p=o-du%2Fl2.git diff --git a/src/du_app/du_egtp.c b/src/du_app/du_egtp.c index 075cd7c70..76ec0cf74 100644 --- a/src/du_app/du_egtp.c +++ b/src/du_app/du_egtp.c @@ -29,8 +29,6 @@ #include "du_egtp.h" #include "du_utils.h" -/* Global variable declaration */ -EgtpGlobalCb egtpCb; /************************************************************************** * @brief Task Initiation callback function. @@ -874,6 +872,7 @@ uint8_t egtpSendMsg(Buffer *mBuf) uint16_t txLen; CmInetMemInfo info; CmInetAddr dstAddr; + static uint64_t numDataSent = 0; info.region = DU_APP_MEM_REGION; info.pool = DU_POOL; @@ -888,6 +887,11 @@ uint8_t egtpSendMsg(Buffer *mBuf) DU_LOG("\nERROR --> EGTP : Failed sending the message"); return RFAILED; } + else + { + DU_LOG("\nDEBUG --> EGTP : Sent UL Message [%ld]", numDataSent+1); + numDataSent++; + } return ROK; }