X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fric_stub%2Fric_stub.c;h=aebf42c55e2f376283dbe03a3ebcf5d283386365;hb=def50dc175cebc67238db5f1acd5ff322a2279bd;hp=60e5c01e95d9551e9abc37b2e388abbdb4196f58;hpb=105199ef642ffe9736ea24a01d4546578fa25e60;p=o-du%2Fl2.git diff --git a/src/ric_stub/ric_stub.c b/src/ric_stub/ric_stub.c index 60e5c01e9..aebf42c55 100644 --- a/src/ric_stub/ric_stub.c +++ b/src/ric_stub/ric_stub.c @@ -18,19 +18,18 @@ /* 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");