eth_header.h File Reference

Ethernet protocol header definitions. More...

#include <sys/types.h>
Include dependency graph for eth_header.h:
This graph shows which files directly or indirectly include this file:

Data Structures

struct  eth_ieee_lsap
 Ethernet header Link Service Access Point extension. More...
struct  eth_snap
 Ethernet header SNAP extension. More...
struct  eth_preamble
 Ethernet header preamble. More...
struct  eth_header
 Ethernet header. More...
struct  eth_header_lsap
 Ethernet header IEEE 802.3 + 802.2 extension. More...
struct  eth_header_snap
 Ethernet header IEEE 802.3 + 802.2 + SNAP extensions. More...

Defines

#define ETH_ADDR   6
 Ethernet address length.
#define ETH_PREAMBLE   0x55
 Ethernet header preamble value.
#define ETH_SFD   0xD5
 Ethernet header start of frame value.
#define IEEE_8023_2_UI   0x03
 IEEE 802.2 unordered information control field.

Typedefs

typedef struct eth_header_snap eth_header_snap_t
 Type definition of the Ethernet header IEEE 802.3 + 802.2 + SNAP extensions.
typedef eth_header_snap_teth_header_snap_ref
 Type definition of the Ethernet header IEEE 802.3 + 802.2 + SNAP extensions pointer.
typedef struct eth_header_lsap eth_header_lsap_t
 Type definition of the Ethernet header IEEE 802.3 + 802.2 + SNAP extensions.
typedef eth_header_lsap_teth_header_lsap_ref
 Type definition of the Ethernet header IEEE 802.3 + 802.2 extension pointer.
typedef struct eth_ieee_lsap eth_ieee_lsap_t
 Type definition of the Ethernet header LSAP extension.
typedef eth_ieee_lsap_teth_ieee_lsap_ref
 Type definition of the Ethernet header LSAP extension pointer.
typedef struct eth_snap eth_snap_t
 Type definition of the Ethernet header SNAP extension.
typedef eth_snap_teth_snap_ref
 Type definition of the Ethernet header SNAP extension pointer.
typedef struct eth_preamble eth_preamble_t
 Type definition of the Ethernet header preamble.
typedef eth_preamble_teth_preamble_ref
 Type definition of the Ethernet header preamble pointer.
typedef struct eth_header eth_header_t
 Type definition of the Ethernet header.
typedef eth_header_teth_header_ref
 Type definition of the Ethernet header pointer.
typedef uint32_t eth_fcs_t
 Ethernet Frame Check Sequence.
typedef eth_fcs_teth_fcs_ref
 Ethernet Frame Check Sequence pointer.

Detailed Description

Ethernet protocol header definitions.

Based on the IEEE~802.3-2005


Generated on Thu Mar 11 20:46:12 2010 for Networking and TCP/IP stack for HelenOS system by  doxygen 1.6.1