Skip to content

Libxdp function xsk_ring_cons__comp_addr

Definition

This function is to read the address of a specific entry in the consumer ring.

Returns

__u64 of the address entry on success, or a negative error in case of failure:

Docs could be improved

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

Usage

const __u64 *xsk_ring_cons__comp_addr(const struct xsk_ring_cons *comp, __u32 idx);

Example

Docs could be improved

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