TianoCore EDK2 master
|
#include <MdePkg/Include/Protocol/Tcp6.h>
Data Fields | |
EFI_TCP6_COMPLETION_TOKEN | CompletionToken |
union { | |
EFI_TCP6_RECEIVE_DATA * RxData | |
EFI_TCP6_TRANSMIT_DATA * TxData | |
} | Packet |
EFI_TCP6_IO_TOKEN returns When transmission finishes or meets any unexpected error.
EFI_TCP6_COMPLETION_TOKEN EFI_TCP6_IO_TOKEN::CompletionToken |
When transmission finishes or meets any unexpected error it will be set to one of the following values: EFI_SUCCESS: The receiving or transmission operation completes successfully. EFI_CONNECTION_FIN: The receiving operation fails because the communication peer has closed the connection and there is no more data in the receive buffer of the instance. EFI_CONNECTION_RESET: The receiving or transmission operation fails because this connection is reset either by instance itself or the communication peer. EFI_ABORTED: The receiving or transmission is aborted. EFI_TIMEOUT: The transmission timer expires and no more specific information is available. EFI_NETWORK_UNREACHABLE: The transmission fails because an ICMP network unreachable error is received. EFI_HOST_UNREACHABLE: The transmission fails because an ICMP host unreachable error is received. EFI_PROTOCOL_UNREACHABLE: The transmission fails because an ICMP protocol unreachable error is received. EFI_PORT_UNREACHABLE: The transmission fails and an ICMP port unreachable error is received. EFI_ICMP_ERROR: The transmission fails and some other ICMP error is received. EFI_DEVICE_ERROR: An unexpected system or network error occurs. EFI_SECURITY_VIOLATION: The receiving or transmission operation was failed because of IPSec policy check EFI_NO_MEDIA: There was a media error.
EFI_TCP6_RECEIVE_DATA* EFI_TCP6_IO_TOKEN::RxData |
When this token is used for receiving, RxData is a pointer to EFI_TCP6_RECEIVE_DATA.
EFI_TCP6_TRANSMIT_DATA* EFI_TCP6_IO_TOKEN::TxData |
When this token is used for transmitting, TxData is a pointer to EFI_TCP6_TRANSMIT_DATA.