X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fcu_stub%2Fcu_stub_egtp.h;h=993e4ad003486d621878a1853c9d583f288bf7df;hb=6178d5e32f0c57e198de80afc23b92c635e4f6df;hp=02b11d4750278d864b4cd83c19b552a554037979;hpb=65443172dd60a6ea312bd3a15959dbf54ad7f045;p=o-du%2Fl2.git diff --git a/src/cu_stub/cu_stub_egtp.h b/src/cu_stub/cu_stub_egtp.h index 02b11d475..993e4ad00 100644 --- a/src/cu_stub/cu_stub_egtp.h +++ b/src/cu_stub/cu_stub_egtp.h @@ -47,6 +47,9 @@ #define EGTP_MASK_BIT7 0x40 #define EGTP_MASK_BIT8 0x80 +#define NUM_TUNNEL_TO_PUMP_DATA 3 +#define NUM_DL_PACKETS 4 + uint8_t sockType; uint8_t protType; @@ -123,6 +126,7 @@ typedef struct egtpGlobalCb EgtpParams egtpCfg; /* EGTP configuration */ EgtpTptSrvr recvTptSrvr; /* Transport server for receiving UDP msg */ EgtpDstCb dstCb; /* Destination endpoint */ + uint8_t gCntPdu[MAX_TEID+1]; /* Maintaining PDU count for each bearer */ }EgtpGlobalCb; EgtpGlobalCb egtpCb; /* EGTP global control block */ @@ -135,7 +139,7 @@ S16 cuEgtpTnlMod(EgtpTnlEvt tnlEvt); S16 cuEgtpTnlDel(EgtpTnlEvt tnlEvt); S16 cuEgtpEncodeHdr(uint8_t *preEncodedHdr, EgtpMsgHdr *preDefHdr, uint8_t *hdrIdx); S16 cuEgtpHdlRecvMsg(Buffer *mBuf); -S16 cuEgtpDatReq(); +uint16_t cuEgtpDatReq(uint8_t teId); S16 BuildAppMsg(EgtpMsg *egtpMsg); S16 BuildEgtpMsg(EgtpMsg *egtpMsg); S16 cuEgtpSendMsg(Buffer *mBuf);