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) 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...
 

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

◆ ahs_len

uint8_t iscsi_segment_lengths::ahs_len

The AHS length (measured in dwords)

Definition at line 35 of file iscsi.h.

◆ data_len

uint8_t iscsi_segment_lengths::data_len[3]

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

Definition at line 39 of file iscsi.h.

◆ bytes

struct { ... } iscsi_segment_lengths::bytes

◆ ahs_and_data_len

uint32_t iscsi_segment_lengths::ahs_and_data_len

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: