/** @file\r
EFI TCPv4 Protocol Definition\r
The EFI TCPv4 Service Binding Protocol is used to locate EFI TCPv4 Protocol drivers to create\r
/** @file\r
EFI TCPv4 Protocol Definition\r
The EFI TCPv4 Service Binding Protocol is used to locate EFI TCPv4 Protocol drivers to create\r
- and destroy child of the driver to communicate with other host using TCP protocol. \r
- The EFI TCPv4 Protocol provides services to send and receive data stream. \r
+ and destroy child of the driver to communicate with other host using TCP protocol.\r
+ The EFI TCPv4 Protocol provides services to send and receive data stream.\r
- Copyright (c) 2006, Intel Corporation \r
- All rights reserved. This program and the accompanying materials \r
- are licensed and made available under the terms and conditions of the BSD License \r
- which accompanies this distribution. The full text of the license may be found at \r
- http://opensource.org/licenses/bsd-license.php \r
+ Copyright (c) 2006 - 2008, Intel Corporation\r
+ All rights reserved. This program and the accompanying materials\r
+ are licensed and made available under the terms and conditions of the BSD License\r
+ which accompanies this distribution. The full text of the license may be found at\r
+ http://opensource.org/licenses/bsd-license.php\r
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
-\r
- Module Name: Tcp4.h\r
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
- UINTN ReceiveBufferSize;\r
- UINTN SendBufferSize;\r
- UINTN MaxSynBackLog;\r
- UINTN ConnectionTimeout;\r
- UINTN DataRetries;\r
- UINTN FinTimeout;\r
- UINTN TimeWaitTimeout;\r
- UINTN KeepAliveProbes;\r
- UINTN KeepAliveTime;\r
- UINTN KeepAliveInterval;\r
+ UINT32 ReceiveBufferSize;\r
+ UINT32 SendBufferSize;\r
+ UINT32 MaxSynBackLog;\r
+ UINT32 ConnectionTimeout;\r
+ UINT32 DataRetries;\r
+ UINT32 FinTimeout;\r
+ UINT32 TimeWaitTimeout;\r
+ UINT32 KeepAliveProbes;\r
+ UINT32 KeepAliveTime;\r
+ UINT32 KeepAliveInterval;\r
IN CONST EFI_TCP4_PROTOCOL *This,\r
OUT EFI_TCP4_CONNECTION_STATE *Tcp4State OPTIONAL,\r
OUT EFI_TCP4_CONFIG_DATA *Tcp4ConfigData OPTIONAL,\r
OUT EFI_IP4_MODE_DATA *Ip4ModeData OPTIONAL,\r
OUT EFI_MANAGED_NETWORK_CONFIG_DATA *MnpConfigData OPTIONAL,\r
OUT EFI_SIMPLE_NETWORK_MODE *SnpModeData OPTIONAL\r
IN CONST EFI_TCP4_PROTOCOL *This,\r
OUT EFI_TCP4_CONNECTION_STATE *Tcp4State OPTIONAL,\r
OUT EFI_TCP4_CONFIG_DATA *Tcp4ConfigData OPTIONAL,\r
OUT EFI_IP4_MODE_DATA *Ip4ModeData OPTIONAL,\r
OUT EFI_MANAGED_NETWORK_CONFIG_DATA *MnpConfigData OPTIONAL,\r
OUT EFI_SIMPLE_NETWORK_MODE *SnpModeData OPTIONAL\r
IN EFI_TCP4_PROTOCOL *This,\r
IN EFI_TCP4_CONFIG_DATA *TcpConfigData OPTIONAL\r
IN EFI_TCP4_PROTOCOL *This,\r
IN EFI_TCP4_CONFIG_DATA *TcpConfigData OPTIONAL\r
IN EFI_TCP4_PROTOCOL *This,\r
IN BOOLEAN DeleteRoute,\r
IN EFI_IPv4_ADDRESS *SubnetAddress,\r
IN EFI_IPv4_ADDRESS *SubnetMask,\r
IN EFI_IPv4_ADDRESS *GatewayAddress\r
IN EFI_TCP4_PROTOCOL *This,\r
IN BOOLEAN DeleteRoute,\r
IN EFI_IPv4_ADDRESS *SubnetAddress,\r
IN EFI_IPv4_ADDRESS *SubnetMask,\r
IN EFI_IPv4_ADDRESS *GatewayAddress\r
@param This Pointer to the EFI_TCP4_PROTOCOL instance.\r
@param ConnectionToken Pointer to the connection token to return when the TCP three\r
way handshake finishes.\r
@param This Pointer to the EFI_TCP4_PROTOCOL instance.\r
@param ConnectionToken Pointer to the connection token to return when the TCP three\r
way handshake finishes.\r
@retval EFI_SUCCESS The connection request is successfully initiated and the state\r
- of this TCPv4 instance has been changed to\r
- Tcp4StateSynSent.\r
@retval EFI_SUCCESS The connection request is successfully initiated and the state\r
- of this TCPv4 instance has been changed to\r
- Tcp4StateSynSent.\r
IN EFI_TCP4_PROTOCOL *This,\r
IN EFI_TCP4_CONNECTION_TOKEN *ConnectionToken\r
IN EFI_TCP4_PROTOCOL *This,\r
IN EFI_TCP4_CONNECTION_TOKEN *ConnectionToken\r
IN EFI_TCP4_PROTOCOL *This,\r
IN EFI_TCP4_LISTEN_TOKEN *ListenToken\r
IN EFI_TCP4_PROTOCOL *This,\r
IN EFI_TCP4_LISTEN_TOKEN *ListenToken\r
IN EFI_TCP4_PROTOCOL *This,\r
IN EFI_TCP4_IO_TOKEN *Token\r
IN EFI_TCP4_PROTOCOL *This,\r
IN EFI_TCP4_IO_TOKEN *Token\r
IN EFI_TCP4_PROTOCOL *This,\r
IN EFI_TCP4_IO_TOKEN *Token\r
IN EFI_TCP4_PROTOCOL *This,\r
IN EFI_TCP4_IO_TOKEN *Token\r
\r
@param This Pointer to the EFI_TCP4_PROTOCOL instance.\r
@param CloseToken Pointer to the close token to return when operation finishes.\r
\r
@param This Pointer to the EFI_TCP4_PROTOCOL instance.\r
@param CloseToken Pointer to the close token to return when operation finishes.\r
IN EFI_TCP4_PROTOCOL *This,\r
IN EFI_TCP4_CLOSE_TOKEN *CloseToken\r
IN EFI_TCP4_PROTOCOL *This,\r
IN EFI_TCP4_CLOSE_TOKEN *CloseToken\r
IN EFI_TCP4_PROTOCOL *This,\r
IN EFI_TCP4_COMPLETION_TOKEN *Token OPTIONAL\r
IN EFI_TCP4_PROTOCOL *This,\r
IN EFI_TCP4_COMPLETION_TOKEN *Token OPTIONAL\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
struct _EFI_TCP4_PROTOCOL {\r
EFI_TCP4_GET_MODE_DATA GetModeData;\r
EFI_TCP4_CONFIGURE Configure;\r