15#ifndef __EFI_TCP4_PROTOCOL_H__
16#define __EFI_TCP4_PROTOCOL_H__
20#define EFI_TCP4_SERVICE_BINDING_PROTOCOL_GUID \
22 0x00720665, 0x67EB, 0x4a99, {0xBA, 0xF7, 0xD3, 0xC3, 0x3A, 0x1C, 0x7C, 0xC9 } \
25#define EFI_TCP4_PROTOCOL_GUID \
27 0x65530BC7, 0xA359, 0x410f, {0xB0, 0x10, 0x5A, 0xAD, 0xC7, 0xEC, 0x2B, 0x62 } \
55 BOOLEAN UseDefaultAddress;
65 UINT32 ReceiveBufferSize;
66 UINT32 SendBufferSize;
68 UINT32 ConnectionTimeout;
71 UINT32 TimeWaitTimeout;
72 UINT32 KeepAliveProbes;
74 UINT32 KeepAliveInterval;
76 BOOLEAN EnableTimeStamp;
77 BOOLEAN EnableWindowScaling;
78 BOOLEAN EnableSelectiveAck;
79 BOOLEAN EnablePathMtuDiscovery;
106 Tcp4StateSynSent = 2,
107 Tcp4StateSynReceived = 3,
108 Tcp4StateEstablished = 4,
109 Tcp4StateFinWait1 = 5,
110 Tcp4StateFinWait2 = 6,
111 Tcp4StateClosing = 7,
112 Tcp4StateTimeWait = 8,
113 Tcp4StateCloseWait = 9,
114 Tcp4StateLastAck = 10
158 UINT32 FragmentLength;
159 VOID *FragmentBuffer;
165 UINT32 FragmentCount;
173 UINT32 FragmentCount;
220 BOOLEAN AbortOnClose;
321 IN BOOLEAN DeleteRoute,
564extern EFI_GUID gEfiTcp4ServiceBindingProtocolGuid;
565extern EFI_GUID gEfiTcp4ProtocolGuid;
EFI_STATUS Push(IN UINT32 Value, IN UINTN Type)
EFI_STATUS(EFIAPI * EFI_TCP4_CLOSE)(IN EFI_TCP4_PROTOCOL *This, IN EFI_TCP4_CLOSE_TOKEN *CloseToken)
EFI_STATUS(EFIAPI * EFI_TCP4_ROUTES)(IN EFI_TCP4_PROTOCOL *This, IN BOOLEAN DeleteRoute, IN EFI_IPv4_ADDRESS *SubnetAddress, IN EFI_IPv4_ADDRESS *SubnetMask, IN EFI_IPv4_ADDRESS *GatewayAddress)
EFI_STATUS(EFIAPI * EFI_TCP4_CONNECT)(IN EFI_TCP4_PROTOCOL *This, IN EFI_TCP4_CONNECTION_TOKEN *ConnectionToken)
EFI_STATUS(EFIAPI * EFI_TCP4_GET_MODE_DATA)(IN EFI_TCP4_PROTOCOL *This, OUT EFI_TCP4_CONNECTION_STATE *Tcp4State OPTIONAL, OUT EFI_TCP4_CONFIG_DATA *Tcp4ConfigData OPTIONAL, OUT EFI_IP4_MODE_DATA *Ip4ModeData OPTIONAL, OUT EFI_MANAGED_NETWORK_CONFIG_DATA *MnpConfigData OPTIONAL, OUT EFI_SIMPLE_NETWORK_MODE *SnpModeData OPTIONAL)
EFI_STATUS(EFIAPI * EFI_TCP4_ACCEPT)(IN EFI_TCP4_PROTOCOL *This, IN EFI_TCP4_LISTEN_TOKEN *ListenToken)
EFI_TCP4_CONNECTION_STATE
EFI_STATUS(EFIAPI * EFI_TCP4_TRANSMIT)(IN EFI_TCP4_PROTOCOL *This, IN EFI_TCP4_IO_TOKEN *Token)
EFI_STATUS(EFIAPI * EFI_TCP4_CONFIGURE)(IN EFI_TCP4_PROTOCOL *This, IN EFI_TCP4_CONFIG_DATA *TcpConfigData OPTIONAL)
EFI_STATUS(EFIAPI * EFI_TCP4_RECEIVE)(IN EFI_TCP4_PROTOCOL *This, IN EFI_TCP4_IO_TOKEN *Token)
EFI_STATUS(EFIAPI * EFI_TCP4_CANCEL)(IN EFI_TCP4_PROTOCOL *This, IN EFI_TCP4_COMPLETION_TOKEN *Token OPTIONAL)
EFI_STATUS(EFIAPI * EFI_TCP4_POLL)(IN EFI_TCP4_PROTOCOL *This)
EFI_TCP4_COMPLETION_TOKEN CompletionToken
EFI_TCP4_COMPLETION_TOKEN CompletionToken
EFI_TCP4_TRANSMIT_DATA * TxData
EFI_TCP4_RECEIVE_DATA * RxData