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 153 of file nii.c.

Field Documentation

◆ efidev

struct efi_device* nii_nic::efidev

EFI device.

Definition at line 155 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 159 of file nii.c.

◆ issue

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

Entry point.

Definition at line 161 of file nii.c.

◆ dev

struct device nii_nic::dev

Generic device.

Definition at line 163 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 166 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 168 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 170 of file nii.c.

Referenced by nii_pci_open().

◆ io_bar

unsigned int nii_nic::io_bar

I/O BAR.

Definition at line 172 of file nii.c.

Referenced by nii_pci_open().

◆ broadcast

PXE_MAC_ADDR nii_nic::broadcast

Broadcast address.

Definition at line 175 of file nii.c.

◆ mtu

size_t nii_nic::mtu

Maximum packet length.

Definition at line 177 of file nii.c.

◆ buffer

userptr_t nii_nic::buffer

Hardware transmit/receive buffer.

Definition at line 180 of file nii.c.

◆ buffer_len

size_t nii_nic::buffer_len

Hardware transmit/receive buffer length.

Definition at line 182 of file nii.c.

◆ saved_tpl

EFI_TPL nii_nic::saved_tpl

Saved task priority level.

Definition at line 185 of file nii.c.

◆ media

int nii_nic::media

Media status is supported.

Definition at line 188 of file nii.c.

◆ txbuf

struct io_buffer* nii_nic::txbuf

Current transmit buffer.

Definition at line 191 of file nii.c.

Referenced by nii_poll_tx().

◆ rxbuf

struct io_buffer* nii_nic::rxbuf

Current receive buffer.

Definition at line 193 of file nii.c.

◆ mappings

struct list_head nii_nic::mappings

Mapping list.

Definition at line 196 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: