Lines Matching refs:fail
105 SYS(fail, "ip netns add at_ns0"); in config_device()
106 SYS(fail, "ip link add veth0 address " MAC_VETH1 " type veth peer name veth1"); in config_device()
107 SYS(fail, "ip link set veth0 netns at_ns0"); in config_device()
108 SYS(fail, "ip addr add " IP4_ADDR1_VETH1 "/24 dev veth1"); in config_device()
109 SYS(fail, "ip link set dev veth1 up mtu 1500"); in config_device()
110 SYS(fail, "ip netns exec at_ns0 ip addr add " IP4_ADDR_VETH0 "/24 dev veth0"); in config_device()
111 SYS(fail, "ip netns exec at_ns0 ip link set dev veth0 up mtu 1500"); in config_device()
114 fail: in config_device()
129 SYS(fail, "ip netns exec at_ns0 ip link add dev %s type vxlan external gbp dstport 4789", in add_vxlan_tunnel()
131 SYS(fail, "ip netns exec at_ns0 ip link set dev %s address %s up", in add_vxlan_tunnel()
133 SYS(fail, "ip netns exec at_ns0 ip addr add dev %s %s/24", in add_vxlan_tunnel()
135 SYS(fail, "ip netns exec at_ns0 ip neigh add %s lladdr %s dev %s", in add_vxlan_tunnel()
137 SYS(fail, "ip netns exec at_ns0 ip neigh add %s lladdr %s dev veth0", in add_vxlan_tunnel()
141 SYS(fail, "ip link add dev %s type vxlan external gbp dstport 4789", in add_vxlan_tunnel()
143 SYS(fail, "ip link set dev %s address %s up", VXLAN_TUNL_DEV1, MAC_TUNL_DEV1); in add_vxlan_tunnel()
144 SYS(fail, "ip addr add dev %s %s/24", VXLAN_TUNL_DEV1, IP4_ADDR_TUNL_DEV1); in add_vxlan_tunnel()
145 SYS(fail, "ip neigh add %s lladdr %s dev %s", in add_vxlan_tunnel()
149 fail: in add_vxlan_tunnel()
162 SYS(fail, "ip netns exec at_ns0 ip -6 addr add %s/96 dev veth0", in add_ip6vxlan_tunnel()
164 SYS(fail, "ip netns exec at_ns0 ip link set dev veth0 up"); in add_ip6vxlan_tunnel()
165 SYS(fail, "ip -6 addr add %s/96 dev veth1", IP6_ADDR1_VETH1); in add_ip6vxlan_tunnel()
166 SYS(fail, "ip -6 addr add %s/96 dev veth1", IP6_ADDR2_VETH1); in add_ip6vxlan_tunnel()
167 SYS(fail, "ip link set dev veth1 up"); in add_ip6vxlan_tunnel()
170 SYS(fail, "ip netns exec at_ns0 ip link add dev %s type vxlan external dstport 4789", in add_ip6vxlan_tunnel()
172 SYS(fail, "ip netns exec at_ns0 ip addr add dev %s %s/24", in add_ip6vxlan_tunnel()
174 SYS(fail, "ip netns exec at_ns0 ip link set dev %s address %s up", in add_ip6vxlan_tunnel()
178 SYS(fail, "ip link add dev %s type vxlan external dstport 4789", in add_ip6vxlan_tunnel()
180 SYS(fail, "ip addr add dev %s %s/24", IP6VXLAN_TUNL_DEV1, IP4_ADDR_TUNL_DEV1); in add_ip6vxlan_tunnel()
181 SYS(fail, "ip link set dev %s address %s up", in add_ip6vxlan_tunnel()
185 fail: in add_ip6vxlan_tunnel()
208 SYS(fail, "ip -n at_ns0 fou add port 5555 %s", ipproto); in set_ipip_encap()
209 SYS(fail, "ip -n at_ns0 link set dev %s type ipip encap %s", in set_ipip_encap()
211 SYS(fail, "ip -n at_ns0 link set dev %s type ipip encap-dport 5555", in set_ipip_encap()
215 fail: in set_ipip_encap()
239 SYS(fail, "ip -n at_ns0 link add dev %s type ipip local %s remote %s", in add_ipip_tunnel()
245 goto fail; in add_ipip_tunnel()
248 SYS(fail, "ip -n at_ns0 link set dev %s up", IPIP_TUNL_DEV0); in add_ipip_tunnel()
249 SYS(fail, "ip -n at_ns0 addr add dev %s %s/24", in add_ipip_tunnel()
254 SYS(fail, "ip fou add port 5555 %s", ipproto); in add_ipip_tunnel()
255 SYS(fail, "ip link add dev %s type ipip external", IPIP_TUNL_DEV1); in add_ipip_tunnel()
256 SYS(fail, "ip link set dev %s up", IPIP_TUNL_DEV1); in add_ipip_tunnel()
257 SYS(fail, "ip addr add dev %s %s/24", IPIP_TUNL_DEV1, in add_ipip_tunnel()
261 fail: in add_ipip_tunnel()
278 SYS(fail, in add_xfrm_tunnel()
284 SYS(fail, in add_xfrm_tunnel()
292 SYS(fail, in add_xfrm_tunnel()
298 SYS(fail, in add_xfrm_tunnel()
306 SYS(fail, "ip netns exec at_ns0 ip addr add dev veth0 %s/32", in add_xfrm_tunnel()
308 SYS(fail, "ip netns exec at_ns0 ip route add %s dev veth0 via %s src %s", in add_xfrm_tunnel()
314 SYS(fail, in add_xfrm_tunnel()
319 SYS(fail, in add_xfrm_tunnel()
326 SYS(fail, in add_xfrm_tunnel()
331 SYS(fail, in add_xfrm_tunnel()
338 SYS(fail, "ip addr add dev veth1 %s/32", IP4_ADDR_TUNL_DEV1); in add_xfrm_tunnel()
339 SYS(fail, "ip route add %s dev veth1 via %s src %s", in add_xfrm_tunnel()
343 fail: in add_xfrm_tunnel()
361 SYS(fail, "%s %s %s > /dev/null", ping_command(family), PING_ARGS, addr); in test_ping()
363 fail: in test_ping()