Skip to content

Libxdp function xsk_umem__extract_addr

Definition

This function extract the memory address in unaligned mode.

Note

You need to use this function with these functions xsk_umem__extract_offset xsk_umem__add_offset_to_addr

Note

In aligned mode, you need to use xsk_umem_get_data.

Returns

__u64 of the address

Usage

__u64 xsk_umem__extract_addr(__u64 addr);

Example

Docs could be improved

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