summaryrefslogtreecommitdiff
path: root/MdePkg/Include/Protocol/Tcp4.h
diff options
context:
space:
mode:
authorFu Siyuan <siyuan.fu@intel.com>2014-05-07 06:17:31 +0000
committersfu5 <sfu5@6f19259b-4bc3-4df7-8a09-765794883524>2014-05-07 06:17:31 +0000
commitd551cc64cdf1f943744294819220b78a60b10822 (patch)
tree2d101c7186e6cda17743a85dda99c975e3d33d01 /MdePkg/Include/Protocol/Tcp4.h
parent5966402ed51c5b611bf437c812047dc9c432a47e (diff)
downloadedk2-d551cc64cdf1f943744294819220b78a60b10822.zip
edk2-d551cc64cdf1f943744294819220b78a60b10822.tar.gz
edk2-d551cc64cdf1f943744294819220b78a60b10822.tar.bz2
1. Mark the network volatile variables as deprecated in code comments and remove related code to set/get these variable.
2. Remove the GetTime() call when receiving Udp4/6 packets. Signed-off-by: Fu Siyuan <siyuan.fu@intel.com> Reviewed-by: Ye, Ting <ting.ye@intel.com> Reviewed-by: Wu, Jiaxin <jiaxin.wu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15497 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include/Protocol/Tcp4.h')
-rw-r--r--MdePkg/Include/Protocol/Tcp4.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/MdePkg/Include/Protocol/Tcp4.h b/MdePkg/Include/Protocol/Tcp4.h
index 55ed10a..e27581b 100644
--- a/MdePkg/Include/Protocol/Tcp4.h
+++ b/MdePkg/Include/Protocol/Tcp4.h
@@ -4,7 +4,7 @@
and destroy child of the driver to communicate with other host using TCP protocol.
The EFI TCPv4 Protocol provides services to send and receive data stream.
-Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2006 - 2014, 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 that accompanies this distribution.
The full text of the license may be found at
@@ -35,6 +35,10 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
typedef struct _EFI_TCP4_PROTOCOL EFI_TCP4_PROTOCOL;
+///
+/// EFI_TCP4_SERVICE_POINT is deprecated in the UEFI 2.4B and should not be used any more.
+/// The definition in here is only present to provide backwards compatability.
+///
typedef struct {
EFI_HANDLE InstanceHandle;
EFI_IPv4_ADDRESS LocalAddress;
@@ -43,6 +47,10 @@ typedef struct {
UINT16 RemotePort;
} EFI_TCP4_SERVICE_POINT;
+///
+/// EFI_TCP4_VARIABLE_DATA is deprecated in the UEFI 2.4B and should not be used any more.
+/// The definition in here is only present to provide backwards compatability.
+///
typedef struct {
EFI_HANDLE DriverHandle;
UINT32 ServiceCount;