Rev 4075 | Rev 4704 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4075 | Rev 4558 | ||
---|---|---|---|
Line 36... | Line 36... | ||
36 | */ |
36 | */ |
37 | 37 | ||
38 | #ifndef __NET_ETHERNET_PROTOCOLS_H__ |
38 | #ifndef __NET_ETHERNET_PROTOCOLS_H__ |
39 | #define __NET_ETHERNET_PROTOCOLS_H__ |
39 | #define __NET_ETHERNET_PROTOCOLS_H__ |
40 | 40 | ||
- | 41 | #include <sys/types.h> |
|
- | 42 | ||
- | 43 | typedef uint16_t eth_type_t; |
|
- | 44 | ||
41 | /** Ethernet minimal protocol number. |
45 | /** Ethernet minimal protocol number. |
42 | * According to the IEEE 802.3 specification. |
46 | * According to the IEEE 802.3 specification. |
43 | */ |
47 | */ |
44 | #define ETH_MIN_PROTO 0x0600 /*1536*/ |
48 | #define ETH_MIN_PROTO 0x0600 /*1536*/ |
45 | 49 |