iPXE
|
A netfront NIC. More...
#include <netfront.h>
Data Fields | |
struct xen_device * | xendev |
Xen device. More... | |
grant_ref_t | refs [NETFRONT_REF_COUNT] |
Grant references. More... | |
struct net_device * | netdev |
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_buffer * | tx_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_buffer * | rx_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... | |
A netfront NIC.
Definition at line 156 of file netfront.h.
struct xen_device* netfront_nic::xendev |
Xen device.
Definition at line 158 of file netfront.h.
Referenced by netfront_close(), netfront_create_event(), netfront_create_ring(), netfront_destroy_event(), netfront_destroy_ring(), netfront_net_probe(), netfront_open(), netfront_poll_rx(), netfront_poll_tx(), netfront_probe(), netfront_pull(), netfront_push(), netfront_read_mac(), netfront_refill_rx(), netfront_reset(), netfront_rm(), netfront_send_event(), netfront_transmit(), and netfront_write_num().
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().
struct net_device* netfront_nic::netdev |
Network device.
Definition at line 163 of file netfront.h.
Referenced by netfront_net_probe(), and netfront_probe().
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().
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().
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().
struct io_buffer* netfront_nic::tx_iobufs[NETFRONT_NUM_TX_DESC] |
uint8_t netfront_nic::tx_ids[NETFRONT_NUM_TX_DESC] |
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().
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().
struct io_buffer* netfront_nic::rx_iobufs[NETFRONT_NUM_RX_DESC] |
uint8_t netfront_nic::rx_ids[NETFRONT_NUM_RX_DESC] |
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().
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().