Libxdp function xdp_multiprog__main_prog
Definition
It return a reference to the dispatcher program only.
Returns
struct xdp_program
on success, or a negative error in case of failure:
Usage
struct xdp_program *xdp_multiprog__main_prog(const struct xdp_multiprog *mp);
Example
Docs could be improved
This part of the docs is incomplete, contributions are very welcome