Home
last modified time | relevance | path

Searched refs:bpf_program__attach_xdp (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dxdp_bonding.c110 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()
Dxdp_link.c54 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()
Dxdp_do_redirect.c165 link = bpf_program__attach_xdp(skel->progs.xdp_count_pkts, ifindex_dst); in serial_test_xdp_do_redirect()
Dcheck_mtu.c55 link = bpf_program__attach_xdp(prog, IFINDEX_LO); in test_check_mtu_xdp_attach()
Dmigrate_reuseport.c195 test_case->link = bpf_program__attach_xdp(skel->progs.drop_ack, in drop_ack()
/linux-6.1.9/tools/lib/bpf/
Dlibbpf.map194 bpf_program__attach_xdp;
Dlibbpf.h646 bpf_program__attach_xdp(const struct bpf_program *prog, int ifindex);
Dlibbpf.c11300 struct bpf_link *bpf_program__attach_xdp(const struct bpf_program *prog, int ifindex) in bpf_program__attach_xdp() function