mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-23 03:06:48 +00:00
![]() For current iSCSI protocol parsing, UINT16 truncation may be happened. Since
the Spec already have declaimed that 0 is TCP Protocol and 1+ is reserved, the
parsing can be refined as below:
if (StrCmp (ProtocolStr, L"TCP") == 0) {
ISCSIDevPath->NetworkProtocol = 0;
} else {
//
// Undefined and reserved.
//
ISCSIDevPath->NetworkProtocol = 1;
}
Obtained from:
|
||
---|---|---|
.. | ||
efi-osdep.h | ||
efivar-dp-format.c | ||
efivar-dp-parse.c | ||
efivar-dp-xlate.c | ||
efivar-dp.h | ||
efivar.3 | ||
efivar.c | ||
efivar.h | ||
FreeBSD-update | ||
Makefile | ||
Makefile.depend | ||
ProcessorBind.h | ||
uefi-dplib.h | ||
uefi-dputil.c | ||
uefi-guid.c | ||
uefi-guid.dat |