RLC UeCb Changes
[o-du/l2.git] / src / du_app / du_sctp.h
index edace7e..7fa7055 100644 (file)
 #ifndef __DU_SCTP_H__
 #define __DU_SCTP_H__
 
-#include "du_cfg.h"
-#include "du_mgr.h"
-#include "du_log.h"
-#include "cm_inet.h"
-#include "cm_tpt.h"
-
-#include "cm_inet.x"
-#include "cm_tpt.x"
-
 #define DU_SCTP_DOWN 0
 #define DU_SCTP_UP 1
+#define DU_SCTP_CONNECTING 2
 #define MAX_RETRY 5
 
 /* Global variable declaration */
@@ -44,7 +36,7 @@ CmInetNetAddrLst remoteAddrLst;
 
 typedef struct
 {
-   S16           numFds;            /* Total count number of receivers socket Fd */
+   S16           numFd;            /* Total count number of receivers socket Fd */
    U16           port;              /* Filled by the InetSctpRecvMsg during polling */              
    U32           flag;              /* Refers to the notifyHandler Flag during successful InetSctpRecvMsg*/
    Buffer        *mBuf;             /* Buffer filled during Socket polling*/
@@ -78,12 +70,11 @@ S16 sctpActvTsk(Pst *pst, Buffer *mBuf);
 void sctpAssocReq();
 void sendToDuApp(Buffer *mBuf, Event event);
 S16 sctpSend(Buffer *mBuf, U8 itfType);
-typedef S16 (*SctpNtfy) ARGS((Buffer *mBuf, CmInetSctpNotification *ntfy));
-S16 duSctpCfgReq(SctpParams sctpCfg, CmStatus *cfm);
+S16 duSctpCfgReq(SctpParams sctpCfg);
 S16 fillAddrLst(CmInetNetAddrLst *addrLstPtr, F1IpAddr *ipAddr);
 S16 fillDestNetAddr(CmInetNetAddr *destAddrPtr, F1IpAddr *dstIpPtr);
 S16 establishReq(DuSctpDestCb *paramPtr);
-S16 duSctpAssocReq(U8 itfType, CmStatus *cfm);
+S16 duSctpAssocReq(U8 itfType);
 S16 duFillSctpPst(Pst *pst, Event event);
 S16 sctpSetSockOpts(CmInetFd *sock_Fd);
 S16 processPolling(sctpSockPollParams *pollParams, CmInetFd *sockFd, U32 *timeoutPtr, CmInetMemInfo *memInfo, Bool recvMsgSet);