summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Include/Library
diff options
context:
space:
mode:
authortye <tye@6f19259b-4bc3-4df7-8a09-765794883524>2009-11-11 07:06:27 +0000
committertye <tye@6f19259b-4bc3-4df7-8a09-765794883524>2009-11-11 07:06:27 +0000
commita1503a32a887c0b9a735613a7caf5d1493affd01 (patch)
tree4506a92ed3b6912deb774e90d825e346b5e0ef8a /MdeModulePkg/Include/Library
parent0424593539571162530df9f3179f5c6851a01577 (diff)
downloadedk2-platforms-a1503a32a887c0b9a735613a7caf5d1493affd01.tar.xz
1. Add Link MTU support to IP4 and TCP4 driver.
2. Integrate IPsec functionality to IP4 driver. 3. Move IP_VERSION_4/IP_VERSION_6 definition from IpIoLib to NetLib. 4. Move the Ip6/Udp6 protocol declaration from driver INF to Library INF (DxeIpIoLib and DxeUdpIoLib) for better readability. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9413 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Include/Library')
-rw-r--r--MdeModulePkg/Include/Library/IpIoLib.h2
-rw-r--r--MdeModulePkg/Include/Library/NetLib.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Include/Library/IpIoLib.h b/MdeModulePkg/Include/Library/IpIoLib.h
index 14f6884d15..e079fe1f79 100644
--- a/MdeModulePkg/Include/Library/IpIoLib.h
+++ b/MdeModulePkg/Include/Library/IpIoLib.h
@@ -81,8 +81,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
extern EFI_IP4_CONFIG_DATA mIp4IoDefaultIpConfigData;
extern EFI_IP6_CONFIG_DATA mIp6IoDefaultIpConfigData;
-#define IP_VERSION_4 4
-#define IP_VERSION_6 6
///
/// This error will be delivered to the
diff --git a/MdeModulePkg/Include/Library/NetLib.h b/MdeModulePkg/Include/Library/NetLib.h
index 07bf2cbc9f..2eab4a3329 100644
--- a/MdeModulePkg/Include/Library/NetLib.h
+++ b/MdeModulePkg/Include/Library/NetLib.h
@@ -51,6 +51,8 @@ typedef UINT16 TCP_PORTNO;
#define IP6_ESP 50
#define IP6_NO_NEXT_HEADER 59
+#define IP_VERSION_4 4
+#define IP_VERSION_6 6
#pragma pack(1)