U8, U16, U32 data type changes
[o-du/l2.git] / src / ric_stub / ric_stub.c
index 60e5c01..aebf42c 100644 (file)
 
 /* This functions contains main() for ric_app */
 #include "common_def.h"
-#include "odu_common_codec.h"
 #include "ric_stub.h"
 #include "ric_stub_sctp.h"
 #include "du_log.h"
 
 #define RIC_ID 1
 #define RIC_NAME "ORAN_OAM_RIC"
-#define DU_IP_V4_ADDR "10.0.2.20"
-#define RIC_IP_V4_ADDR "10.0.2.30"
+#define DU_IP_V4_ADDR "192.168.130.81"
+#define RIC_IP_V4_ADDR "192.168.130.80"
 #define DU_IP_V6_ADDR "0000:0000:0000:0000:0000:0000:0000:0001"
 #define RIC_IP_V6_ADDR "0000:0000:0000:0000:0000:0000:0000:0011"
-#define DU_PORT 38482
-#define RIC_PORT 38482 
+#define DU_PORT 36422
+#define RIC_PORT 36422
 #define RRC_VER 0
 #define EXT_RRC_VER 5
 #define PLMN_MCC0 3
@@ -83,7 +82,7 @@ void init_log()
  *
  * ****************************************************************/
 
-S16 tst()
+uint8_t tst()
 {
    init_log();   
  
@@ -116,7 +115,7 @@ S16 tst()
 
 void readRicCfg()
 {
-   U32 ipv4_du, ipv4_ric;
+   uint32_t ipv4_du, ipv4_ric;
 
    DU_LOG("\nReading RIC configurations");