ethhdr Struct Reference

An Ethernet link-layer header. More...

#include <if_ether.h>


Data Fields

uint8_t h_dest [ETH_ALEN]
 Destination MAC address.
uint8_t h_source [ETH_ALEN]
 Source MAC address.
uint16_t h_protocol
 Protocol ID.


Detailed Description

An Ethernet link-layer header.

Definition at line 27 of file if_ether.h.


Field Documentation

Destination MAC address.

Definition at line 29 of file if_ether.h.

Referenced by eth_pull(), eth_push(), gdbudp_recv(), gdbudp_send(), and legacy_transmit().

Source MAC address.

Definition at line 31 of file if_ether.h.

Referenced by eth_pull(), eth_push(), gdbudp_recv(), and gdbudp_send().

Protocol ID.

Definition at line 33 of file if_ether.h.

Referenced by eth_pull(), eth_push(), gdbudp_recv(), gdbudp_send(), and legacy_transmit().


The documentation for this struct was generated from the following file:

Generated on Tue Apr 6 20:02:04 2010 for gPXE by  doxygen 1.5.7.1