[][src]Function rebpf::helpers::bpf_map_lookup_elem

pub fn bpf_map_lookup_elem<'a, 'b, T, U>(
    map: &'a BpfMapDef<T, U>,
    key: &'b T
) -> Option<&'a mut U>

This function is a very thin wrapper around the built-in bpf_map_lookup_elem.

See the kernel documentation for more details.