Home
last modified time | relevance | path

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

/linux/samples/bpf/
H A Dxdp_fwd_user.c52 LIBBPF_OPTS(bpf_xdp_attach_opts, opts); in do_detach()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_link.c13 LIBBPF_OPTS(bpf_xdp_attach_opts, opts); in serial_test_xdp_link()
H A Dxdp_attach.c14 LIBBPF_OPTS(bpf_xdp_attach_opts, opts); in test_xdp_attach()
H A Dtest_tunnel.c782 LIBBPF_OPTS(bpf_xdp_attach_opts, opts);
/linux/tools/lib/bpf/
H A Dnetlink.c322 int bpf_xdp_attach(int ifindex, int prog_fd, __u32 flags, const struct bpf_xdp_attach_opts *opts) in bpf_xdp_attach()
326 if (!OPTS_VALID(opts, bpf_xdp_attach_opts)) in bpf_xdp_attach()
339 int bpf_xdp_detach(int ifindex, __u32 flags, const struct bpf_xdp_attach_opts *opts) in bpf_xdp_detach()
H A Dlibbpf.h1277 struct bpf_xdp_attach_opts { struct
1298 const struct bpf_xdp_attach_opts *opts); argument
1300 const struct bpf_xdp_attach_opts *opts);
/linux/tools/testing/selftests/bpf/
H A Dxdp_synproxy.c25 LIBBPF_OPTS(bpf_xdp_attach_opts, opts); in cleanup()
H A Dxdp_hw_metadata.c612 LIBBPF_OPTS(bpf_xdp_attach_opts, opts); in cleanup()