TianoCore EDK2 master
|
Go to the source code of this file.
Data Structures | |
struct | _ISCSI_ROOT_PATH_FIELD |
Macros | |
#define | ISCSI_ROOT_PATH_ID "iscsi:" |
#define | ISCSI_ROOT_PATH_FIELD_DELIMITER ':' |
#define | RP_FIELD_IDX_SERVERNAME 0 |
#define | RP_FIELD_IDX_PROTOCOL 1 |
#define | RP_FIELD_IDX_PORT 2 |
#define | RP_FIELD_IDX_LUN 3 |
#define | RP_FIELD_IDX_TARGETNAME 4 |
#define | RP_FIELD_IDX_MAX 5 |
Typedefs | |
typedef struct _ISCSI_ATTEMPT_CONFIG_NVDATA | ISCSI_ATTEMPT_CONFIG_NVDATA |
typedef struct _ISCSI_ROOT_PATH_FIELD | ISCSI_ROOT_PATH_FIELD |
Functions | |
EFI_STATUS | IScsiDoDhcp (IN EFI_HANDLE Image, IN EFI_HANDLE Controller, IN OUT ISCSI_ATTEMPT_CONFIG_NVDATA *ConfigData) |
The head file of iSCSI DHCP4 related configuration routines.
Copyright (c) 2004 - 2016, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file IScsiDhcp.h.
#define ISCSI_ROOT_PATH_FIELD_DELIMITER ':' |
Definition at line 13 of file IScsiDhcp.h.
#define ISCSI_ROOT_PATH_ID "iscsi:" |
Definition at line 12 of file IScsiDhcp.h.
#define RP_FIELD_IDX_LUN 3 |
Definition at line 18 of file IScsiDhcp.h.
#define RP_FIELD_IDX_MAX 5 |
Definition at line 20 of file IScsiDhcp.h.
#define RP_FIELD_IDX_PORT 2 |
Definition at line 17 of file IScsiDhcp.h.
#define RP_FIELD_IDX_PROTOCOL 1 |
Definition at line 16 of file IScsiDhcp.h.
#define RP_FIELD_IDX_SERVERNAME 0 |
Definition at line 15 of file IScsiDhcp.h.
#define RP_FIELD_IDX_TARGETNAME 4 |
Definition at line 19 of file IScsiDhcp.h.
typedef struct _ISCSI_ATTEMPT_CONFIG_NVDATA ISCSI_ATTEMPT_CONFIG_NVDATA |
Definition at line 22 of file IScsiDhcp.h.
EFI_STATUS IScsiDoDhcp | ( | IN EFI_HANDLE | Image, |
IN EFI_HANDLE | Controller, | ||
IN OUT ISCSI_ATTEMPT_CONFIG_NVDATA * | ConfigData | ||
) |
Parse the DHCP ACK to get the address configuration and DNS information.
[in] | Image | The handle of the driver image. |
[in] | Controller | The handle of the controller. |
[in,out] | ConfigData | The attempt configuration data. |
EFI_SUCCESS | The DNS information is got from the DHCP ACK. |
EFI_OUT_OF_RESOURCES | Failed to allocate memory. |
EFI_NO_MEDIA | There was a media error. |
Others | Other errors as indicated. |
Definition at line 435 of file IScsiDhcp.c.