X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fcu_stub%2Fcu_stub_sctp.h;h=50a455cadf3f07d4447ea4408cb8473986539aa0;hb=def50dc175cebc67238db5f1acd5ff322a2279bd;hp=7e17fcf40bb2f13bccde148293613320e7b046f9;hpb=1616921700a3c7541f1df6dd2678f9ee4d8e933b;p=o-du%2Fl2.git diff --git a/src/cu_stub/cu_stub_sctp.h b/src/cu_stub/cu_stub_sctp.h index 7e17fcf40..50a455cad 100644 --- a/src/cu_stub/cu_stub_sctp.h +++ b/src/cu_stub/cu_stub_sctp.h @@ -31,7 +31,7 @@ #define MAX_RETRY 5 /* Global variable declaration */ -U8 socket_type; /* Socket type */ +uint8_t socket_type; /* Socket type */ Bool nonblocking; /* Blocking/Non-blocking socket */ Bool connUp; /* Is connection up */ int assocId; /* Assoc Id of connected assoc */ @@ -40,12 +40,12 @@ CuSctpParams sctpCfg; /* SCTP configurations at DU */ typedef struct { - S16 numFd; - U16 port; - U32 flag; - Buffer *mBuf; - MsgLen bufLen; - CmInetNetAddr addr; + S16 numFd; + uint16_t port; + uint32_t flag; + Buffer *mBuf; + MsgLen bufLen; + CmInetNetAddr addr; CmInetFdSet readFd; CmInetSctpSndRcvInfo info; CmInetSctpNotification ntfy; @@ -53,8 +53,8 @@ typedef struct typedef struct { - U16 destPort; /* DU PORTS */ - U16 srcPort; + uint16_t destPort; /* DU PORTS */ + uint16_t srcPort; Bool bReadFdSet; CmInetFd sockFd; /* Socket file descriptor */ CmInetAddr peerAddr; @@ -74,7 +74,7 @@ S16 fillDestNetAddr(CmInetNetAddr *destAddrPtr, SctpIpAddr *dstIpPtr); S16 sctpSetSockOpts(CmInetFd *sock_Fd); S16 sctpSockPoll(); S16 sctpAccept(CmInetFd *lstnSock_Fd, CmInetAddr *peerAddr, CmInetFd *sock_Fd); -S16 processPolling(sctpSockPollParams *pollParams, CmInetFd *sockFd, U32 *timeoutPtr, CmInetMemInfo *memInfo); +S16 processPolling(sctpSockPollParams *pollParams, CmInetFd *sockFd, uint32_t *timeoutPtr, CmInetMemInfo *memInfo); #endif /**********************************************************************