Skip to content

Libbpf userspace function libbpf_bpf_prog_type_str

1.0.0

Converts the provided program type value into a textual representation.

Definition

const char *libbpf_bpf_prog_type_str(enum bpf_prog_type t);

Parameters

  • t: The program type.

Return

Pointer to a static string identifying the program type. NULL is returned for unknown bpf_prog_type values.

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