diff options
author | Zhang Lubo <lubo.zhang@intel.com> | 2016-06-22 10:25:21 +0800 |
---|---|---|
committer | Jiaxin Wu <jiaxin.wu@intel.com> | 2016-06-23 09:39:38 +0800 |
commit | 142c00c3d659a6d5d66416385b4c93fd9a9f10e6 (patch) | |
tree | 6df6f04a6c91d797994fbd0b7e306d69fb09b000 /NetworkPkg/UefiPxeBcDxe/PxeBcDhcp6.h | |
parent | ac6c3d90edebf1499dac8f4d3c99e94d197ad45e (diff) | |
download | edk2-142c00c3d659a6d5d66416385b4c93fd9a9f10e6.tar.gz edk2-142c00c3d659a6d5d66416385b4c93fd9a9f10e6.tar.bz2 edk2-142c00c3d659a6d5d66416385b4c93fd9a9f10e6.zip |
NetworkPkg: Refine codes related to Dhcpv4 and Dhcpv6 configuration.
v2:
*Since we have redefined the name of arch types in Dhcp.h for http boot,
it need to change corresponding codes.
Add a new head file Dhcp.h in Mde/Include/IndustryStandard, normalize the
universal option numbers and other network number tags.
Cc: Sriram Subramanian <sriram-s@hpe.com>
Cc: Ye Ting <ting.ye@intel.com>
Cc: Fu Siyuan <siyuan.fu@intel.com>
Cc: Wu Jiaxin <jiaxin.wu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Zhang Lubo <lubo.zhang@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
Diffstat (limited to 'NetworkPkg/UefiPxeBcDxe/PxeBcDhcp6.h')
-rw-r--r-- | NetworkPkg/UefiPxeBcDxe/PxeBcDhcp6.h | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/NetworkPkg/UefiPxeBcDxe/PxeBcDhcp6.h b/NetworkPkg/UefiPxeBcDxe/PxeBcDhcp6.h index 38bf26564d..a6d52f972c 100644 --- a/NetworkPkg/UefiPxeBcDxe/PxeBcDhcp6.h +++ b/NetworkPkg/UefiPxeBcDxe/PxeBcDhcp6.h @@ -1,7 +1,7 @@ /** @file
Functions declaration related with DHCPv6 for UefiPxeBc Driver.
- Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@@ -25,29 +25,6 @@ #define PXEBC_DHCP6_S_PORT 547
#define PXEBC_DHCP6_C_PORT 546
-#define PXEBC_DHCP6_OPT_CLIENT_ID 1
-#define PXEBC_DHCP6_OPT_SERVER_ID 2
-#define PXEBC_DHCP6_OPT_IA_NA 3
-#define PXEBC_DHCP6_OPT_IA_TA 4
-#define PXEBC_DHCP6_OPT_IAADDR 5
-#define PXEBC_DHCP6_OPT_ORO 6
-#define PXEBC_DHCP6_OPT_PREFERENCE 7
-#define PXEBC_DHCP6_OPT_ELAPSED_TIME 8
-#define PXEBC_DHCP6_OPT_REPLAY_MSG 9
-#define PXEBC_DHCP6_OPT_AUTH 11
-#define PXEBC_DHCP6_OPT_UNICAST 12
-#define PXEBC_DHCP6_OPT_STATUS_CODE 13
-#define PXEBC_DHCP6_OPT_RAPID_COMMIT 14
-#define PXEBC_DHCP6_OPT_USER_CLASS 15
-#define PXEBC_DHCP6_OPT_VENDOR_CLASS 16
-#define PXEBC_DHCP6_OPT_VENDOR_OPTS 17
-#define PXEBC_DHCP6_OPT_INTERFACE_ID 18
-#define PXEBC_DHCP6_OPT_RECONFIG_MSG 19
-#define PXEBC_DHCP6_OPT_RECONFIG_ACCEPT 20
-#define PXEBC_DHCP6_OPT_BOOT_FILE_URL 59 // Assigned by IANA, RFC 5970
-#define PXEBC_DHCP6_OPT_BOOT_FILE_PARAM 60 // Assigned by IANA, RFC 5970
-#define PXEBC_DHCP6_OPT_ARCH 61 // Assigned by IANA, RFC 5970
-#define PXEBC_DHCP6_OPT_UNDI 62 // Assigned by IANA, RFC 5970
#define PXEBC_DHCP6_ENTERPRISE_NUM 343 // TODO: IANA TBD: temporarily using Intel's
#define PXEBC_DHCP6_MAX_BOOT_FILE_SIZE 65535 // It's a limitation of bit length, 65535*512 bytes.
|