Home
last modified time | relevance | path

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

/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/
Dxdp_link.c53 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()
/Linux-v5.10/tools/lib/bpf/
Dlibbpf.map291 bpf_program__attach_xdp;
Dlibbpf.h263 bpf_program__attach_xdp(struct bpf_program *prog, int ifindex);
Dlibbpf.c9674 struct bpf_link *bpf_program__attach_xdp(struct bpf_program *prog, int ifindex) in bpf_program__attach_xdp() function