|
iPXE
|
A netfront descriptor ring. More...
#include <netfront.h>
Data Fields | |
| union { | |
| netif_tx_sring_t * tx | |
| Transmit shared ring. More... | |
| netif_rx_sring_t * rx | |
| Receive shared ring. More... | |
| void * raw | |
| Raw pointer. More... | |
| } | sring |
| Shared ring. More... | |
| const char * | ref_key |
| Shared ring grant reference key. More... | |
| grant_ref_t | ref |
| Shared ring grant reference. More... | |
| size_t | count |
| Maximum number of used descriptors. More... | |
| struct io_buffer ** | iobufs |
| I/O buffers, indexed by buffer ID. More... | |
| grant_ref_t * | refs |
| Grant references, indexed by buffer ID. More... | |
| uint8_t * | ids |
| Buffer ID ring. More... | |
| unsigned int | id_prod |
| Buffer ID ring producer counter. More... | |
| unsigned int | id_cons |
| Buffer ID ring consumer counter. More... | |
A netfront descriptor ring.
Definition at line 49 of file netfront.h.
| netif_tx_sring_t* netfront_ring::tx |
Transmit shared ring.
Definition at line 53 of file netfront.h.
| netif_rx_sring_t* netfront_ring::rx |
Receive shared ring.
Definition at line 55 of file netfront.h.
| void* netfront_ring::raw |
Raw pointer.
Definition at line 57 of file netfront.h.
Referenced by netfront_create_ring(), and netfront_destroy_ring().
| union { ... } netfront_ring::sring |
Shared ring.
Referenced by netfront_create_ring(), and netfront_destroy_ring().
| const char* netfront_ring::ref_key |
Shared ring grant reference key.
Definition at line 60 of file netfront.h.
Referenced by netfront_create_ring(), and netfront_destroy_ring().
| grant_ref_t netfront_ring::ref |
Shared ring grant reference.
Definition at line 62 of file netfront.h.
Referenced by netfront_create_ring(), and netfront_destroy_ring().
| size_t netfront_ring::count |
Maximum number of used descriptors.
Definition at line 65 of file netfront.h.
Referenced by netfront_create_ring(), netfront_destroy_ring(), netfront_open(), netfront_pull(), and netfront_push().
| struct io_buffer** netfront_ring::iobufs |
I/O buffers, indexed by buffer ID.
Definition at line 67 of file netfront.h.
Referenced by netfront_create_ring(), netfront_pull(), and netfront_push().
| grant_ref_t* netfront_ring::refs |
Grant references, indexed by buffer ID.
Definition at line 69 of file netfront.h.
Referenced by netfront_pull(), and netfront_push().
| uint8_t* netfront_ring::ids |
Buffer ID ring.
Definition at line 72 of file netfront.h.
Referenced by netfront_create_ring(), netfront_destroy_ring(), netfront_pull(), and netfront_push().
| unsigned int netfront_ring::id_prod |
Buffer ID ring producer counter.
Definition at line 74 of file netfront.h.
Referenced by __attribute__(), netfront_create_ring(), and netfront_push().
| unsigned int netfront_ring::id_cons |
Buffer ID ring consumer counter.
Definition at line 76 of file netfront.h.
Referenced by __attribute__(), netfront_create_ring(), netfront_destroy_ring(), and netfront_pull().
1.8.15