1
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
/* ... */
/* ... */
#ifndef LWIP_HDR_PROT_IEEE_H
#define LWIP_HDR_PROT_IEEE_H
#ifdef __cplusplus
extern "C" {
#endif
/* ... */
enum lwip_ieee_eth_type {
ETHTYPE_IP = 0x0800U,
ETHTYPE_ARP = 0x0806U,
ETHTYPE_WOL = 0x0842U,
ETHTYPE_RARP = 0x8035U,
ETHTYPE_VLAN = 0x8100U,
ETHTYPE_IPV6 = 0x86DDU,
ETHTYPE_PPPOEDISC = 0x8863U,
ETHTYPE_PPPOE = 0x8864U,
ETHTYPE_JUMBO = 0x8870U,
ETHTYPE_PROFINET = 0x8892U,
ETHTYPE_ETHERCAT = 0x88A4U,
ETHTYPE_LLDP = 0x88CCU,
ETHTYPE_SERCOS = 0x88CDU,
ETHTYPE_MRP = 0x88E3U,
ETHTYPE_PTP = 0x88F7U,
ETHTYPE_QINQ = 0x9100U
...};
#ifdef __cplusplus
}extern "C" { ... }
#endif
/* ... */
#endif