iPXE
phantom_hw.h File Reference

Phantom hardware definitions. More...

Go to the source code of this file.

Data Structures

struct  phantom_rds_pb
 A Phantom RX descriptor. More...
struct  phantom_sds_pb
 A Phantom RX status descriptor. More...
struct  phantom_tx_cds_pb
 A Phantom TX descriptor. More...
struct  phantom_nic_request_body_mac_request_pb
 A Phantom MAC address request body. More...
struct  phantom_nic_request_cds_pb
 A Phantom NIC request command descriptor. More...
union  phantom_cds_pb
 A Phantom command descriptor. More...

Enumerations

enum  phantom_sds_opcode { UNM_SYN_OFFLOAD = 0x03 , UNM_RXPKT_DESC = 0x04 }
 Phantom RX status opcodes. More...
enum  phantom_mac_request_opcode { UNM_MAC_ADD = 0x01 , UNM_MAC_DEL = 0x02 }
 Phantom MAC request opcodes. More...
enum  phantom_nic_request_opcode { UNM_MAC_EVENT = 0x01 }
 Phantom NIC request opcodes. More...
enum  phantom_cds_opcode { UNM_TX_ETHER_PKT = 0x01 , UNM_NIC_REQUEST = 0x14 }
 Phantom command descriptor opcodes. More...

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)

Detailed Description

Phantom hardware definitions.

Definition in file phantom_hw.h.

Enumeration Type Documentation

◆ phantom_sds_opcode

Phantom RX status opcodes.

Enumerator
UNM_SYN_OFFLOAD 
UNM_RXPKT_DESC 

Definition at line 70 of file phantom_hw.h.

70 {
71 UNM_SYN_OFFLOAD = 0x03,
72 UNM_RXPKT_DESC = 0x04,
73};
@ UNM_SYN_OFFLOAD
Definition phantom_hw.h:71
@ UNM_RXPKT_DESC
Definition phantom_hw.h:72

◆ phantom_mac_request_opcode

Phantom MAC request opcodes.

Enumerator
UNM_MAC_ADD 

Add MAC address.

UNM_MAC_DEL 

Delete MAC address.

Definition at line 135 of file phantom_hw.h.

135 {
136 UNM_MAC_ADD = 0x01, /**< Add MAC address */
137 UNM_MAC_DEL = 0x02, /**< Delete MAC address */
138};
@ UNM_MAC_DEL
Delete MAC address.
Definition phantom_hw.h:137
@ UNM_MAC_ADD
Add MAC address.
Definition phantom_hw.h:136

◆ phantom_nic_request_opcode

Phantom NIC request opcodes.

Enumerator
UNM_MAC_EVENT 

Add/delete MAC address.

Definition at line 173 of file phantom_hw.h.

173 {
174 UNM_MAC_EVENT = 0x01, /**< Add/delete MAC address */
175};
@ UNM_MAC_EVENT
Add/delete MAC address.
Definition phantom_hw.h:174

◆ phantom_cds_opcode

Phantom command descriptor opcodes.

Enumerator
UNM_TX_ETHER_PKT 

Transmit raw Ethernet.

UNM_NIC_REQUEST 

NIC request.

Definition at line 184 of file phantom_hw.h.

184 {
185 UNM_TX_ETHER_PKT = 0x01, /**< Transmit raw Ethernet */
186 UNM_NIC_REQUEST = 0x14, /**< NIC request */
187};
@ UNM_NIC_REQUEST
NIC request.
Definition phantom_hw.h:186
@ UNM_TX_ETHER_PKT
Transmit raw Ethernet.
Definition phantom_hw.h:185

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )