Main Page   Modules   Alphabetical List   Data Structures   File List   Data Fields   Globals   Related Pages  

ethernet Struct Reference
[Ethernet Layer]

An ethernet packet structure. More...

#include <eth.h>


Data Fields

uint8_t dst [ETH_ADDR_LEN]
 Destination MAC address.

uint8_t src [ETH_ADDR_LEN]
 Source MAC address.

uint16_t type
 The packet type.

uint8_t data [1]
 The packet content.


Detailed Description

An ethernet packet structure.

Definition at line 62 of file eth.h.


Field Documentation

uint8_t ethernet::data[1]
 

The packet content.

Definition at line 71 of file eth.h.

uint8_t ethernet::dst[ETH_ADDR_LEN]
 

Destination MAC address.

Definition at line 65 of file eth.h.

uint8_t ethernet::src[ETH_ADDR_LEN]
 

Source MAC address.

Definition at line 67 of file eth.h.

uint16_t ethernet::type
 

The packet type.

Definition at line 69 of file eth.h.


The documentation for this struct was generated from the following file:
Generated on Fri Feb 20 15:32:21 2004 for Minirighi by doxygen1.2.18