summaryrefslogtreecommitdiffstats
path: root/NetworkPkg/NetworkPkg.dec
diff options
context:
space:
mode:
authorSamer El-Haj-Mahmoud <elhaj@hp.com>2015-07-01 02:17:07 +0000
committersfu5 <sfu5@Edk2>2015-07-01 02:17:07 +0000
commitc413813d61a592206ba80a5a96a07e39a264475e (patch)
treee1364faf4dd57e79df6e6fdf174975649007ccfa /NetworkPkg/NetworkPkg.dec
parent2ce8ce9b064c0058964cb35ddc7272059fb7663c (diff)
downloadedk2-c413813d61a592206ba80a5a96a07e39a264475e.tar.gz
edk2-c413813d61a592206ba80a5a96a07e39a264475e.tar.bz2
edk2-c413813d61a592206ba80a5a96a07e39a264475e.zip
NetworkPkg: Add IPv6 DUID configuration support using platform PCD.
The code today always uses DUID-UUID unless there is an error in reading the UUID, which results in falling through to DUID-LLT. This change allows the platform to control the DUID method (DUID-UUID or DUID-LLT) using a platform dynamic PCD. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Samer El-Haj-Mahmoud <elhaj@hp.com> Reviewed-by: Fu Siyuan <siyuan.fu@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17751 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'NetworkPkg/NetworkPkg.dec')
-rw-r--r--NetworkPkg/NetworkPkg.dec9
1 files changed, 9 insertions, 0 deletions
diff --git a/NetworkPkg/NetworkPkg.dec b/NetworkPkg/NetworkPkg.dec
index 6515844b2f..317cf41a1e 100644
--- a/NetworkPkg/NetworkPkg.dec
+++ b/NetworkPkg/NetworkPkg.dec
@@ -3,6 +3,7 @@
#
# This package provides network modules that conform to UEFI 2.4 specification.
#
+# (C) Copyright 2015 Hewlett-Packard Development Company, L.P.<BR>
# Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.<BR>
#
# This program and the accompanying materials are licensed and made available under
@@ -68,5 +69,13 @@
# @Prompt Private Key's size.
gEfiNetworkPkgTokenSpaceGuid.PcdIpsecUefiCertificateKeySize|0x3d5|UINT32|0x00000006
+[PcdsDynamicEx]
+ ## IPv6 DHCP Unique Identifier (DUID) Type configuration (From RFCs 3315 and 6355).
+ # 01 = DUID Based on Link-layer Address Plus Time [DUID-LLT]
+ # 04 = UUID-Based DHCPv6 Unique Identifier (DUID-UUID)
+ # 02 = DUID Assigned by Vendor Based on Enterprise Number [DUID-EN] (not supported)
+ # 03 = DUID Based on Link-layer Address [DUID-LL] (not supported)
+ gEfiNetworkPkgTokenSpaceGuid.PcdDhcp6UidType|4|UINT8|0x10000001
+
[UserExtensions.TianoCore."ExtraFiles"]
NetworkPkgExtra.uni