Type Alias bpf_program_prep_t

Source
pub type bpf_program_prep_t = Option<unsafe extern "C" fn(prog: *mut bpf_program, n: c_int, insns: *mut bpf_insn, insns_cnt: c_int, res: *mut bpf_prog_prep_result) -> c_int>;

Aliased Type§

enum bpf_program_prep_t {
    None,
    Some(unsafe extern "C" fn(_: *mut bpf_program, _: i32, _: *mut bpf_insn, _: i32, _: *mut bpf_prog_prep_result) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut bpf_program, _: i32, _: *mut bpf_insn, _: i32, _: *mut bpf_prog_prep_result) -> i32)

Some value of type T.