pub fn bpf_map_update_element(
map: BorrowedFd<'_>,
key: &[u8],
value: &[u8],
flags: BpfMapUpdateFlags,
) -> Result<(), Errno>Expand description
BPF_MAP_UPDATE_ELEM — insère ou remplace la paire (key, value).
§Errors
- [
Errno::E2BIG] : carte pleine (max_entriesatteint). - [
Errno::EEXIST] / [Errno::ENOENT] : violation deflags.