Home
last modified time | relevance | path

Searched refs:veth1_idx (Results 1 – 3 of 3) 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.c499 int bond_idx, veth1_idx, err; in test_xdp_bonding_features() local
543 veth1_idx = if_nametoindex("veth1"); in test_xdp_bonding_features()
544 if (!ASSERT_GE(veth1_idx, 0, "if_nametoindex veth1")) in test_xdp_bonding_features()
548 veth1_idx); in test_xdp_bonding_features()