Skip to main content

raw_map_peek_elem

Function raw_map_peek_elem 

Source
pub fn raw_map_peek_elem<F: KernelAuxiliaryOps>(
    map: *mut c_void,
    value: *mut c_void,
) -> i64
Expand description

Get an element from map without removing it.

See https://ebpf-docs.dylanreimerink.nl/linux/helper-function/bpf_map_peek_elem/