Skip to content

Libxdp function xdp_multiprog__next_prog

Definition

Allow to get the next loaded in the dispatcher.

Returns

struct xdp_program pointer of the next program if success, or a negative error in case of failure

Usage

struct xdp_program *xdp_multiprog__next_prog(const struct xdp_program *prog, const struct xdp_multiprog *mp);

Example

Docs could be improved

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