#ifndef __DU_EGTP_H__
#define __DU_EGTP_H__
-#include "du_mgr.h"
-#include "du_log.h"
-#include "cm_inet.h"
-#include "cm_tpt.h"
-#include "legtp.h"
-
-#include "cm_inet.x"
-#include "cm_tpt.x"
-
#define EGTP_DFLT_PORT 2152
#define EGTP_MAX_HDR_LEN 40
#define EGTP_MAX_MSG_RECV 10
#define EGTP_MASK_BIT7 0x40
#define EGTP_MASK_BIT8 0x80
-
+S16 unpackEgtpSrvOpenReq(EgtpSrvOpenReq func, Pst *pst, Buffer *mBuf);
U8 protType;
typedef struct egtpTptSrvr
}EgtpGlobalCb;
extern EgtpGlobalCb egtpCb; /* EGTP global control block */
+uint8_t duHdlEgtpDlData(EgtpMsg *egtpMsg);
S16 egtpActvInit(Ent entity, Inst inst, Region region, Reason reason);
S16 egtpActvTsk(Pst *pst, Buffer *mBuf);
S16 egtpFillRspPst(Pst *pst, Pst *rspPst);
S16 egtpHdlDatInd(EgtpMsg msg);
S16 egtpEncodeHdr(U8 *preEncodedHdr, EgtpMsgHdr *preDefHdr, U8 *hdrIdx);
S16 egtpSendMsg(Buffer *mBuf);
-S16 egtpTTIInd();
+S16 egtpSlotInd();
S16 egtpRecvMsg();
S16 egtpHdlRecvData(Buffer *mBuf);
S16 egtpDecodeHdr(Buffer *mBuf, EgtpMsg *egtpMsg);