]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Universal/Network/IScsiDxe/IScsiDhcp.h
update
[mirror_edk2.git] / MdeModulePkg / Universal / Network / IScsiDxe / IScsiDhcp.h
CommitLineData
6a690e23 1/*++\r
2\r
7a444476 3Copyright (c) 2004 - 2007, Intel Corporation\r
4All rights reserved. This program and the accompanying materials\r
5are licensed and made available under the terms and conditions of the BSD License\r
6which accompanies this distribution. The full text of the license may be found at\r
7http://opensource.org/licenses/bsd-license.php\r
8\r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
6a690e23 11\r
12Module Name:\r
13\r
14 IScsiDhcp.h\r
15\r
16Abstract:\r
17\r
18--*/\r
19\r
20#ifndef _ISCSI_DHCP_H_\r
21#define _ISCSI_DHCP_H_\r
22\r
69b0882d 23#include <protocol/Dhcp4.h>\r
6a690e23 24\r
25#define DHCP4_TAG_PARA_LIST 55\r
26#define DHCP4_TAG_NETMASK 1\r
27#define DHCP4_TAG_ROUTER 3\r
28#define DHCP4_TAG_DNS 6\r
29#define DHCP4_TAG_SERVER_ID 54\r
30#define DHCP4_TAG_ROOT_PATH 17\r
31#define ISCSI_ROOT_PATH_ID "iscsi:"\r
32#define ISCSI_ROOT_PATH_FIELD_DELIMITER ':'\r
33\r
34enum {\r
35 RP_FIELD_IDX_SERVERNAME = 0,\r
36 RP_FIELD_IDX_PROTOCOL,\r
37 RP_FIELD_IDX_PORT,\r
38 RP_FIELD_IDX_LUN,\r
39 RP_FIELD_IDX_TARGETNAME,\r
40 RP_FIELD_IDX_MAX\r
41};\r
42\r
43typedef struct _ISCSI_ROOT_PATH_FIELD {\r
44 CHAR8 *Str;\r
45 UINT8 Len;\r
46} ISCSI_ROOT_PATH_FIELD;\r
47\r
48EFI_STATUS\r
49IScsiDoDhcp (\r
50 IN EFI_HANDLE Image,\r
51 IN EFI_HANDLE Controller,\r
52 IN ISCSI_SESSION_CONFIG_DATA *ConfigData\r
53 );\r
54\r
55#endif\r