Replaced old SSI function with new macros jira id - ODUHIGH-212
[o-du/l2.git] / src / ric_stub / ric_stub_sctp.c
index f040b95..d4453ca 100644 (file)
@@ -19,7 +19,6 @@
 /* This file contains all SCTP related functionality */
 
 #include "common_def.h"
-#include "odu_common_codec.h"
 #include "ric_e2ap_msg_hdl.h"
 #include "ric_stub_sctp.h"
 #include "ric_stub.h"
@@ -152,7 +151,7 @@ S16 sctpStartReq()
    {
       DU_LOG("\nSCTP: Polling failed to start at RIC");
    }
-   RETVALUE(ret);
+   return (ret);
 }
 /*******************************************************************
  *
@@ -189,7 +188,7 @@ S16 sctpSetSockOpts(CmInetFd *sock_Fd)
      ret = RFAILED;
    }
   
-   RETVALUE(ret);
+   return (ret);
 }
 
 /*******************************************************************
@@ -378,7 +377,7 @@ S16 sctpSockPoll()
          DU_LOG("\nSCTP : Failed to RecvMsg for E2 at RIC \n");
       }
    };
-   RETVALUE(ret);
+   return (ret);
 }/* End of sctpSockPoll() */
 
 /*******************************************************************
@@ -431,11 +430,11 @@ S16 processPolling(sctpSockPollParams *pollParams, CmInetFd *sockFd, U32 *timeou
          else if(connUp & (pollParams->port == ricParams.destPort))
          {  
             E2APMsgHdlr(pollParams->mBuf);
-            SPutMsg(pollParams->mBuf);
+            ODU_PUT_MSG(pollParams->mBuf);
          }
          else
          {
-            SPutMsg(pollParams->mBuf);
+            ODU_PUT_MSG(pollParams->mBuf);
          }
       } 
   }