NetworkPkg.dec 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. ## @file
  2. # Network Package.
  3. #
  4. # This package provides network modules that conform to UEFI 2.4 specification.
  5. #
  6. # Copyright (c) 2009 - 2021, Intel Corporation. All rights reserved.<BR>
  7. # (C) Copyright 2015-2020 Hewlett Packard Enterprise Development LP<BR>
  8. #
  9. # SPDX-License-Identifier: BSD-2-Clause-Patent
  10. #
  11. ##
  12. [Defines]
  13. DEC_SPECIFICATION = 0x00010005
  14. PACKAGE_NAME = NetworkPkg
  15. PACKAGE_GUID = 947988BE-8D5C-471a-893D-AD181C46BEBB
  16. PACKAGE_VERSION = 0.98
  17. PACKAGE_UNI_FILE = NetworkPkg.uni
  18. [Includes]
  19. Include
  20. [LibraryClasses]
  21. ## @libraryclass IpIo layer upon EFI IP4 Protocol.
  22. # This library is only intended to be used by UEFI network stack modules.
  23. IpIoLib|Include/Library/IpIoLib.h
  24. ## @libraryclass Basic function for UEFI network stack.
  25. # This library is only intended to be used by UEFI network stack modules.
  26. NetLib|Include/Library/NetLib.h
  27. ## @libraryclass The helper routines to access UDP service.
  28. # This library is only intended to be used by UEFI network stack modules.
  29. UdpIoLib|Include/Library/UdpIoLib.h
  30. ## @libraryclass The helper routines to access TCP service.
  31. # This library is only intended to be used by UEFI network stack modules.
  32. TcpIoLib|Include/Library/TcpIoLib.h
  33. ## @libraryclass The helper routines to access HTTP service.
  34. # This library is only intended to be used by UEFI network stack modules.
  35. HttpLib|Include/Library/HttpLib.h
  36. ## @libraryclass Http IO helper routines for HTTP transfer.
  37. # This library is only intended to be used by UEFI network stack modules.
  38. HttpIoLib|Include/Library/HttpIoLib.h
  39. ## @libraryclass Library for Deferred Procedure Calls.
  40. DpcLib|Include/Library/DpcLib.h
  41. [Guids]
  42. ## Network package token space guid.
  43. # Include/Guid/NetworkPkgTokenSpace.h
  44. gEfiNetworkPkgTokenSpaceGuid = { 0x40e064b2, 0x0ae0, 0x48b1, { 0xa0, 0x7d, 0xf8, 0xcf, 0x1e, 0x1a, 0x23, 0x10}}
  45. # Include/Guid/Ip6ConfigHii.h
  46. gIp6ConfigNvDataGuid = { 0x2eea107, 0x98db, 0x400e, { 0x98, 0x30, 0x46, 0xa, 0x15, 0x42, 0xd7, 0x99}}
  47. # Include/Guid/IscsiConfigHii.h
  48. gIScsiConfigGuid = { 0x4b47d616, 0xa8d6, 0x4552, { 0x9d, 0x44, 0xcc, 0xad, 0x2e, 0xf, 0x4c, 0xf9}}
  49. # Include/Guid/HttpBootConfigHii.h
  50. gHttpBootConfigGuid = { 0x4d20583a, 0x7765, 0x4e7a, { 0x8a, 0x67, 0xdc, 0xde, 0x74, 0xee, 0x3e, 0xc5 }}
  51. # Include/Guid/TlsAuthConfigHii.h
  52. gTlsAuthConfigGuid = { 0xb0eae4f8, 0x9a04, 0x4c6d, { 0xa7, 0x48, 0x79, 0x3d, 0xaa, 0xf, 0x65, 0xdf }}
  53. # Include/Guid/TlsAuthentication.h
  54. gEfiTlsCaCertificateGuid = { 0xfd2340D0, 0x3dab, 0x4349, { 0xa6, 0xc7, 0x3b, 0x4f, 0x12, 0xb4, 0x8e, 0xae }}
  55. # Include/Guid/HttpTlsCipherList.h
  56. gEdkiiHttpTlsCipherListGuid = { 0x46ddb415, 0x5244, 0x49c7, { 0x93, 0x74, 0xf0, 0xe2, 0x98, 0xe7, 0xd3, 0x86 }}
  57. # Include/Guid/WifiConnectionManagerConfigHii.h
  58. gWifiConfigGuid = { 0x9f94d327, 0x0b18, 0x4245, { 0x8f, 0xf2, 0x83, 0x2e, 0x30, 0xd, 0x2c, 0xef }}
  59. ## Include/Guid/Ip4Config2Hii.h
  60. gIp4Config2NvDataGuid = { 0x9b942747, 0x154e, 0x4d29, { 0xa4, 0x36, 0xbf, 0x71, 0x0, 0xc8, 0xb5, 0x3b }}
  61. ## Include/Guid/VlanConfigHii.h
  62. gVlanConfigFormSetGuid = { 0xd79df6b0, 0xef44, 0x43bd, { 0x97, 0x97, 0x43, 0xe9, 0x3b, 0xcf, 0x5f, 0xa8 }}
  63. ## Include/Guid/Ip4IScsiConfigHii.h
  64. gIp4IScsiConfigGuid = { 0x6456ed61, 0x3579, 0x41c9, { 0x8a, 0x26, 0x0a, 0x0b, 0xd6, 0x2b, 0x78, 0xfc }}
  65. gIScsiCHAPAuthInfoGuid = { 0x786ec0ac, 0x65ae, 0x4d1b, { 0xb1, 0x37, 0xd, 0x11, 0xa, 0x48, 0x37, 0x97 }}
  66. [Protocols]
  67. ## Include/Protocol/Dpc.h
  68. gEfiDpcProtocolGuid = {0x480f8ae9, 0xc46, 0x4aa9, { 0xbc, 0x89, 0xdb, 0x9f, 0xba, 0x61, 0x98, 0x6 }}
  69. ## Include/Protocol/HttpCallback.h
  70. gEdkiiHttpCallbackProtocolGuid = {0x611114f1, 0xa37b, 0x4468, {0xa4, 0x36, 0x5b, 0xdd, 0xa1, 0x6a, 0xa2, 0x40}}
  71. ## Include/Protocol/WiFiProfileSyncProtocol.h
  72. gEdkiiWiFiProfileSyncProtocolGuid = {0x399a2b8a, 0xc267, 0x44aa, {0x9a, 0xb4, 0x30, 0x58, 0x8c, 0xd2, 0x2d, 0xcc}}
  73. [PcdsFixedAtBuild]
  74. ## The max attempt number will be created by iSCSI driver.
  75. # @Prompt Max attempt number.
  76. gEfiNetworkPkgTokenSpaceGuid.PcdMaxIScsiAttemptNumber|0x08|UINT8|0x0000000D
  77. ## The maximum size of total HTTP chunk transfer.
  78. # @Prompt Max size of total HTTP chunk transfer. the default value is 12MB.
  79. gEfiNetworkPkgTokenSpaceGuid.PcdMaxHttpChunkTransfer|0x0C00000|UINT32|0x0000000E
  80. [PcdsFixedAtBuild, PcdsPatchableInModule]
  81. ## Indicates whether HTTP connections (i.e., unsecured) are permitted or not.
  82. # TRUE - HTTP connections are allowed. Both the "https://" and "http://" URI schemes are permitted.
  83. # FALSE - HTTP connections are denied. Only the "https://" URI scheme is permitted.
  84. # @Prompt Indicates whether HTTP connections are permitted or not.
  85. gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections|FALSE|BOOLEAN|0x00000008
  86. ## This setting is to specify the MTFTP windowsize used by UEFI PXE driver.
  87. # A value of 0 indicates the default value of windowsize(1).
  88. # A non-zero value will be used as windowsize.
  89. # @Prompt PXE TFTP windowsize.
  90. gEfiNetworkPkgTokenSpaceGuid.PcdPxeTftpWindowSize|0x4|UINT64|0x10000008
  91. ## This setting can override the default TFTP block size. A value of 0 computes
  92. # the default from MTU information. A non-zero value will be used as block size
  93. # in bytes.
  94. # @Prompt TFTP block size.
  95. gEfiNetworkPkgTokenSpaceGuid.PcdTftpBlockSize|0x0|UINT64|0x1000000B
  96. ## Indicates whether SnpDxe driver will create an event that will be notified
  97. # upon gBS->ExitBootServices() call.
  98. # TRUE - Event being triggered upon ExitBootServices call will be created
  99. # FALSE - Event being triggered upon ExitBootServices call will NOT be created
  100. # @Prompt Indicates whether SnpDxe creates event for ExitBootServices() call.
  101. gEfiNetworkPkgTokenSpaceGuid.PcdSnpCreateExitBootServicesEvent|TRUE|BOOLEAN|0x1000000C
  102. [PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx]
  103. ## IPv6 DHCP Unique Identifier (DUID) Type configuration (From RFCs 3315 and 6355).
  104. # 01 = DUID Based on Link-layer Address Plus Time [DUID-LLT]
  105. # 04 = UUID-Based DHCPv6 Unique Identifier (DUID-UUID)
  106. # 02 = DUID Assigned by Vendor Based on Enterprise Number [DUID-EN] (not supported)
  107. # 03 = DUID Based on Link-layer Address [DUID-LL] (not supported)
  108. # @Prompt Type Value of Dhcp6 Unique Identifier (DUID).
  109. gEfiNetworkPkgTokenSpaceGuid.PcdDhcp6UidType|4|UINT8|0x10000001
  110. ## Network boot policy to stop UEFI iSCSI if applicable.
  111. # 0x00 = Always use UEFI iSCSI and ignore iSCSI HBA.
  112. # 0x01 = Stop UEFI iSCSI if iSCSI HBA adapter produces AIP protocol with Network Boot.
  113. # 0x02 = Stop UEFI iSCSI if iSCSI HBA adapter supports booting from iSCSI IPv4 targets.
  114. # 0x04 = Stop UEFI iSCSI if iSCSI HBA adapter supports booting from iSCSI IPv6 targets.
  115. # 0x08 = Stop UEFI iSCSI if iSCSI HBA adapter supports an offload engine for iSCSI boot.
  116. # 0x10 = Stop UEFI iSCSI if iSCSI HBA adapter supports multipath I/O for iSCSI boot.
  117. # 0x20 = Stop UEFI iSCSI if iSCSI HBA adapter is currently configured to boot from iSCSI IPv4 targets.
  118. # 0x40 = Stop UEFI iSCSI if iSCSI HBA adapter is currently configured to boot from iSCSI IPv6 targets.
  119. # 0xFF = Always use iSCSI HBA and ignore UEFI iSCSI.
  120. # @Prompt Type Value of network boot policy used in iSCSI.
  121. gEfiNetworkPkgTokenSpaceGuid.PcdIScsiAIPNetworkBootPolicy|0x08|UINT8|0x10000007
  122. ## IPv4 PXE support
  123. # 0x01 = PXE Enabled
  124. # 0x00 = PXE Disabled
  125. gEfiNetworkPkgTokenSpaceGuid.PcdIPv4PXESupport|0x01|UINT8|0x10000009
  126. ## IPv6 PXE support
  127. # 0x01 = PXE Enabled
  128. # 0x00 = PXE Disabled
  129. gEfiNetworkPkgTokenSpaceGuid.PcdIPv6PXESupport|0x01|UINT8|0x1000000a
  130. ## The Timeout value of HTTP IO.
  131. # @Prompt The Timeout value of HTTP Io. Default value is 5000.
  132. gEfiNetworkPkgTokenSpaceGuid.PcdHttpIoTimeout|5000|UINT32|0x0000000F
  133. ## The Retry Interval of HTTP DNS in seconds. If the Retry Interval is less than
  134. # DNS_DEFAULT_TIMEOUT, then use the DNS_DEFAULT_TIMEOUT.
  135. # @Prompt The value of Retry Interval. Default value is 0
  136. gEfiNetworkPkgTokenSpaceGuid.PcdHttpDnsRetryInterval|0|UINT32|0x00000010
  137. ## The Retry Count of HTTP DNS if no DNS response received after Retry Interval.
  138. # @Prompt The value of Retry Count, Default value is 0.
  139. gEfiNetworkPkgTokenSpaceGuid.PcdHttpDnsRetryCount|0|UINT32|0x00000011
  140. [UserExtensions.TianoCore."ExtraFiles"]
  141. NetworkPkgExtra.uni