[Issue-ID : ODUHIGH-486] SCTP Port fix at F1 and E2 interface
[o-du/l2.git] / src / ric_stub / ric_e2ap_msg_hdl.h
index f172ac8..15caa79 100644 (file)
 #define CRNTI           17017
 #define CELL_INDEX      0
 
-
 /* allocate and zero out a static buffer */
 #define RIC_ALLOC(_datPtr, _size)                                \
 {                                                               \
-   S16 _ret;                                                    \
+   uint8_t _ret;                                                    \
    _ret = SGetSBuf(RIC_APP_MEM_REG, RIC_POOL,                  \
                     (Data **)&_datPtr, _size);                  \
    if(_ret == ROK)                                              \
-      cmMemset((U8*)_datPtr, 0, _size);                         \
+      memset(_datPtr, 0, _size);                         \
    else                                                         \
       _datPtr = NULLP;                                          \
 }
 
 
 
-void E2APMsgHdlr(Buffer *mBuf);
-S16 BuildAndSendE2SetupReq();
-S16 SendE2APMsg(Region , Pool );
+
+void E2APMsgHdlr(uint32_t *duId, Buffer *mBuf);
+uint8_t BuildAndSendE2SetupRsp(uint32_t duId);
+uint8_t BuildAndSendRicSubscriptionReq(uint32_t duId);
+uint8_t SendE2APMsg(Region region, Pool pool, uint32_t duId);
 
 /**********************************************************************
          End of file