libbpf_sys

Function bpf_prog_query

Source
pub unsafe extern "C" fn bpf_prog_query(
    target_fd: c_int,
    type_: bpf_attach_type,
    query_flags: __u32,
    attach_flags: *mut __u32,
    prog_ids: *mut __u32,
    prog_cnt: *mut __u32,
) -> c_int