Rev 4558 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 4558 | Rev 4704 | ||
|---|---|---|---|
| Line 38... | Line 38... | ||
| 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> |
41 | #include <sys/types.h> |
| 42 | 42 | ||
| - | 43 | /** Ethernet protocol type definition. |
|
| - | 44 | */ |
|
| 43 | typedef uint16_t eth_type_t; |
45 | typedef uint16_t eth_type_t; |
| 44 | 46 | ||
| - | 47 | /** @name Ethernet protocols definitions |
|
| - | 48 | */ |
|
| - | 49 | /*@{*/ |
|
| - | 50 | ||
| 45 | /** Ethernet minimal protocol number. |
51 | /** Ethernet minimal protocol number. |
| 46 | * According to the IEEE 802.3 specification. |
52 | * According to the IEEE 802.3 specification. |
| 47 | */ |
53 | */ |
| 48 | #define ETH_MIN_PROTO 0x0600 /*1536*/ |
54 | #define ETH_MIN_PROTO 0x0600 /*1536*/ |
| 49 | 55 | ||
| Line 997... | Line 1003... | ||
| 997 | 1003 | ||
| 998 | /** ISC Bunker Ramo ethernet protocol type. |
1004 | /** ISC Bunker Ramo ethernet protocol type. |
| 999 | */ |
1005 | */ |
| 1000 | #define ETH_P_ISC_Bunker_Ramo_MAX 0xFF0F |
1006 | #define ETH_P_ISC_Bunker_Ramo_MAX 0xFF0F |
| 1001 | 1007 | ||
| - | 1008 | /*@}*/ |
|
| - | 1009 | ||
| 1002 | #endif |
1010 | #endif |
| 1003 | 1011 | ||
| 1004 | /** @} |
1012 | /** @} |
| 1005 | */ |
1013 | */ |