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 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 |
| #define ETH_FRAME_LEN 1514 |
| #define ETH_HLEN 14 |
| #define ETH_P_802_3 0x0001 |
| #define ETH_P_ALL 0x0003 |
| #define ETH_P_ARP 0x0806 |
| #define ETH_P_AX25 0x0002 |
| #define ETH_P_ECHO 0x0200 |
| #define ETH_P_IP 0x0800 |
| #define ETH_P_IPX 0x8137 |
| #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 |
| #define ETH_P_RARP 0x8035 |
| #define ETH_P_X25 0x0805 |
| #define ETH_ZLEN 60 |
1.4.6-5