X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fdu_app%2Fdu_e2ap_msg_hdl.h;h=75f1c45ab0db5d2b975adc3d6dc2d20c83d8a2e7;hb=746426865b5742eb3d79ae2457081c47c1c2c4c1;hp=fee93b502fe92cf5192999773def7c5cbab37426;hpb=8660dd47a5ef27b62300fabf6b027852f1d5d026;p=o-du%2Fl2.git diff --git a/src/du_app/du_e2ap_msg_hdl.h b/src/du_app/du_e2ap_msg_hdl.h index fee93b502..75f1c45ab 100644 --- a/src/du_app/du_e2ap_msg_hdl.h +++ b/src/du_app/du_e2ap_msg_hdl.h @@ -16,7 +16,7 @@ ################################################################################ *******************************************************************************/ -/* This file contains all F1AP message handler related functionality */ +/* This file contains all E2AP message handler related functionality */ #include #include #include @@ -24,6 +24,7 @@ #include "E2AP-PDU.h" #include "PLMN-IdentityE2.h" #include "RICeventTriggerDefinition.h" +#include "odu_common_codec.h" #include "envopt.h" /* Environment options */ #include "envdep.h" /* Environment dependent */ @@ -44,19 +45,25 @@ #define ENCODE_FAIL -1 +S16 sctpSend(Buffer *mBuf, U8 itfType); + typedef struct e2apDb { U16 ricId; - PLMN_IdentityE2_t plmn; + uint8_t *plmn; U32 ricReqId; U32 ricInstanceId; U32 ranFuncId; - RICeventTriggerDefinition_t ricEventTrigger; + uint8_t *ricEventTrigger; U32 ricActionId; U32 ricActionType; }E2apMsgDb; -S16 BuildAndSendE2SetupReq(); +E2apMsgDb e2apMsgDb; +uint8_t BuildAndSendE2SetupReq(); +uint8_t deAllocateE2SetupReqMsg(E2AP_PDU_t *e2apMsg, \ + E2setupRequest_t *e2SetupReq, uint8_t idx); +uint8_t SendE2APMsg(Region , Pool ); void E2APMsgHdlr(Buffer *mBuf); /**********************************************************************