iPXE
|
An SNP device. More...
#include <efi_snp.h>
Data Fields | |
struct list_head | list |
List of SNP devices. More... | |
struct net_device * | netdev |
The underlying iPXE network device. More... | |
struct efi_device * | efidev |
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... | |
VOID * | tx [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_VLAN_CONFIG_PROTOCOL | vcfg |
VLAN configuration protocol. 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_HEADER * | package_list |
HII package list. More... | |
EFI_HANDLE | hii_child_handle |
EFI child handle for HII association. More... | |
EFI_DEVICE_PATH_PROTOCOL * | hii_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_PROTOCOL * | path |
The device path. More... | |
struct list_head efi_snp_device::list |
List of SNP devices.
Definition at line 30 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().
struct net_device* efi_snp_device::netdev |
The underlying iPXE network device.
Definition at line 32 of file efi_snp.h.
Referenced by efi_image_exec(), efi_snp_demux(), efi_snp_hii_package_list(), efi_snp_hii_settings(), efi_snp_initialize(), efi_snp_load_file(), efi_snp_mcast_ip_to_mac(), efi_snp_poll(), efi_snp_probe(), efi_snp_receive(), efi_snp_receive_filters(), efi_snp_remove(), efi_snp_reset(), efi_snp_set_mode(), efi_snp_set_state(), efi_snp_shutdown(), efi_snp_station_address(), efi_snp_statistics(), efi_snp_transmit(), efi_snp_wait_for_packet(), efi_undi_fill_header(), efi_undi_get_init_info(), efi_undi_get_status(), efi_undi_ifnum(), efi_undi_initialize(), efi_undi_receive(), efi_undi_station_address(), efi_vlan_find(), efi_vlan_remove(), and efi_vlan_set().
struct efi_device* efi_snp_device::efidev |
The underlying EFI device.
Definition at line 34 of file efi_snp.h.
Referenced by efi_snp_probe(), and efi_snp_remove().
EFI_HANDLE efi_snp_device::handle |
EFI device handle.
Definition at line 36 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().
EFI_SIMPLE_NETWORK_PROTOCOL efi_snp_device::snp |
The SNP structure itself.
Definition at line 38 of file efi_snp.h.
Referenced by efi_snp_get_status(), efi_snp_initialize(), efi_snp_mcast_ip_to_mac(), efi_snp_nvdata(), efi_snp_poll(), efi_snp_probe(), efi_snp_receive(), efi_snp_receive_filters(), efi_snp_remove(), efi_snp_reset(), efi_snp_shutdown(), efi_snp_start(), efi_snp_station_address(), efi_snp_statistics(), efi_snp_stop(), efi_snp_transmit(), efi_undi_get_status(), efi_undi_initialize(), efi_undi_receive(), efi_undi_reset(), efi_undi_shutdown(), efi_undi_start(), efi_undi_station_address(), efi_undi_stop(), and efi_undi_transmit().
EFI_SIMPLE_NETWORK_MODE efi_snp_device::mode |
The SNP "mode" (parameters)
Definition at line 40 of file efi_snp.h.
Referenced by efi_snp_notify(), efi_snp_probe(), efi_snp_set_mode(), efi_snp_set_state(), efi_snp_station_address(), efi_snp_transmit(), and efi_undi_get_state().
int efi_snp_device::started |
Started flag.
Definition at line 42 of file efi_snp.h.
Referenced by efi_snp_set_state(), efi_snp_start(), and efi_snp_stop().
unsigned int efi_snp_device::interrupts |
Pending interrupt status.
Definition at line 44 of file efi_snp.h.
Referenced by efi_snp_get_status(), efi_snp_poll(), and efi_snp_transmit().
VOID* efi_snp_device::tx[EFI_SNP_NUM_TX] |
Transmit completion ring.
Definition at line 46 of file efi_snp.h.
Referenced by efi_snp_get_status(), and efi_snp_transmit().
unsigned int efi_snp_device::tx_prod |
Transmit completion ring producer counter.
Definition at line 48 of file efi_snp.h.
Referenced by efi_snp_flush(), efi_snp_get_status(), efi_snp_transmit(), and efi_undi_get_status().
unsigned int efi_snp_device::tx_cons |
Transmit completion ring consumer counter.
Definition at line 50 of file efi_snp.h.
Referenced by efi_snp_flush(), efi_snp_get_status(), efi_snp_transmit(), and efi_undi_get_status().
struct list_head efi_snp_device::rx |
Receive queue.
Definition at line 52 of file efi_snp.h.
Referenced by efi_snp_flush(), efi_snp_poll(), efi_snp_probe(), efi_snp_receive(), and efi_undi_get_status().
EFI_NETWORK_INTERFACE_IDENTIFIER_PROTOCOL efi_snp_device::nii |
The network interface identifier.
Definition at line 54 of file efi_snp.h.
Referenced by efi_snp_probe(), and efi_snp_remove().
EFI_VLAN_CONFIG_PROTOCOL efi_snp_device::vcfg |
VLAN configuration protocol.
Definition at line 56 of file efi_snp.h.
Referenced by efi_snp_probe(), efi_snp_remove(), efi_vlan_find(), efi_vlan_remove(), and efi_vlan_set().
EFI_COMPONENT_NAME2_PROTOCOL efi_snp_device::name2 |
Component name protocol.
Definition at line 58 of file efi_snp.h.
Referenced by efi_snp_get_controller_name(), efi_snp_get_driver_name(), efi_snp_probe(), and efi_snp_remove().
EFI_LOAD_FILE_PROTOCOL efi_snp_device::load_file |
Load file protocol handle.
Definition at line 60 of file efi_snp.h.
Referenced by efi_snp_load_file(), efi_snp_probe(), and efi_snp_remove().
EFI_HII_CONFIG_ACCESS_PROTOCOL efi_snp_device::hii |
HII configuration access protocol.
Definition at line 62 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().
EFI_HII_PACKAGE_LIST_HEADER* efi_snp_device::package_list |
HII package list.
Definition at line 64 of file efi_snp.h.
Referenced by efi_snp_hii_install(), efi_snp_hii_uninstall(), efi_snp_probe(), and efi_snp_remove().
EFI_HANDLE efi_snp_device::hii_child_handle |
EFI child handle for HII association.
Definition at line 66 of file efi_snp.h.
Referenced by efi_snp_hii_install(), and efi_snp_hii_uninstall().
EFI_DEVICE_PATH_PROTOCOL* efi_snp_device::hii_child_path |
Device path of HII child handle.
Definition at line 68 of file efi_snp.h.
Referenced by efi_snp_hii_install(), and efi_snp_hii_uninstall().
EFI_HII_HANDLE efi_snp_device::hii_handle |
HII handle.
Definition at line 70 of file efi_snp.h.
Referenced by efi_snp_hii_install(), and efi_snp_hii_uninstall().
wchar_t efi_snp_device::name[sizeof(((struct net_device *) NULL) ->name)] |
wchar_t efi_snp_device::driver_name[16] |
Driver name.
Definition at line 74 of file efi_snp.h.
Referenced by efi_snp_get_driver_name(), and efi_snp_probe().
wchar_t efi_snp_device::controller_name[64] |
Controller name.
Definition at line 76 of file efi_snp.h.
Referenced by efi_snp_get_controller_name(), and efi_snp_probe().
EFI_DEVICE_PATH_PROTOCOL* efi_snp_device::path |
The device path.
Definition at line 78 of file efi_snp.h.
Referenced by efi_image_exec(), efi_snp_hii_install(), efi_snp_probe(), and efi_snp_remove().