X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FUniversal%2FNetwork%2FIScsiDxe%2FIScsiMisc.h;h=b310c9c579aabcd39276be6a01780690709965ef;hp=61a772f0cba6a3678f55e1373ea89841ef9109a8;hb=05a300115ab80963e2a722aaaa8adbb3b6c5007c;hpb=779ae3579848a36319d67a6ba012b4b9aa88aa6b diff --git a/MdeModulePkg/Universal/Network/IScsiDxe/IScsiMisc.h b/MdeModulePkg/Universal/Network/IScsiDxe/IScsiMisc.h index 61a772f0cb..b310c9c579 100644 --- a/MdeModulePkg/Universal/Network/IScsiDxe/IScsiMisc.h +++ b/MdeModulePkg/Universal/Network/IScsiDxe/IScsiMisc.h @@ -1,8 +1,8 @@ /** @file Miscellaneous definitions for iSCSI driver. -Copyright (c) 2004 - 2009, Intel Corporation.
-All rights reserved. This program and the accompanying materials +Copyright (c) 2004 - 2013, Intel Corporation. All rights reserved.
+This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php @@ -33,6 +33,8 @@ typedef struct { EFI_IPv4_ADDRESS TargetIp; UINT16 TargetPort; UINT8 BootLun[8]; + + UINT8 IsId[6]; } ISCSI_SESSION_CONFIG_NVDATA; #pragma pack() @@ -219,6 +221,20 @@ IScsiCleanDriverData ( IN ISCSI_DRIVER_DATA *Private ); +/** + Check wheather the Controller is configured to use DHCP protocol. + + @param[in] Controller The handle of the controller. + + @retval TRUE The handle of the controller need the Dhcp protocol. + @retval FALSE The handle of the controller does not need the Dhcp protocol. + +**/ +BOOLEAN +IScsiDhcpIsConfigured ( + IN EFI_HANDLE Controller + ); + /** Get the various configuration data of this iSCSI instance.