From d0b1650d7a5c7ccd9d3cec4db27c7eaa6e8a804a Mon Sep 17 00:00:00 2001 From: yuanQie Date: Tue, 20 May 2025 20:17:18 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E2=9A=A1=20=E4=BF=AE=E6=94=B9udp?= =?UTF-8?q?=E7=A8=8B=E5=BA=8F=E6=A0=B8=E7=BB=91=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/case52/src/testcase52.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/test/case52/src/testcase52.c b/test/case52/src/testcase52.c index 7a47ffa..93bbca7 100755 --- a/test/case52/src/testcase52.c +++ b/test/case52/src/testcase52.c @@ -38,6 +38,7 @@ // Last modified time: 2025.05.03 // Last Version: V1.0 //---------------------------------------------------- +#define _GNU_SOURCE #include // udp #include // 绑定CPU #include // thread @@ -45,7 +46,7 @@ #include // open() #include // MMAP //---------------------------------------------------- -#define _GNU_SOURCE + #define SERVER_IP_CASE52 "172.29.118.76" // IP #define SERVER_PORT_CASE52 28864 // 端口 @@ -569,18 +570,18 @@ int32_t test_case(uint32_t argc, int32_t* argvp) UCP_PRINT_DEBUG("start transfering message."); - uint32_t size = 100; - char* buf; - uint32_t availableSize,offset; - uint8_t* ptr; + // uint32_t size = 100; + // char* buf; + // uint32_t availableSize,offset; + // uint8_t* ptr; - uint16_t cu_flag = C_PLANE; - HandleId_t handler; + // uint16_t cu_flag = C_PLANE; + // HandleId_t handler; handler.port_id = 0; handler.inst_id = 0; handler.type_id = CU_SPLIT; - int32_t ret; + // int32_t ret; uint8_t scs_id = 1; // NR 30K // 0; // NR 15K uint8_t cell_id = 0; //0xFF; uint32_t run_ape = 0x11;