Skip to content

Libbpf userspace function libbpf_bpf_link_type_str

1.0.0

Converts the provided link type value into a textual representation.

Definition

const char *libbpf_bpf_link_type_str(enum bpf_link_type t);

Parameters

  • t: The link type.

Return

Pointer to a static string identifying the link type. NULL is returned for unknown bpf_link_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