Libbpf userspace function bpf_map__fd
Gets the file descriptor of the passed BPF map
Definition
int bpf_map__fd(const struct bpf_map *map);
Parameters
map
: the BPF map instance
Return
The file descriptor; or -EINVAL
in case of an error
Usage
Docs could be improved
This part of the docs is incomplete, contributions are very welcome
Example
Docs could be improved
This part of the docs is incomplete, contributions are very welcome