Searched refs:bpf_program__attach_xdp (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.15/tools/testing/selftests/bpf/prog_tests/ |
D | xdp_bonding.c | 110 link = bpf_program__attach_xdp(prog, ifindex); in xdp_attach() 402 link = bpf_program__attach_xdp(skeletons->xdp_dummy->progs.xdp_dummy_prog, veth); in test_xdp_bonding_attach() 414 link = bpf_program__attach_xdp(skeletons->xdp_dummy->progs.xdp_dummy_prog, veth); in test_xdp_bonding_attach() 419 link2 = bpf_program__attach_xdp(skeletons->xdp_dummy->progs.xdp_dummy_prog, bond); in test_xdp_bonding_attach() 427 link = bpf_program__attach_xdp(skeletons->xdp_dummy->progs.xdp_dummy_prog, bond); in test_xdp_bonding_attach() 432 link2 = bpf_program__attach_xdp(skeletons->xdp_dummy->progs.xdp_dummy_prog, veth); in test_xdp_bonding_attach() 449 link = bpf_program__attach_xdp(skeletons->xdp_dummy->progs.xdp_dummy_prog, bond); in test_xdp_bonding_attach() 489 link = bpf_program__attach_xdp(skeletons->xdp_dummy->progs.xdp_dummy_prog, bond); in test_xdp_bonding_nested()
|
D | xdp_link.c | 53 link = bpf_program__attach_xdp(skel1->progs.xdp_handler, IFINDEX_LO); in test_xdp_link() 69 link = bpf_program__attach_xdp(skel1->progs.xdp_handler, IFINDEX_LO); in test_xdp_link() 97 link = bpf_program__attach_xdp(skel2->progs.xdp_handler, IFINDEX_LO); in test_xdp_link() 107 link = bpf_program__attach_xdp(skel2->progs.xdp_handler, IFINDEX_LO); in test_xdp_link()
|
D | check_mtu.c | 55 link = bpf_program__attach_xdp(prog, IFINDEX_LO); in test_check_mtu_xdp_attach()
|
D | migrate_reuseport.c | 195 test_case->link = bpf_program__attach_xdp(skel->progs.drop_ack, in drop_ack()
|
/Linux-v5.15/tools/lib/bpf/ |
D | libbpf.map | 291 bpf_program__attach_xdp;
|
D | libbpf.h | 338 bpf_program__attach_xdp(struct bpf_program *prog, int ifindex);
|
D | libbpf.c | 9597 struct bpf_link *bpf_program__attach_xdp(struct bpf_program *prog, int ifindex) in bpf_program__attach_xdp() function
|