/* This file contains all SCTP related functionality */
-#include <stdio.h>
+#include "common_def.h"
#include "ric_e2ap_msg_hdl.h"
#include "ric_stub_sctp.h"
+#include "ric_stub.h"
+#include "E2AP-PDU.h"
+#include "du_log.h"
CuSctpDestCb ricParams;
-
-
+RicSctpParams sctpCfg;
+S16 fillAddrLst(CmInetNetAddrLst *addrLstPtr, SctpIpAddr *ipAddr);
+S16 fillDestNetAddr(CmInetNetAddr *destAddrPtr, SctpIpAddr *dstIpPtr);
/**************************************************************************
* @brief Function to configure the Sctp Params during config Request
*
{
DU_LOG("\nSCTP: Polling failed to start at RIC");
}
- RETVALUE(ret);
+ return (ret);
}
/*******************************************************************
*
ret = RFAILED;
}
- RETVALUE(ret);
+ return (ret);
}
/*******************************************************************
DU_LOG("\nSCTP : Failed to RecvMsg for E2 at RIC \n");
}
};
- RETVALUE(ret);
+ return (ret);
}/* End of sctpSockPoll() */
/*******************************************************************
else if(connUp & (pollParams->port == ricParams.destPort))
{
E2APMsgHdlr(pollParams->mBuf);
- SPutMsg(pollParams->mBuf);
+ ODU_PUT_MSG_BUF(pollParams->mBuf);
}
else
{
- SPutMsg(pollParams->mBuf);
+ ODU_PUT_MSG_BUF(pollParams->mBuf);
}
}
}