libbpf_sys

Function bpf_prog_attach

Source
pub unsafe extern "C" fn bpf_prog_attach(
    prog_fd: c_int,
    attachable_fd: c_int,
    type_: bpf_attach_type,
    flags: c_uint,
) -> c_int