Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_bonding.c111 link = bpf_program__attach_xdp(prog, ifindex); in xdp_attach()
399 link = bpf_program__attach_xdp(skeletons->xdp_dummy->progs.xdp_dummy_prog, veth); in test_xdp_bonding_attach()
411 link = bpf_program__attach_xdp(skeletons->xdp_dummy->progs.xdp_dummy_prog, veth); in test_xdp_bonding_attach()
416 link2 = bpf_program__attach_xdp(skeletons->xdp_dummy->progs.xdp_dummy_prog, bond); in test_xdp_bonding_attach()
424 link = bpf_program__attach_xdp(skeletons->xdp_dummy->progs.xdp_dummy_prog, bond); in test_xdp_bonding_attach()
429 link2 = bpf_program__attach_xdp(skeletons->xdp_dummy->progs.xdp_dummy_prog, veth); in test_xdp_bonding_attach()
446 link = bpf_program__attach_xdp(skeletons->xdp_dummy->progs.xdp_dummy_prog, bond); in test_xdp_bonding_attach()
486 link = bpf_program__attach_xdp(skeletons->xdp_dummy->progs.xdp_dummy_prog, bond); in test_xdp_bonding_nested()
547 link = bpf_program__attach_xdp(skeletons->xdp_dummy->progs.xdp_dummy_prog, in test_xdp_bonding_features()
H A 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()
H A Dcheck_mtu.c55 link = bpf_program__attach_xdp(prog, IFINDEX_LO); in test_check_mtu_xdp_attach()
H A Dxdp_do_redirect.c212 link = bpf_program__attach_xdp(skel->progs.xdp_count_pkts, ifindex_dst); in test_xdp_do_redirect()
H A Dmigrate_reuseport.c195 test_case->link = bpf_program__attach_xdp(skel->progs.drop_ack, in drop_ack()
/openbmc/linux/tools/lib/bpf/
H A Dlibbpf.map194 bpf_program__attach_xdp;
H A Dlibbpf.h768 bpf_program__attach_xdp(const struct bpf_program *prog, int ifindex);
H A Dlibbpf.c11960 struct bpf_link *bpf_program__attach_xdp(const struct bpf_program *prog, int ifindex) in bpf_program__attach_xdp() function