Skip to main content

bpf_map_get_fd_by_id

Function bpf_map_get_fd_by_id 

Source
pub fn bpf_map_get_fd_by_id(id: u32) -> Result<BpfMap, Errno>
Expand description

BPF_MAP_GET_FD_BY_ID — FD d’une carte par id.

§Errors

  • [Errno::EPERM] : privilège manquant.
  • [Errno::ENOENT] : id inconnu.