Skip to content

Libxdp function xsk_ring_prod__tx_desc

Definition

This function allow to access a specific transmit descriptor in the TX ring.

Returns

struct xdp_desc, informations about the packet to be transmitted.

Usage

struct xdp_desc *xsk_ring_prod__tx_desc(struct xsk_ring_prod *tx, __u32 idx);

Example

Docs could be improved

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