Home
last modified time | relevance | path

Searched refs:IpLen (Results 1 – 3 of 3) sorted by relevance

/kernel/liteos_a/testsuites/unittest/container/smoke/
DIt_net_container_002.cpp35 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 …]
DIt_net_container_001.cpp35 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()
DIt_net_container_009.cpp46 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()