Home
last modified time | relevance | path

Searched refs:IFNAME (Results 1 - 4 of 4) sorted by relevance

/kernel/liteos_a/testsuites/unittest/container/smoke/
H A DIt_net_container_009.cpp38 static const char *IFNAME = "veth0"; variable
163 int ret = NetContainerResetNetAddr(IFNAME, PEER_IP, NETMASK, GW); in TcpClientThread()
168 ret = NetContainerGetLocalIP(IFNAME, newIp, IpLen); in TcpClientThread()
176 printf("######## [%s:%d] %s: %s ########\n", __FUNCTION__, __LINE__, IFNAME, newIp); in TcpClientThread()
185 int ret = NetContainerResetNetAddr(IFNAME, SERVER_IP, NETMASK, GW); in ChildFunc()
190 ret = NetContainerGetLocalIP(IFNAME, newIp, IpLen); in ChildFunc()
199 printf("######## [%s:%d] %s: %s ########\n", __FUNCTION__, __LINE__, IFNAME, newIp); in ChildFunc()
H A DIt_net_container_002.cpp38 static const char *IFNAME = "veth0"; variable
95 ret = NetContainerResetNetAddr(IFNAME, PEER_IP, NETMASK, GW); in ChildFunc()
101 ret = NetContainerGetLocalIP(IFNAME, newIp, IpLen); in ChildFunc()
109 printf("######## [%s:%d] %s: %s ########\n", __FUNCTION__, __LINE__, IFNAME, newIp); in ChildFunc()
H A DIt_net_container_001.cpp38 static const char *IFNAME = "veth0"; variable
86 ret = NetContainerResetNetAddr(IFNAME, PEER_IP, NETMASK, GW); in ChildFunc()
92 ret = NetContainerGetLocalIP(IFNAME, newIp, IpLen); in ChildFunc()
100 printf("######## [%s:%d] %s: %s ########\n", __FUNCTION__, __LINE__, IFNAME, newIp); in ChildFunc()
H A DIt_net_container_005.cpp38 static const char *IFNAME = "veth0"; variable
110 int ret = NetContainerResetNetAddr(IFNAME, PEER_IP, NETMASK, GW); in ChildFunc()
167 int ret = NetContainerResetNetAddr(IFNAME, SERVER_IP, NETMASK, GW); in UdpServerThread()

Completed in 2 milliseconds