Lines Matching refs:fail

114 	SYS(fail, "ip netns add " NS0);
115 SYS(fail, "ip netns add " NS1);
116 SYS(fail, "ip netns add " NS2);
119 SYS(fail, "ip link add veth01 netns " NS0 " type veth peer name veth10 netns " NS1);
120 SYS(fail, "ip -net " NS0 " addr add " IP4_ADDR_VETH01 "/24 dev veth01");
121 SYS(fail, "ip -net " NS0 " link set dev veth01 up");
122 SYS(fail, "ip -net " NS1 " addr add " IP4_ADDR_VETH10 "/24 dev veth10");
123 SYS(fail, "ip -net " NS1 " link set dev veth10 up");
126 SYS(fail, "ip link add veth02 netns " NS0 " type veth peer name veth20 netns " NS2);
127 SYS(fail, "ip -net " NS0 " addr add " IP4_ADDR_VETH02 "/24 dev veth02");
128 SYS(fail, "ip -net " NS0 " link set dev veth02 up");
129 SYS(fail, "ip -net " NS2 " addr add " IP4_ADDR_VETH20 "/24 dev veth20");
130 SYS(fail, "ip -net " NS2 " link set dev veth20 up");
133 fail:
141 SYS(fail, "ip -net %s xfrm state add src %s dst %s spi 1 "
145 SYS(fail, "ip -net %s xfrm state add src %s dst %s spi 1 "
149 SYS(fail, "ip -net %s xfrm policy add dir out src 0.0.0.0/0 dst 0.0.0.0/0 "
154 SYS(fail, "ip -net %s xfrm policy add dir in src 0.0.0.0/0 dst 0.0.0.0/0 "
159 fail:
253 goto fail;
256 goto fail;
260 goto fail;
262 SYS(fail, "ip -net " NS0 " addr add 192.168.1.100/24 dev ipsec0");
263 SYS(fail, "ip -net " NS0 " link set dev ipsec0 up");
265 SYS(fail, "ip -net " NS1 " link add ipsec0 type xfrm if_id %d", IF_ID_1);
266 SYS(fail, "ip -net " NS1 " addr add 192.168.1.200/24 dev ipsec0");
267 SYS(fail, "ip -net " NS1 " link set dev ipsec0 up");
269 SYS(fail, "ip -net " NS2 " link add ipsec0 type xfrm if_id %d", IF_ID_2);
270 SYS(fail, "ip -net " NS2 " addr add 192.168.1.200/24 dev ipsec0");
271 SYS(fail, "ip -net " NS2 " link set dev ipsec0 up");
274 fail:
282 SYS(fail, "ping -i 0.01 -c 3 -w 10 -q 192.168.1.200 > /dev/null");
285 goto fail;
288 fail: