Structure describing one Ethernet buffer. These buffers are passed between the NIC driver and the TTEthernet core. The core passes them in an encapulated form further to the applications. More...
#include <tte_eth_driver.h>
Public Attributes | |
union { | |
uint8_t * raw | |
eth_bg_frame_t * bg_frame | |
eth_ct_frame_t * ct_frame | |
}; | |
uint16_t | size |
uint16_t | max_size |
dma_addr_t | dma_handle |
Structure describing one Ethernet buffer. These buffers are passed between the NIC driver and the TTEthernet core. The core passes them in an encapulated form further to the applications.
Definition at line 87 of file tte_eth_driver.h.
union { ... } |
eth_bg_frame_t* eth_buffer_t::bg_frame |
Structured access to the frame items
Definition at line 90 of file tte_eth_driver.h.
eth_ct_frame_t* eth_buffer_t::ct_frame |
Structured access to the frame items
Definition at line 91 of file tte_eth_driver.h.
dma_addr_t eth_buffer_t::dma_handle |
For internal use by the driver (bus address).
Definition at line 95 of file tte_eth_driver.h.
uint16_t eth_buffer_t::max_size |
Maximum size of the data
Definition at line 94 of file tte_eth_driver.h.
uint8_t* eth_buffer_t::raw |
Start of the payload (including the Ethernet header)
Definition at line 89 of file tte_eth_driver.h.
uint16_t eth_buffer_t::size |
Payload + Ethernet header length in bytes
Definition at line 93 of file tte_eth_driver.h.