Searched refs:veth1_idx (Results 1 – 3 of 3) sorted by relevance
/linux/tools/testing/selftests/bpf/progs/ |
H A D | bind4_prog.c | 32 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 D | bind6_prog.c | 38 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 D | xdp_bonding.c | 499 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()
|