#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 |
| Ths data length (measured in bytes), in network byte order, with ahs_len as the first byte. | |
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 30 of file iscsi.h.
| struct { ... } iscsi_segment_lengths::bytes |
1.5.7.1