EFI_TCP4_OPTION *ControlOption;\r
} EFI_TCP4_CONFIG_DATA;\r
\r
+///\r
+/// TCP4 connnection state\r
+///\r
typedef enum {\r
Tcp4StateClosed = 0,\r
Tcp4StateListen = 1,\r
IN EFI_TCP4_PROTOCOL *This\r
);\r
\r
-/** \r
- @par Protocol Description:\r
- The EFI_TCP4_PROTOCOL defines the EFI TCPv4 Protocol child to be used by \r
- any network drivers or applications to send or receive data stream. \r
- It can either listen on a specified port as a service or actively connected \r
- to remote peer as a client. Each instance has its own independent settings, \r
- such as the routing table.\r
-\r
- @param GetModeData\r
- Get the current operational status. \r
-\r
- @param Configure\r
- Initialize, change, or brutally reset operational settings of the EFI TCPv4 Protocol. \r
-\r
- @param Routes\r
- Add or delete routing entries for this TCP4 instance. \r
-\r
- @param Connect\r
- Initiate the TCP three-way handshake to connect to the remote peer \r
- configured in this TCP instance. The function is a nonblocking operation. \r
-\r
- @param Accept\r
- Listen for incoming TCP connection request. This function is a nonblocking operation. \r
-\r
- @param Transmit\r
- Queue outgoing data to the transmit queue. This function is a nonblocking operation. \r
-\r
- @param Receive\r
- Queue a receiving request token to the receive queue. This function is \r
- a nonblocking operation. \r
-\r
- @param Close\r
- Gracefully disconnecting a TCP connection follow RFC 793 or reset a TCP \r
- connection. This function is a nonblocking operation. \r
-\r
- @param Cancel\r
- Abort a pending connect, listen, transmit or receive request. \r
-\r
- @param Poll\r
- Poll to receive incoming data and transmit outgoing TCP segments. \r
-\r
-**/\r
+///\r
+/// The EFI_TCP4_PROTOCOL defines the EFI TCPv4 Protocol child to be used by \r
+/// any network drivers or applications to send or receive data stream. \r
+/// It can either listen on a specified port as a service or actively connected \r
+/// to remote peer as a client. Each instance has its own independent settings, \r
+/// such as the routing table.\r
+///\r
struct _EFI_TCP4_PROTOCOL {\r
EFI_TCP4_GET_MODE_DATA GetModeData;\r
EFI_TCP4_CONFIGURE Configure;\r