Data Fields
icplus_descriptor Struct Reference

Transmit or receive descriptor. More...

#include <icplus.h>

Data Fields

uint64_t next
 Address of next descriptor. More...
uint16_t len
 Actual length. More...
uint8_t flags
 Flags. More...
uint8_t control
 Control. More...
uint16_t vlan
 VLAN. More...
uint16_t reserved_a
 Reserved. More...
union icplus_fragment data
 Data buffer. More...
uint8_t reserved_b [8]
 Reserved. More...

Detailed Description

Transmit or receive descriptor.

Definition at line 121 of file icplus.h.

Field Documentation

◆ next

uint64_t icplus_descriptor::next

Address of next descriptor.

Definition at line 123 of file icplus.h.

Referenced by icplus_create_ring().

◆ len

uint16_t icplus_descriptor::len

Actual length.

Definition at line 125 of file icplus.h.

Referenced by icplus_poll_rx().

◆ flags

uint8_t icplus_descriptor::flags


Definition at line 127 of file icplus.h.

Referenced by icplus_create_ring(), and icplus_poll_rx().

◆ control

uint8_t icplus_descriptor::control


Definition at line 129 of file icplus.h.

Referenced by icplus_create_ring(), icplus_poll_rx(), icplus_poll_tx(), icplus_refill_rx(), and icplus_transmit().

◆ vlan

uint16_t icplus_descriptor::vlan


Definition at line 131 of file icplus.h.

◆ reserved_a

uint16_t icplus_descriptor::reserved_a


Definition at line 133 of file icplus.h.

◆ data

union icplus_fragment icplus_descriptor::data

Data buffer.

Definition at line 135 of file icplus.h.

Referenced by icplus_refill_rx(), and icplus_transmit().

◆ reserved_b

uint8_t icplus_descriptor::reserved_b[8]


Definition at line 137 of file icplus.h.

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