eth.h File Reference

Ethernet module. More...

#include <fibril_synch.h>
#include <ipc/services.h>
#include <net/device.h>
#include <adt/measured_strings.h>

Go to the source code of this file.

Data Structures

struct  eth_device
 Ethernet device specific data. More...
struct  eth_globals
 Ethernet global data. 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...
struct  eth_ieee_lsap
 Ethernet header Link Service Access Point extension. More...
struct  eth_preamble
 Ethernet header preamble. More...
struct  eth_proto
 Ethernet protocol specific data. More...
struct  eth_snap
 Ethernet header SNAP extension. 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 eth_device eth_device_t
 Type definition of the Ethernet device specific data.
typedef uint32_t eth_fcs_t
 Ethernet Frame Check Sequence.
typedef eth_globals eth_globals_t
 Type definition of the Ethernet global data.
typedef eth_header_lsap eth_header_lsap_t
 Type definition of the Ethernet header IEEE 802.3 + 802.2 + SNAP extensions.
typedef eth_header_snap eth_header_snap_t
 Type definition of the Ethernet header IEEE 802.3 + 802.2 + SNAP extensions.
typedef eth_header eth_header_t
 Type definition of the Ethernet header.
typedef eth_ieee_lsap eth_ieee_lsap_t
 Type definition of the Ethernet header LSAP extension.
typedef eth_preamble eth_preamble_t
 Type definition of the Ethernet header preamble.
typedef eth_proto eth_proto_t
 Type definition of the Ethernet protocol specific data.
typedef eth_snap eth_snap_t
 Type definition of the Ethernet header SNAP extension.

Functions

 DEVICE_MAP_DECLARE (eth_devices, eth_device_t)
 Ethernet device map.
 INT_MAP_DECLARE (eth_protos, eth_proto_t)
 Ethernet protocol map.


Detailed Description

Ethernet module.

Definition in file eth.h.


Generated on Thu Jun 2 07:45:55 2011 for HelenOS/USB by  doxygen 1.4.7