X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fdu_app%2Fdu_sctp.c;h=e435cfe25742fcf91970cbe22ad3701b5b9bea44;hb=135666f5b7d048c76f68c15bd0c6b6566d1e49e2;hp=6678911cd03bd542abee473da61668539b8c96c6;hpb=694adde1a08c393a8443fd5bbd4f036f5cf85403;p=o-du%2Fl2.git diff --git a/src/du_app/du_sctp.c b/src/du_app/du_sctp.c index 6678911cd..e435cfe25 100644 --- a/src/du_app/du_sctp.c +++ b/src/du_app/du_sctp.c @@ -149,8 +149,8 @@ uint8_t duCheckReqStatus(CmStatus *cfm) uint8_t duSctpCfgReq(SctpParams sctpCfg) { - uint8_t ret = ROK; - CmStatus cfm; + uint8_t ret = ROK; + CmStatus cfm; /* Fill F1 Params */ f1Params.destIpAddr.ipV4Pres = sctpCfg.cuIpAddr.ipV4Pres; @@ -212,7 +212,7 @@ uint8_t fillAddrLst(CmInetNetAddrLst *addrLstPtr, F1IpAddr *ipAddr) { addrLstPtr->count++; addrLstPtr->addrs[(addrLstPtr->count - 1)].type = CM_INET_IPV4ADDR_TYPE; - addrLstPtr->addrs[(addrLstPtr->count - 1)].u.ipv4NetAddr = CM_INET_NTOH_U32(ipAddr->ipV4Addr); + addrLstPtr->addrs[(addrLstPtr->count - 1)].u.ipv4NetAddr = CM_INET_NTOH_UINT32(ipAddr->ipV4Addr); return ROK; } @@ -239,7 +239,7 @@ uint8_t fillDestNetAddr(CmInetNetAddr *destAddrPtr, F1IpAddr *dstIpPtr) { /* Filling destination address */ destAddrPtr->type = CM_INET_IPV4ADDR_TYPE; - destAddrPtr->u.ipv4NetAddr = CM_INET_NTOH_U32(dstIpPtr->ipV4Addr); + destAddrPtr->u.ipv4NetAddr = CM_INET_NTOH_UINT32(dstIpPtr->ipV4Addr); return ROK; } @@ -332,8 +332,8 @@ uint8_t establishReq(DuSctpDestCb *paramPtr) uint8_t duSctpAssocReq(uint8_t itfType) { - uint8_t ret = ROK; - CmStatus cfm; + uint8_t ret = ROK; + CmStatus cfm; DuSctpDestCb *paramPtr = NULLP; DU_ALLOC(paramPtr, sizeof(DuSctpDestCb)); @@ -696,9 +696,9 @@ uint8_t processPolling(sctpSockPollParams *pollParams, CmInetFd *sockFd, uint32 * ****************************************************************/ uint8_t sctpSockPoll() { - uint8_t ret = ROK; - uint32_t timeout; - uint32_t *timeout_Ptr; + uint8_t ret = ROK; + uint32_t timeout; + uint32_t *timeout_Ptr; CmInetMemInfo memInfo; sctpSockPollParams f1PollParams, e2PollParams;