32,7 → 32,7 |
|
/** @file |
* Ethernet protocol header definitions. |
* Names according to the linux src/include/linux/ip.h header file. |
* Based on the IEEE~802.3-2005 |
*/ |
|
#ifndef __NET_ETH_HEADER_H__ |
124,7 → 124,7 |
struct eth_header_snap{ |
/** Protocol identifier or organization code. |
*/ |
uint8_t proto[ 3 ]; |
uint8_t protocol[ 3 ]; |
/** Ethernet protocol identifier in the network byte order (big endian). |
* @see ethernet_protocols.h |
*/ |
150,10 → 150,10 |
struct eth_header{ |
/** Destination host Ethernet address (MAC address). |
*/ |
uint8_t dest[ ETH_ADDR ]; |
uint8_t destination_address[ ETH_ADDR ]; |
/** Source host Ethernet address (MAC address). |
*/ |
uint8_t src[ ETH_ADDR ]; |
uint8_t source_address[ ETH_ADDR ]; |
/** Ethernet protocol identifier in the network byte order (big endian). |
* @see ethernet_protocols.h |
*/ |