iPXE
Data Fields
iscsi_segment_lengths Union Reference

iSCSI segment lengths More...

#include <iscsi.h>

Data Fields

struct {
   uint8_t   ahs_len
 The AHS length (measured in dwords)
   uint8_t   data_len [3]
 The data length (measured in bytes), in network byte order.
bytes
uint32_t ahs_and_data_len
 The data length (measured in bytes), in network byte order, with ahs_len as the first byte.

Detailed Description

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.

Definition at line 32 of file iscsi.h.


Field Documentation

The AHS length (measured in dwords)

Definition at line 35 of file iscsi.h.

The data length (measured in bytes), in network byte order.

Definition at line 39 of file iscsi.h.

The data length (measured in bytes), in network byte order, with ahs_len as the first byte.

Definition at line 44 of file iscsi.h.


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