iPXE
|
iSCSI segment lengths More...
#include <iscsi.h>
Data Fields | |
struct { | |
uint8_t ahs_len | |
The AHS length (measured in dwords) More... | |
uint8_t data_len [3] | |
The data length (measured in bytes), in network byte order. More... | |
} | bytes |
uint32_t | ahs_and_data_len |
The data length (measured in bytes), in network byte order, with ahs_len as the first byte. More... | |
iSCSI segment lengths
iSCSI uses an icky structure with one one-byte field (a dword count) and one three-byte field (a byte count). This structure, and the accompanying macros, relieve some of the pain.
uint8_t iscsi_segment_lengths::ahs_len |
uint8_t iscsi_segment_lengths::data_len[3] |
struct { ... } iscsi_segment_lengths::bytes |
uint32_t iscsi_segment_lengths::ahs_and_data_len |