Home
last modified time | relevance | path

Searched refs:veth1_idx (Results 1 – 4 of 4) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Dbind4_prog.c32 int veth1_idx, veth2_idx; in bind_to_device() local
38 &veth1_idx, sizeof(veth1_idx)) || !veth1_idx) in bind_to_device()
45 veth1_idx == veth2_idx) in bind_to_device()
51 &veth1_idx, sizeof(veth1_idx))) in bind_to_device()
H A Dbind6_prog.c38 int veth1_idx, veth2_idx; in bind_to_device() local
44 &veth1_idx, sizeof(veth1_idx)) || !veth1_idx) in bind_to_device()
51 veth1_idx == veth2_idx) in bind_to_device()
57 &veth1_idx, sizeof(veth1_idx))) in bind_to_device()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_bonding.c588 int bond_idx, veth1_idx, err; in test_xdp_bonding_features() local
632 veth1_idx = if_nametoindex("veth1"); in test_xdp_bonding_features()
633 if (!ASSERT_GE(veth1_idx, 0, "if_nametoindex veth1")) in test_xdp_bonding_features()
637 veth1_idx); in test_xdp_bonding_features()
H A Dfib_lookup.c1010 int redirect_fd, err, veth1_idx, veth2_idx = -1; in test_fib_lookup_vlan_redirect() local
1036 veth1_idx = if_nametoindex("veth1"); in test_fib_lookup_vlan_redirect()
1038 if (!ASSERT_NEQ(veth1_idx, 0, "if_nametoindex(veth1)") || in test_fib_lookup_vlan_redirect()
1057 fib_params->ifindex = veth1_idx; in test_fib_lookup_vlan_redirect()
1087 fib_params->ifindex = veth1_idx; in test_fib_lookup_vlan_redirect()