Expand description
AF_XDP related types and constants.
Structs§
XDP_*constants for use in [SockaddrXdp].- A XDP socket address.
- XDP rx/tx frame descriptor.
XDP_*constants for use inXdpDesc.- XDP mmap offsets.
- XDP options.
XDP_OPTIONS_*constants returned byget_xdp_options.XDP_RING_*constants for use in fill and/or Tx ring.- XDP ring offset.
- XDP statistics.
- XDP umem registration.
XDP_UMEM_*constants for use inXdpUmemReg.
Constants§
- Offset for mmapping rx ring.
- Offset for mmapping tx ring.
- Offset for mmapping completion ring.
- Offset for mmapping fill ring.
- Mask used to binary
andtheXdpDescaddr to extract the address without the offset carried in the upper 16 bits of the address in unaligned mode. - Offset used to shift the
XdpDescaddr to the right to extract the address offset in unaligned mode.