iPXE
|
A packet descriptor. More...
#include <natsemi.h>
Public Member Functions | |
struct { | |
uint8_t reserved_a [16] | |
Reserved. More... | |
uint32_t cmdsts | |
Command / status. More... | |
uint8_t reserved_b [12] | |
Reserved. More... | |
} | __attribute__ ((packed)) common |
Common fields. More... | |
struct { | |
uint8_t reserved [12] | |
Reserved. More... | |
struct natsemi_descriptor_32 d32 | |
Descriptor. More... | |
} | __attribute__ ((packed)) d32pad |
32-bit descriptor More... | |
Data Fields | |
struct natsemi_descriptor_64 | d64 |
64-bit descriptor More... | |
A packet descriptor.
The 32-bit and 64-bit variants are overlaid such that "cmdsts" can be accessed as a common field, and the overall size is a power of two (to allow the descriptor ring length to be used as an alignment).
struct natsemi_descriptor::@84 natsemi_descriptor::__attribute__ | ( | (packed) | ) |
Common fields.
struct natsemi_descriptor::@85 natsemi_descriptor::__attribute__ | ( | (packed) | ) |
32-bit descriptor
struct natsemi_descriptor_64 natsemi_descriptor::d64 |
struct natsemi_descriptor_32 natsemi_descriptor::d32 |