]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Universal/iScsi/IScsiDhcp.h
fixed icc build bug
[mirror_edk2.git] / MdeModulePkg / Universal / iScsi / IScsiDhcp.h
CommitLineData
6a690e23 1/*++\r
2\r
3Copyright (c) 2007 Intel Corporation. All rights reserved\r
4This software and associated documentation (if any) is furnished\r
5under a license and may only be used or copied in accordance\r
6with the terms of the license. Except as permitted by such\r
7license, no part of this software or documentation may be\r
8reproduced, stored in a retrieval system, or transmitted in any\r
9form or by any means without the express written consent of\r
10Intel Corporation.\r
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