XLIO
The NVIDIA® Accelerated IO
xlio_buf Struct Reference

Buffer descriptor. More...

#include <xlio_types.h>

Public Attributes

uint64_t userdata
 

Detailed Description

Buffer descriptor.

Opaque structure representing a receive buffer in zero-copy RX operations. Buffers are provided via RX callbacks and must be returned to XLIO.

Buffer Lifecycle:
  1. Buffer provided to application via xlio_socket_rx_cb_t
  2. Application processes data and optionally uses userdata field
  3. Application returns buffer via xlio_socket_buf_free() or xlio_poll_group_buf_free()
User Data Field:
  • Available for application use during buffer ownership
  • Can be used for reference counting, linking, or other purposes
  • Not initialized by XLIO
Structure Members:
  • uint64_t userdata: User data field available during buffer ownership

The documentation for this struct was generated from the following file: