Skip to content

Libxdp function xsk_ring_prod__fill_addr

Definition

Use this function to get a pointer to a slot in the fill ring to set the address of a packet buffer.

Returns

__u64 address of the packet.

Usage

__u64 *xsk_ring_prod__fill_addr(struct xsk_ring_prod *fill, __u32 idx);

Example

Docs could be improved

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