libbpf_sys

Function bpf_prog_load

Source
pub unsafe extern "C" fn bpf_prog_load(
    prog_type: bpf_prog_type,
    prog_name: *const c_char,
    license: *const c_char,
    insns: *const bpf_insn,
    insn_cnt: size_t,
    opts: *mut bpf_prog_load_opts,
) -> c_int