Rev 4243 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4243 | Rev 4350 | ||
---|---|---|---|
Line 38... | Line 38... | ||
38 | #ifndef __NET_ETH_HEADER_H__ |
38 | #ifndef __NET_ETH_HEADER_H__ |
39 | #define __NET_ETH_HEADER_H__ |
39 | #define __NET_ETH_HEADER_H__ |
40 | 40 | ||
41 | #include <sys/types.h> |
41 | #include <sys/types.h> |
42 | 42 | ||
- | 43 | /** Ethernet address length. |
|
- | 44 | */ |
|
43 | #define ETH_ADDR 6 |
45 | #define ETH_ADDR 6 |
44 | 46 | ||
- | 47 | /** Ethernet header preamble value. |
|
- | 48 | */ |
|
45 | #define ETH_PREAMBLE 0x55 |
49 | #define ETH_PREAMBLE 0x55 |
46 | 50 | ||
- | 51 | /** Ethernet header start of frame value. |
|
- | 52 | */ |
|
47 | #define ETH_SFD 0xD5 |
53 | #define ETH_SFD 0xD5 |
48 | 54 | ||
49 | /** Type definition of the Ethernet header with all the extensions. |
55 | /** Type definition of the Ethernet header with all the extensions. |
50 | * @see eth_header_ex |
56 | * @see eth_header_ex |
51 | */ |
57 | */ |