eth_buffer_t Struct Reference

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>

List of all members.

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

Detailed Description

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.


Member Data Documentation

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.

For internal use by the driver (bus address).

Definition at line 95 of file tte_eth_driver.h.

Maximum size of the data

Definition at line 94 of file tte_eth_driver.h.

Start of the payload (including the Ethernet header)

Definition at line 89 of file tte_eth_driver.h.

Payload + Ethernet header length in bytes

Definition at line 93 of file tte_eth_driver.h.


The documentation for this struct was generated from the following file:
Generated on Tue Nov 29 14:09:19 2011 for TTEthernet Model for INET Framework by  doxygen 1.6.3