MdePkg[all]  1.08
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
EFI_IP6_COMPLETION_TOKEN Struct Reference

Data Fields

EFI_EVENT Event
 
EFI_STATUS Status
 
union {
   EFI_IP6_RECEIVE_DATA *   RxData
 
   EFI_IP6_TRANSMIT_DATA *   TxData
 
Packet
 

Detailed Description

EFI_IP6_COMPLETION_TOKEN structures are used for both transmit and receive operations.

Field Documentation

EFI_EVENT EFI_IP6_COMPLETION_TOKEN::Event

This Event will be signaled after the Status field is updated by the EFI IPv6 Protocol driver. The type of Event must be EFI_NOTIFY_SIGNAL.

union { ... } EFI_IP6_COMPLETION_TOKEN::Packet
EFI_IP6_RECEIVE_DATA* EFI_IP6_COMPLETION_TOKEN::RxData

When the Token is used for receiving, RxData is a pointer to the EFI_IP6_RECEIVE_DATA.

EFI_STATUS EFI_IP6_COMPLETION_TOKEN::Status

Will be set to one of the following values:

  • EFI_SUCCESS: The receive or transmit completed successfully.
  • EFI_ABORTED: The receive or transmit was aborted
  • EFI_TIMEOUT: The transmit timeout expired.
  • EFI_ICMP_ERROR: An ICMP error packet was received.
  • EFI_DEVICE_ERROR: An unexpected system or network error occurred.
  • EFI_SECURITY_VIOLATION: The transmit or receive was failed because of an IPsec policy check.
  • EFI_NO_MEDIA: There was a media error.
EFI_IP6_TRANSMIT_DATA* EFI_IP6_COMPLETION_TOKEN::TxData

When the Token is used for transmitting, TxData is a pointer to the EFI_IP6_TRANSMIT_DATA.