iPXE
Data Fields
EFI_TCP4_IO_TOKEN Struct Reference

#include <Tcp4.h>

Data Fields

EFI_TCP4_COMPLETION_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.
union {
   EFI_TCP4_RECEIVE_DATA *   RxData
 When this token is used for receiving, RxData is a pointer to EFI_TCP4_RECEIVE_DATA.
   EFI_TCP4_TRANSMIT_DATA *   TxData
 When this token is used for transmitting, TxData is a pointer to EFI_TCP4_TRANSMIT_DATA.
Packet

Detailed Description

Definition at line 185 of file Tcp4.h.


Field Documentation

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_NO_MEDIA: There was a media error.

Definition at line 213 of file Tcp4.h.

When this token is used for receiving, RxData is a pointer to EFI_TCP4_RECEIVE_DATA.

Definition at line 218 of file Tcp4.h.

When this token is used for transmitting, TxData is a pointer to EFI_TCP4_TRANSMIT_DATA.

Definition at line 222 of file Tcp4.h.


The documentation for this struct was generated from the following file: