iPXE
Data Fields
snp_nic Struct Reference

An SNP NIC. More...

Data Fields

struct efi_deviceefidev
 EFI device. More...
 
EFI_SIMPLE_NETWORK_PROTOCOLsnp
 Simple network protocol. More...
 
struct device dev
 Generic device. More...
 
size_t mtu
 Maximum packet size. More...
 
struct io_buffertxbuf
 Current transmit buffer. More...
 
struct io_bufferrxbuf
 Current receive buffer. More...
 

Detailed Description

An SNP NIC.

Definition at line 46 of file snpnet.c.

Field Documentation

◆ efidev

struct efi_device* snp_nic::efidev

EFI device.

Definition at line 48 of file snpnet.c.

Referenced by snpnet_start(), and snpnet_stop().

◆ snp

◆ dev

struct device snp_nic::dev

Generic device.

Definition at line 52 of file snpnet.c.

◆ mtu

size_t snp_nic::mtu

Maximum packet size.

This is calculated as the sum of MediaHeaderSize and MaxPacketSize, and may therefore be an overestimate.

Definition at line 59 of file snpnet.c.

◆ txbuf

struct io_buffer* snp_nic::txbuf

Current transmit buffer.

Definition at line 62 of file snpnet.c.

Referenced by snpnet_poll_tx().

◆ rxbuf

struct io_buffer* snp_nic::rxbuf

Current receive buffer.

Definition at line 64 of file snpnet.c.


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