iPXE
Data Fields
nii_nic Struct Reference

An NII NIC. More...

Data Fields

struct efi_deviceefidev
 EFI device. More...
 
EFI_NETWORK_INTERFACE_IDENTIFIER_PROTOCOLnii
 Network interface identifier protocol. More...
 
PXE_SW_UNDIundi
 !PXE structure More...
 
EFIAPI VOID(* issue )(UINT64 cdb)
 Entry point. More...
 
struct device dev
 Generic device. More...
 
EFI_HANDLE pci_device
 PCI device. More...
 
EFI_PCI_IO_PROTOCOLpci_io
 PCI I/O protocol. More...
 
unsigned int mem_bar
 Memory BAR. More...
 
unsigned int io_bar
 I/O BAR. More...
 
PXE_MAC_ADDR broadcast
 Broadcast address. More...
 
size_t mtu
 Maximum packet length. More...
 
userptr_t buffer
 Hardware transmit/receive buffer. More...
 
size_t buffer_len
 Hardware transmit/receive buffer length. More...
 
EFI_TPL saved_tpl
 Saved task priority level. More...
 
int media
 Media status is supported. More...
 
struct io_buffertxbuf
 Current transmit buffer. More...
 
struct io_bufferrxbuf
 Current receive buffer. More...
 
struct list_head mappings
 Mapping list. More...
 

Detailed Description

An NII NIC.

Definition at line 152 of file nii.c.

Field Documentation

◆ efidev

struct efi_device* nii_nic::efidev

EFI device.

Definition at line 154 of file nii.c.

Referenced by nii_pci_close(), nii_pci_open(), nii_start(), and nii_stop().

◆ nii

◆ undi

PXE_SW_UNDI* nii_nic::undi

!PXE structure

Definition at line 158 of file nii.c.

◆ issue

EFIAPI VOID( * nii_nic::issue) (UINT64 cdb)

Entry point.

Definition at line 160 of file nii.c.

◆ dev

struct device nii_nic::dev

Generic device.

Definition at line 162 of file nii.c.

Referenced by nii_map(), nii_pci_close(), nii_pci_open(), and nii_unmap().

◆ pci_device

EFI_HANDLE nii_nic::pci_device

PCI device.

Definition at line 165 of file nii.c.

Referenced by nii_pci_close(), and nii_pci_open().

◆ pci_io

EFI_PCI_IO_PROTOCOL* nii_nic::pci_io

PCI I/O protocol.

Definition at line 167 of file nii.c.

Referenced by nii_map(), nii_pci_close(), nii_pci_open(), and nii_unmap().

◆ mem_bar

unsigned int nii_nic::mem_bar

Memory BAR.

Definition at line 169 of file nii.c.

Referenced by nii_pci_open().

◆ io_bar

unsigned int nii_nic::io_bar

I/O BAR.

Definition at line 171 of file nii.c.

Referenced by nii_pci_open().

◆ broadcast

PXE_MAC_ADDR nii_nic::broadcast

Broadcast address.

Definition at line 174 of file nii.c.

◆ mtu

size_t nii_nic::mtu

Maximum packet length.

Definition at line 176 of file nii.c.

◆ buffer

userptr_t nii_nic::buffer

Hardware transmit/receive buffer.

Definition at line 179 of file nii.c.

◆ buffer_len

size_t nii_nic::buffer_len

Hardware transmit/receive buffer length.

Definition at line 181 of file nii.c.

◆ saved_tpl

EFI_TPL nii_nic::saved_tpl

Saved task priority level.

Definition at line 184 of file nii.c.

◆ media

int nii_nic::media

Media status is supported.

Definition at line 187 of file nii.c.

◆ txbuf

struct io_buffer* nii_nic::txbuf

Current transmit buffer.

Definition at line 190 of file nii.c.

Referenced by nii_poll_tx().

◆ rxbuf

struct io_buffer* nii_nic::rxbuf

Current receive buffer.

Definition at line 192 of file nii.c.

◆ mappings

struct list_head nii_nic::mappings

Mapping list.

Definition at line 195 of file nii.c.

Referenced by nii_map(), nii_pci_close(), and nii_unmap().


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