Lines Matching refs:ifindex
254 int key = 0, ifindex = -1; in test_vxlan_tunnel() local
269 ifindex = if_nametoindex(VXLAN_TUNL_DEV1); in test_vxlan_tunnel()
270 if (!ASSERT_NEQ(ifindex, 0, "vxlan11 ifindex")) in test_vxlan_tunnel()
272 tc_hook.ifindex = ifindex; in test_vxlan_tunnel()
283 ifindex = if_nametoindex("veth1"); in test_vxlan_tunnel()
284 if (!ASSERT_NEQ(ifindex, 0, "veth1 ifindex")) in test_vxlan_tunnel()
286 tc_hook.ifindex = ifindex; in test_vxlan_tunnel()
297 ifindex = if_nametoindex(VXLAN_TUNL_DEV0); in test_vxlan_tunnel()
298 if (!ASSERT_NEQ(ifindex, 0, "vxlan00 ifindex")) in test_vxlan_tunnel()
300 tc_hook.ifindex = ifindex; in test_vxlan_tunnel()
338 int key = 0, ifindex = -1; in test_ip6vxlan_tunnel() local
353 ifindex = if_nametoindex(IP6VXLAN_TUNL_DEV1); in test_ip6vxlan_tunnel()
354 if (!ASSERT_NEQ(ifindex, 0, "ip6vxlan11 ifindex")) in test_ip6vxlan_tunnel()
356 tc_hook.ifindex = ifindex; in test_ip6vxlan_tunnel()
370 ifindex = if_nametoindex(IP6VXLAN_TUNL_DEV0); in test_ip6vxlan_tunnel()
371 if (!ASSERT_NEQ(ifindex, 0, "ip6vxlan00 ifindex")) in test_ip6vxlan_tunnel()
373 tc_hook.ifindex = ifindex; in test_ip6vxlan_tunnel()