if_ether.h File Reference

Go to the source code of this file.

Data Structures

struct  ethhdr
 This is an Ethernet frame header. More...
struct  enet_statistics
 Ethernet statistics collection data. More...

Defines

#define ETH_ALEN   6
 Octets in one ethernet addr.
#define ETH_HLEN   14
 Total octets in header.
#define ETH_ZLEN   60
 Min. octets in frame sans FCS.
#define ETH_DATA_LEN   1500
 Max. octets in payload.
#define ETH_FRAME_LEN   1514
 Max. octets in frame sans FCS.
#define ETH_P_LOOP   0x0060
 These are the defined Ethernet Protocol ID's. Ethernet Loopback packet.
#define ETH_P_ECHO   0x0200
 Ethernet Echo packet.
#define ETH_P_PUP   0x0400
 Xerox PUP packet.
#define ETH_P_IP   0x0800
 Internet Protocol packet.
#define ETH_P_ARP   0x0806
 Address Resolution packet.
#define ETH_P_RARP   0x8035
 Reverse Addr Res packet.
#define ETH_P_X25   0x0805
 CCITT X.25.
#define ETH_P_IPX   0x8137
 IPX over DIX.
#define ETH_P_802_3   0x0001
 Dummy type for 802.3 frames.
#define ETH_P_AX25   0x0002
 Dummy protocol id for AX.25.
#define ETH_P_ALL   0x0003
 Every packet (be careful!!!).


Define Documentation

#define ETH_ALEN   6

Octets in one ethernet addr.

IEEE 802.3 Ethernet magic constants. The frame sizes omit the preamble

Definition at line 32 of file if_ether.h.

#define ETH_DATA_LEN   1500

Max. octets in payload.

Definition at line 35 of file if_ether.h.

#define ETH_FRAME_LEN   1514

Max. octets in frame sans FCS.

Definition at line 36 of file if_ether.h.

#define ETH_HLEN   14

Total octets in header.

Definition at line 33 of file if_ether.h.

#define ETH_P_802_3   0x0001

Dummy type for 802.3 frames.

Definition at line 48 of file if_ether.h.

#define ETH_P_ALL   0x0003

Every packet (be careful!!!).

Definition at line 50 of file if_ether.h.

#define ETH_P_ARP   0x0806

Address Resolution packet.

Definition at line 44 of file if_ether.h.

#define ETH_P_AX25   0x0002

Dummy protocol id for AX.25.

Definition at line 49 of file if_ether.h.

#define ETH_P_ECHO   0x0200

Ethernet Echo packet.

Definition at line 41 of file if_ether.h.

#define ETH_P_IP   0x0800

Internet Protocol packet.

Definition at line 43 of file if_ether.h.

#define ETH_P_IPX   0x8137

IPX over DIX.

Definition at line 47 of file if_ether.h.

#define ETH_P_LOOP   0x0060

These are the defined Ethernet Protocol ID's. Ethernet Loopback packet.

Definition at line 40 of file if_ether.h.

#define ETH_P_PUP   0x0400

Xerox PUP packet.

Definition at line 42 of file if_ether.h.

#define ETH_P_RARP   0x8035

Reverse Addr Res packet.

Definition at line 45 of file if_ether.h.

#define ETH_P_X25   0x0805

CCITT X.25.

Definition at line 46 of file if_ether.h.

#define ETH_ZLEN   60

Min. octets in frame sans FCS.

Definition at line 34 of file if_ether.h.


Generated on Mon May 1 21:47:01 2006 for KernelAPI by  doxygen 1.4.6-5