libbpf_sys

Function bpf_program__set_attach_target

Source
pub unsafe extern "C" fn bpf_program__set_attach_target(
    prog: *mut bpf_program,
    attach_prog_fd: c_int,
    attach_func_name: *const c_char,
) -> c_int