iPXE
Data Fields
netfront_nic Struct Reference

A netfront NIC. More...

#include <netfront.h>

Data Fields

struct xen_devicexendev
 Xen device. More...
 
grant_ref_t refs [NETFRONT_REF_COUNT]
 Grant references. More...
 
struct net_devicenetdev
 Network device. More...
 
struct list_head list
 List of netfront NICs. More...
 
struct netfront_ring tx
 Transmit ring. More...
 
netif_tx_front_ring_t tx_fring
 Transmit front ring. More...
 
struct io_buffertx_iobufs [NETFRONT_NUM_TX_DESC]
 Transmit I/O buffers. More...
 
uint8_t tx_ids [NETFRONT_NUM_TX_DESC]
 Transmit I/O buffer IDs. More...
 
struct netfront_ring rx
 Receive ring. More...
 
netif_rx_front_ring_t rx_fring
 Receive front ring. More...
 
struct io_bufferrx_iobufs [NETFRONT_NUM_RX_DESC]
 Receive I/O buffers. More...
 
uint8_t rx_ids [NETFRONT_NUM_RX_DESC]
 Receive I/O buffer IDs. More...
 
struct list_head rx_partial
 Partial receive I/O buffer list. More...
 
struct evtchn_send event
 Event channel. More...
 

Detailed Description

A netfront NIC.

Definition at line 156 of file netfront.h.

Field Documentation

◆ xendev

struct xen_device* netfront_nic::xendev

◆ refs

grant_ref_t netfront_nic::refs[NETFRONT_REF_COUNT]

Grant references.

Definition at line 160 of file netfront.h.

Referenced by netfront_probe(), and netfront_remove().

◆ netdev

struct net_device* netfront_nic::netdev

Network device.

Definition at line 163 of file netfront.h.

Referenced by netfront_net_probe(), and netfront_probe().

◆ list

struct list_head netfront_nic::list

List of netfront NICs.

Definition at line 165 of file netfront.h.

Referenced by netfront_net_probe(), netfront_probe(), and netfront_remove().

◆ tx

struct netfront_ring netfront_nic::tx

Transmit ring.

Definition at line 168 of file netfront.h.

Referenced by netfront_close(), netfront_open(), netfront_poll_tx(), netfront_probe(), and netfront_transmit().

◆ tx_fring

netif_tx_front_ring_t netfront_nic::tx_fring

Transmit front ring.

Definition at line 170 of file netfront.h.

Referenced by netfront_open(), netfront_poll_tx(), and netfront_transmit().

◆ tx_iobufs

struct io_buffer* netfront_nic::tx_iobufs[NETFRONT_NUM_TX_DESC]

Transmit I/O buffers.

Definition at line 172 of file netfront.h.

Referenced by netfront_probe().

◆ tx_ids

uint8_t netfront_nic::tx_ids[NETFRONT_NUM_TX_DESC]

Transmit I/O buffer IDs.

Definition at line 174 of file netfront.h.

Referenced by netfront_probe().

◆ rx

struct netfront_ring netfront_nic::rx

Receive ring.

Definition at line 177 of file netfront.h.

Referenced by netfront_close(), netfront_open(), netfront_poll_rx(), netfront_probe(), and netfront_refill_rx().

◆ rx_fring

netif_rx_front_ring_t netfront_nic::rx_fring

Receive front ring.

Definition at line 179 of file netfront.h.

Referenced by netfront_open(), netfront_poll_rx(), and netfront_refill_rx().

◆ rx_iobufs

struct io_buffer* netfront_nic::rx_iobufs[NETFRONT_NUM_RX_DESC]

Receive I/O buffers.

Definition at line 181 of file netfront.h.

Referenced by netfront_probe().

◆ rx_ids

uint8_t netfront_nic::rx_ids[NETFRONT_NUM_RX_DESC]

Receive I/O buffer IDs.

Definition at line 183 of file netfront.h.

Referenced by netfront_probe().

◆ rx_partial

struct list_head netfront_nic::rx_partial

Partial receive I/O buffer list.

Definition at line 185 of file netfront.h.

Referenced by netfront_discard(), netfront_poll_rx(), and netfront_probe().

◆ event

struct evtchn_send netfront_nic::event

Event channel.

Definition at line 188 of file netfront.h.

Referenced by netfront_create_event(), netfront_destroy_event(), and netfront_send_event().


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