Searched refs:newIp (Results 1 – 3 of 3) sorted by relevance
/kernel/liteos_a/testsuites/unittest/container/smoke/ |
D | It_net_container_002.cpp | 73 char newIp[IpLen] = {NULL}; in ChildFunc() local 85 ret = NetContainerGetLocalIP("eth0", newIp, IpLen); in ChildFunc() 100 (void)memset_s(newIp, IpLen, 0, IpLen); in ChildFunc() 101 ret = NetContainerGetLocalIP(IFNAME, newIp, IpLen); in ChildFunc() 106 if (strcmp(PEER_IP, newIp) != 0) { in ChildFunc() 109 printf("######## [%s:%d] %s: %s ########\n", __FUNCTION__, __LINE__, IFNAME, newIp); in ChildFunc() 117 char newIp[IpLen] = {NULL}; in ItNetContainer002() local 136 ret = NetContainerGetLocalIP("eth0", newIp, IpLen); in ItNetContainer002() 139 ret = strcmp(oldIp, newIp); in ItNetContainer002()
|
D | It_net_container_001.cpp | 74 char newIp[IpLen] = {NULL}; in ChildFunc() local 91 (void)memset_s(newIp, IpLen, 0, IpLen); in ChildFunc() 92 ret = NetContainerGetLocalIP(IFNAME, newIp, IpLen); in ChildFunc() 97 if (strcmp(PEER_IP, newIp) != 0) { in ChildFunc() 100 printf("######## [%s:%d] %s: %s ########\n", __FUNCTION__, __LINE__, IFNAME, newIp); in ChildFunc() 108 char newIp[IpLen] = {NULL}; in ItNetContainer001() local 127 ret = NetContainerGetLocalIP("eth0", newIp, IpLen); in ItNetContainer001() 130 ret = strcmp(oldIp, newIp); in ItNetContainer001()
|
D | It_net_container_009.cpp | 162 char newIp[IpLen] = {NULL}; in TcpClientThread() local 168 ret = NetContainerGetLocalIP(IFNAME, newIp, IpLen); in TcpClientThread() 173 if (strncmp(PEER_IP, newIp, strlen(PEER_IP)) != 0) { in TcpClientThread() 176 printf("######## [%s:%d] %s: %s ########\n", __FUNCTION__, __LINE__, IFNAME, newIp); in TcpClientThread() 184 char newIp[IpLen] = {NULL}; in ChildFunc() local 190 ret = NetContainerGetLocalIP(IFNAME, newIp, IpLen); in ChildFunc() 195 if (strncmp(SERVER_IP, newIp, strlen(SERVER_IP)) != 0) { in ChildFunc() 199 printf("######## [%s:%d] %s: %s ########\n", __FUNCTION__, __LINE__, IFNAME, newIp); in ChildFunc()
|