18#define IP4_NODE_LEN_NEW_VERSIONS 27
23#define IP6_NODE_LEN_OLD_VERSIONS 43
24#define IP6_NODE_LEN_NEW_VERSIONS 60
29#define IP6_OLD_IPADDRESS_OFFSET 42
41 BOOLEAN InitiatorInfoFromDhcp;
42 BOOLEAN TargetInfoFromDhcp;
44 CHAR8 TargetName[ISCSI_NAME_MAX_SIZE];
50 UINT8 ConnectRetryCount;
54 UINT16 OriginalTargetPort;
58 CHAR8 TargetUrl[ISCSI_TARGET_URI_MAX_SIZE];
160 IN OUT CHAR8 *HexStr,
161 IN OUT UINT32 *HexLength
182 IN OUT UINT8 *BinBuffer,
183 IN OUT UINT32 *BinLength,
UINTN IScsiNetNtoi(IN CHAR8 *Str)
VOID * IScsiGetVariableAndSize(IN CHAR16 *Name, IN EFI_GUID *VendorGuid, OUT UINTN *VariableSize)
ISCSI_DRIVER_DATA * IScsiCreateDriverData(IN EFI_HANDLE Image, IN EFI_HANDLE Controller)
UINT16 IScsiGetNICPciLocation(IN EFI_HANDLE Controller, OUT UINTN *Bus, OUT UINTN *Device, OUT UINTN *Function)
EFI_STATUS IScsiCreateKeywords(IN UINTN KeywordNum)
EFI_STATUS EFIAPI IScsiTestManagedDevice(IN EFI_HANDLE ControllerHandle, IN EFI_HANDLE DriverBindingHandle, IN EFI_GUID *ProtocolGuid)
EFI_STATUS IScsiCleanDriverData(IN ISCSI_DRIVER_DATA *Private)
EFI_STATUS IScsiRemoveNic(IN EFI_HANDLE Controller)
VOID IScsiCleanAttemptVariable(IN VOID)
EFI_STATUS IScsiHexToBin(IN OUT UINT8 *BinBuffer, IN OUT UINT32 *BinLength, IN CHAR8 *HexStr)
EFI_STATUS IScsiAddNic(IN EFI_HANDLE Controller, IN EFI_HANDLE Image)
EFI_STATUS IScsiCreateAttempts(IN UINTN AttemptNum)
EFI_DEVICE_PATH_PROTOCOL * IScsiGetTcpConnDevicePath(IN ISCSI_SESSION *Session)
EFI_STATUS IScsiGetConfigData(IN ISCSI_DRIVER_DATA *Private)
BOOLEAN IScsiDnsIsConfigured(IN EFI_HANDLE Controller)
EFI_STATUS IScsiAsciiStrToIp(IN CHAR8 *Str, IN UINT8 IpMode, OUT EFI_IP_ADDRESS *Ip)
VOID EFIAPI IScsiOnExitBootService(IN EFI_EVENT Event, IN VOID *Context)
EFI_STATUS IScsiGenRandom(IN OUT UINT8 *Rand, IN UINTN RandLength)
EFI_STATUS IScsiBinToHex(IN UINT8 *BinBuffer, IN UINT32 BinLength, IN OUT CHAR8 *HexStr, IN OUT UINT32 *HexLength)
UINT8 IScsiGetSubnetMaskPrefixLength(IN EFI_IPv4_ADDRESS *SubnetMask)
VOID IScsiLunToUnicodeStr(IN UINT8 *Lun, OUT CHAR16 *String)
BOOLEAN IScsiDhcpIsConfigured(IN EFI_HANDLE Controller, IN UINT8 IpVersion)
ISCSI_NIC_INFO * IScsiGetNicInfoByIndex(IN UINT8 NicIndex)
VOID IScsiMacAddrToStr(IN EFI_MAC_ADDRESS *Mac, IN UINT32 Len, IN UINT16 VlanId, OUT CHAR16 *Str)
EFI_STATUS IScsiAsciiStrToLun(IN CHAR8 *Str, OUT UINT8 *Lun)
UINT16 ConnectTimeout
timeout value in milliseconds.