Skip to main content

bpf_lookup_elem

Function bpf_lookup_elem 

Source
pub fn bpf_lookup_elem<F: KernelAuxiliaryOps>(
    arg: BpfMapUpdateArg,
) -> LinuxResult<()>
Expand description

Look up an element by key in a specified map and return its value.

See https://ebpf-docs.dylanreimerink.nl/linux/syscall/BPF_MAP_LOOKUP_ELEM/