summaryrefslogtreecommitdiff
path: root/MdePkg/Include/Protocol/Tcp4.h
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Include/Protocol/Tcp4.h')
-rw-r--r--MdePkg/Include/Protocol/Tcp4.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/MdePkg/Include/Protocol/Tcp4.h b/MdePkg/Include/Protocol/Tcp4.h
index 715c581e6d..262c5be75f 100644
--- a/MdePkg/Include/Protocol/Tcp4.h
+++ b/MdePkg/Include/Protocol/Tcp4.h
@@ -485,6 +485,48 @@ EFI_STATUS
)
;
+/**
+ @par Protocol Description:
+ The EFI_TCP4_PROTOCOL defines the EFI TCPv4 Protocol child to be used by
+ any network drivers or applications to send or receive data stream.
+ It can either listen on a specified port as a service or actively connected
+ to remote peer as a client. Each instance has its own independent settings,
+ such as the routing table.
+
+ @param GetModeData
+ Get the current operational status.
+
+ @param Configure
+ Initialize, change, or brutally reset operational settings of the EFI TCPv4 Protocol.
+
+ @param Routes
+ Add or delete routing entries for this TCP4 instance.
+
+ @param Connect
+ Initiate the TCP three-way handshake to connect to the remote peer
+ configured in this TCP instance. The function is a nonblocking operation.
+
+ @param Accept
+ Listen for incoming TCP connection request. This function is a nonblocking operation.
+
+ @param Transmit
+ Queue outgoing data to the transmit queue. This function is a nonblocking operation.
+
+ @param Receive
+ Queue a receiving request token to the receive queue. This function is
+ a nonblocking operation.
+
+ @param Close
+ Gracefully disconnecting a TCP connection follow RFC 793 or reset a TCP
+ connection. This function is a nonblocking operation.
+
+ @param Cancel
+ Abort a pending connect, listen, transmit or receive request.
+
+ @param Poll
+ Poll to receive incoming data and transmit outgoing TCP segments.
+
+**/
struct _EFI_TCP4_PROTOCOL {
EFI_TCP4_GET_MODE_DATA GetModeData;
EFI_TCP4_CONFIGURE Configure;