Libbpf userspace function bpf_program__flags
Get flags which with the BPF program is or will be loaded.
Definition
__u32 bpf_program__flags(const struct bpf_program *prog);
Parameters
prog
: BPF program to get the flags of.
Return
The flags of the BPF program. Not every flag can be set for every program type.
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