Searched refs:bpf_program__attach_xdp (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/ |
D | xdp_bonding.c | 110 link = bpf_program__attach_xdp(prog, ifindex); in xdp_attach() 406 link = bpf_program__attach_xdp(skeletons->xdp_dummy->progs.xdp_dummy_prog, veth); in test_xdp_bonding_attach() 418 link = bpf_program__attach_xdp(skeletons->xdp_dummy->progs.xdp_dummy_prog, veth); in test_xdp_bonding_attach() 423 link2 = bpf_program__attach_xdp(skeletons->xdp_dummy->progs.xdp_dummy_prog, bond); in test_xdp_bonding_attach() 431 link = bpf_program__attach_xdp(skeletons->xdp_dummy->progs.xdp_dummy_prog, bond); in test_xdp_bonding_attach() 436 link2 = bpf_program__attach_xdp(skeletons->xdp_dummy->progs.xdp_dummy_prog, veth); in test_xdp_bonding_attach() 453 link = bpf_program__attach_xdp(skeletons->xdp_dummy->progs.xdp_dummy_prog, bond); in test_xdp_bonding_attach() 493 link = bpf_program__attach_xdp(skeletons->xdp_dummy->progs.xdp_dummy_prog, bond); in test_xdp_bonding_nested()
|
D | xdp_link.c | 54 link = bpf_program__attach_xdp(skel1->progs.xdp_handler, IFINDEX_LO); in serial_test_xdp_link() 70 link = bpf_program__attach_xdp(skel1->progs.xdp_handler, IFINDEX_LO); in serial_test_xdp_link() 97 link = bpf_program__attach_xdp(skel2->progs.xdp_handler, IFINDEX_LO); in serial_test_xdp_link() 107 link = bpf_program__attach_xdp(skel2->progs.xdp_handler, IFINDEX_LO); in serial_test_xdp_link()
|
D | xdp_do_redirect.c | 165 link = bpf_program__attach_xdp(skel->progs.xdp_count_pkts, ifindex_dst); in serial_test_xdp_do_redirect()
|
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-6.1.9/tools/lib/bpf/ |
D | libbpf.map | 194 bpf_program__attach_xdp;
|
D | libbpf.h | 646 bpf_program__attach_xdp(const struct bpf_program *prog, int ifindex);
|
D | libbpf.c | 11300 struct bpf_link *bpf_program__attach_xdp(const struct bpf_program *prog, int ifindex) in bpf_program__attach_xdp() function
|