Function libbpf_sys::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
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