Searched refs:IpLen (Results 1 – 3 of 3) sorted by relevance
/kernel/liteos_a/testsuites/unittest/container/smoke/ |
D | It_net_container_002.cpp | 35 static const int IpLen = 16; variable 72 char oldIp[IpLen] = {NULL}; in ChildFunc() 73 char newIp[IpLen] = {NULL}; in ChildFunc() 75 ret = NetContainerGetLocalIP("eth0", oldIp, IpLen); in ChildFunc() 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() 116 char oldIp[IpLen] = {NULL}; in ItNetContainer002() 117 char newIp[IpLen] = {NULL}; in ItNetContainer002() 123 ret = NetContainerGetLocalIP("eth0", oldIp, IpLen); in ItNetContainer002() [all …]
|
D | It_net_container_001.cpp | 35 static const int IpLen = 16; variable 73 char oldIp[IpLen] = {NULL}; in ChildFunc() 74 char newIp[IpLen] = {NULL}; in ChildFunc() 76 ret = NetContainerGetLocalIP("eth0", oldIp, IpLen); in ChildFunc() 91 (void)memset_s(newIp, IpLen, 0, IpLen); in ChildFunc() 92 ret = NetContainerGetLocalIP(IFNAME, newIp, IpLen); in ChildFunc() 107 char oldIp[IpLen] = {NULL}; in ItNetContainer001() 108 char newIp[IpLen] = {NULL}; in ItNetContainer001() 114 ret = NetContainerGetLocalIP("eth0", oldIp, IpLen); in ItNetContainer001() 127 ret = NetContainerGetLocalIP("eth0", newIp, IpLen); in ItNetContainer001()
|
D | It_net_container_009.cpp | 46 static const int IpLen = 16; variable 162 char newIp[IpLen] = {NULL}; in TcpClientThread() 168 ret = NetContainerGetLocalIP(IFNAME, newIp, IpLen); in TcpClientThread() 184 char newIp[IpLen] = {NULL}; in ChildFunc() 190 ret = NetContainerGetLocalIP(IFNAME, newIp, IpLen); in ChildFunc()
|