[][src]Function rebpf::helpers::bpf_map_update_elem

pub fn bpf_map_update_elem<'a, 'b, T, U>(
    map: &'a mut BpfMapDef<T, U>,
    key: &'b T,
    value: &'a U,
    flags: BpfUpdateElemFlags
) -> Result<(), Error>

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

See the kernel documentation for more details.