Skip to content

Libxdp function xdp_multiprog__is_legacy

Definition

Indicate whether the dispatcher program has been identified.

Returns

  • true if the dispatcher is legacy, unrecognized, or another program that is not the dispatcher is loaded.
  • false if the dispatcher is identified.

Usage

bool xdp_multiprog__is_legacy(const struct xdp_multiprog *mp);

Example

Docs could be improved

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