Libxdp function xsk_umem__add_offset_to_addr
Definition
This function add the offset to the address in unaligned mode.
Note
You need to use this function with these functions xsk_umem__extract_addr
xsk_umem__extract_offset
Note
In aligned mode, you need to use xsk_umem_get_data
.
Returns
__u64
of the new address
Usage
__u64 xsk_umem__add_offset_to_addr(__u64 addr);
Example
Docs could be improved
This part of the docs is incomplete, contributions are very welcome