iPXE
Data Fields
efi_snp_device Struct Reference

An SNP device. More...

#include <efi_snp.h>

Data Fields

struct list_head list
 List of SNP devices. More...
 
struct net_devicenetdev
 The underlying iPXE network device. More...
 
struct efi_deviceefidev
 The underlying EFI device. More...
 
EFI_HANDLE handle
 EFI device handle. More...
 
EFI_SIMPLE_NETWORK_PROTOCOL snp
 The SNP structure itself. More...
 
EFI_SIMPLE_NETWORK_MODE mode
 The SNP "mode" (parameters) More...
 
int started
 Started flag. More...
 
unsigned int interrupts
 Pending interrupt status. More...
 
VOIDtx [EFI_SNP_NUM_TX]
 Transmit completion ring. More...
 
unsigned int tx_prod
 Transmit completion ring producer counter. More...
 
unsigned int tx_cons
 Transmit completion ring consumer counter. More...
 
struct list_head rx
 Receive queue. More...
 
EFI_NETWORK_INTERFACE_IDENTIFIER_PROTOCOL nii
 The network interface identifier. More...
 
EFI_COMPONENT_NAME2_PROTOCOL name2
 Component name protocol. More...
 
EFI_LOAD_FILE_PROTOCOL load_file
 Load file protocol handle. More...
 
EFI_HII_CONFIG_ACCESS_PROTOCOL hii
 HII configuration access protocol. More...
 
EFI_HII_PACKAGE_LIST_HEADERpackage_list
 HII package list. More...
 
EFI_HANDLE hii_child_handle
 EFI child handle for HII association. More...
 
EFI_DEVICE_PATH_PROTOCOLhii_child_path
 Device path of HII child handle. More...
 
EFI_HII_HANDLE hii_handle
 HII handle. More...
 
wchar_t name [sizeof(((struct net_device *) NULL) ->name)]
 Device name. More...
 
wchar_t driver_name [16]
 Driver name. More...
 
wchar_t controller_name [64]
 Controller name. More...
 
EFI_DEVICE_PATH_PROTOCOLpath
 The device path. More...
 

Detailed Description

An SNP device.

Definition at line 27 of file efi_snp.h.

Field Documentation

◆ list

struct list_head efi_snp_device::list

List of SNP devices.

Definition at line 29 of file efi_snp.h.

Referenced by efi_snp_add_claim(), efi_snp_demux(), efi_snp_probe(), efi_snp_remove(), efi_undi_snpdev(), and find_snpdev().

◆ netdev

struct net_device* efi_snp_device::netdev

◆ efidev

struct efi_device* efi_snp_device::efidev

The underlying EFI device.

Definition at line 33 of file efi_snp.h.

Referenced by efi_snp_probe(), and efi_snp_remove().

◆ handle

EFI_HANDLE efi_snp_device::handle

EFI device handle.

Definition at line 35 of file efi_snp.h.

Referenced by efi_image_exec(), efi_snp_hii_install(), efi_snp_hii_uninstall(), efi_snp_probe(), efi_snp_remove(), and find_snpdev().

◆ snp

EFI_SIMPLE_NETWORK_PROTOCOL efi_snp_device::snp

◆ mode

EFI_SIMPLE_NETWORK_MODE efi_snp_device::mode

◆ started

int efi_snp_device::started

Started flag.

Definition at line 41 of file efi_snp.h.

Referenced by efi_snp_set_state(), efi_snp_start(), and efi_snp_stop().

◆ interrupts

unsigned int efi_snp_device::interrupts

Pending interrupt status.

Definition at line 43 of file efi_snp.h.

Referenced by efi_snp_get_status(), efi_snp_poll(), and efi_snp_transmit().

◆ tx

VOID* efi_snp_device::tx[EFI_SNP_NUM_TX]

Transmit completion ring.

Definition at line 45 of file efi_snp.h.

Referenced by efi_snp_get_status(), and efi_snp_transmit().

◆ tx_prod

unsigned int efi_snp_device::tx_prod

Transmit completion ring producer counter.

Definition at line 47 of file efi_snp.h.

Referenced by efi_snp_flush(), efi_snp_get_status(), efi_snp_transmit(), and efi_undi_get_status().

◆ tx_cons

unsigned int efi_snp_device::tx_cons

Transmit completion ring consumer counter.

Definition at line 49 of file efi_snp.h.

Referenced by efi_snp_flush(), efi_snp_get_status(), efi_snp_transmit(), and efi_undi_get_status().

◆ rx

struct list_head efi_snp_device::rx

Receive queue.

Definition at line 51 of file efi_snp.h.

Referenced by efi_snp_flush(), efi_snp_poll(), efi_snp_probe(), efi_snp_receive(), and efi_undi_get_status().

◆ nii

The network interface identifier.

Definition at line 53 of file efi_snp.h.

Referenced by efi_snp_probe(), and efi_snp_remove().

◆ name2

EFI_COMPONENT_NAME2_PROTOCOL efi_snp_device::name2

Component name protocol.

Definition at line 55 of file efi_snp.h.

Referenced by efi_snp_get_controller_name(), efi_snp_get_driver_name(), efi_snp_probe(), and efi_snp_remove().

◆ load_file

EFI_LOAD_FILE_PROTOCOL efi_snp_device::load_file

Load file protocol handle.

Definition at line 57 of file efi_snp.h.

Referenced by efi_snp_load_file(), efi_snp_probe(), and efi_snp_remove().

◆ hii

EFI_HII_CONFIG_ACCESS_PROTOCOL efi_snp_device::hii

HII configuration access protocol.

Definition at line 59 of file efi_snp.h.

Referenced by efi_snp_hii_callback(), efi_snp_hii_extract_config(), efi_snp_hii_install(), efi_snp_hii_route_config(), and efi_snp_hii_uninstall().

◆ package_list

EFI_HII_PACKAGE_LIST_HEADER* efi_snp_device::package_list

HII package list.

Definition at line 61 of file efi_snp.h.

Referenced by efi_snp_hii_install(), efi_snp_hii_uninstall(), efi_snp_probe(), and efi_snp_remove().

◆ hii_child_handle

EFI_HANDLE efi_snp_device::hii_child_handle

EFI child handle for HII association.

Definition at line 63 of file efi_snp.h.

Referenced by efi_snp_hii_install(), and efi_snp_hii_uninstall().

◆ hii_child_path

EFI_DEVICE_PATH_PROTOCOL* efi_snp_device::hii_child_path

Device path of HII child handle.

Definition at line 65 of file efi_snp.h.

Referenced by efi_snp_hii_install(), and efi_snp_hii_uninstall().

◆ hii_handle

EFI_HII_HANDLE efi_snp_device::hii_handle

HII handle.

Definition at line 67 of file efi_snp.h.

Referenced by efi_snp_hii_install(), and efi_snp_hii_uninstall().

◆ name

wchar_t efi_snp_device::name[sizeof(((struct net_device *) NULL) ->name)]

Device name.

Definition at line 69 of file efi_snp.h.

Referenced by efi_snp_probe().

◆ driver_name

wchar_t efi_snp_device::driver_name[16]

Driver name.

Definition at line 71 of file efi_snp.h.

Referenced by efi_snp_get_driver_name(), and efi_snp_probe().

◆ controller_name

wchar_t efi_snp_device::controller_name[64]

Controller name.

Definition at line 73 of file efi_snp.h.

Referenced by efi_snp_get_controller_name(), and efi_snp_probe().

◆ path

EFI_DEVICE_PATH_PROTOCOL* efi_snp_device::path

The device path.

Definition at line 75 of file efi_snp.h.

Referenced by efi_block_hook(), efi_image_exec(), efi_snp_hii_install(), efi_snp_probe(), and efi_snp_remove().


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