U8, U16, U32 data type changes
[o-du/l2.git] / src / ric_stub / ric_stub_sctp.h
index 33355d8..19e9b21 100644 (file)
 
 #ifndef __RIC_SCTP_H__
 #define __RIC_SCTP_H__
-
-#include "stdbool.h"
-#include "ric_stub.h"
-#include "cm_inet.h"
-#include "cm_tpt.h"
-
-#include "cm_inet.x"
-#include "cm_tpt.x"
-
 #define MAX_RETRY 5
 
 /* Global variable declaration */
-U8   socket_type;      /* Socket type */
-bool nonblocking;      /* Blocking/Non-blocking socket */
-bool connUp;           /* Is connection up */
-int  assocId;          /* Assoc Id of connected assoc */
+uint8_t   socket_type;      /* Socket type */
+bool      nonblocking;      /* Blocking/Non-blocking socket */
+bool      connUp;           /* Is connection up */
+int       assocId;          /* Assoc Id of connected assoc */
   
-RicSctpParams sctpCfg;            /* SCTP configurations at DU */
 typedef struct
 {
    uint16_t           numFd;
@@ -68,12 +58,10 @@ EXTERN S16 sctpActvInit();
 EXTERN S16 sctpSend(Buffer *mBuf);
 S16 sctpCfgReq();
 S16 sctpStartReq();
-S16 fillAddrLst(CmInetNetAddrLst *addrLstPtr, SctpIpAddr *ipAddr);
-S16 fillDestNetAddr(CmInetNetAddr *destAddrPtr, SctpIpAddr *dstIpPtr);
 S16 sctpSetSockOpts(CmInetFd *sock_Fd);
 S16 sctpAccept(CmInetFd *lstnSock_Fd, CmInetAddr *peerAddr, CmInetFd *sock_Fd);
 S16 sctpSockPoll();
-S16 processPolling(sctpSockPollParams *pollParams, CmInetFd *sockFd, U32 *timeoutPtr, CmInetMemInfo *memInfo);
+S16 processPolling(sctpSockPollParams *pollParams, CmInetFd *sockFd, uint32_t *timeoutPtr, CmInetMemInfo *memInfo);
 
 #endif