Libbpf userspace function bpf_link__open
Open a BPF link from a pin path.
Definition
struct bpf_link *bpf_link__open(const char *path);
Parameters
path
: Path to the BPF link pin.
Return
struct bpf_link *
: Pointer to the opened BPF link.NULL
on 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