Skip to content

Libbpf userspace function bpf_program__get_type

0.0.6

This function was renamed to bpf_program__type.

Definition

enum bpf_prog_type bpf_program__get_type(const struct bpf_program *prog);

Usage

This function is an alias of bpf_program__type as of v0.7.0.

Example

Docs could be improved

This part of the docs is incomplete, contributions are very welcome