libbpf-rs icon indicating copy to clipboard operation
libbpf-rs copied to clipboard

Support bpf_xdp_query and bpf_xdp_query_id

Open insearchoflosttime opened this issue 3 years ago • 0 comments

LIBBPF_API int bpf_xdp_query(int ifindex, int flags, struct bpf_xdp_query_opts *opts);
LIBBPF_API int bpf_xdp_query_id(int ifindex, int flags, __u32 *prog_id);

https://github.com/libbpf/libbpf/blob/3591deb9bc6b0848721f831790b78ae0a593b4c5/src/libbpf.h#L902-L903

insearchoflosttime avatar Mar 16 '22 21:03 insearchoflosttime