Subversion Repositories HelenOS

Rev

Rev 4558 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4558 Rev 4704
1
/*
1
/*
2
 * Copyright (c) 2009 Lukas Mejdrech
2
 * Copyright (c) 2009 Lukas Mejdrech
3
 * All rights reserved.
3
 * All rights reserved.
4
 *
4
 *
5
 * Redistribution and use in source and binary forms, with or without
5
 * Redistribution and use in source and binary forms, with or without
6
 * modification, are permitted provided that the following conditions
6
 * modification, are permitted provided that the following conditions
7
 * are met:
7
 * are met:
8
 *
8
 *
9
 * - Redistributions of source code must retain the above copyright
9
 * - Redistributions of source code must retain the above copyright
10
 *   notice, this list of conditions and the following disclaimer.
10
 *   notice, this list of conditions and the following disclaimer.
11
 * - Redistributions in binary form must reproduce the above copyright
11
 * - Redistributions in binary form must reproduce the above copyright
12
 *   notice, this list of conditions and the following disclaimer in the
12
 *   notice, this list of conditions and the following disclaimer in the
13
 *   documentation and/or other materials provided with the distribution.
13
 *   documentation and/or other materials provided with the distribution.
14
 * - The name of the author may not be used to endorse or promote products
14
 * - The name of the author may not be used to endorse or promote products
15
 *   derived from this software without specific prior written permission.
15
 *   derived from this software without specific prior written permission.
16
 *
16
 *
17
 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
17
 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
18
 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
18
 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
19
 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
19
 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20
 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
20
 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21
 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
21
 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22
 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22
 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
 
28
 
29
/** @addtogroup eth
29
/** @addtogroup eth
30
 *  @{
30
 *  @{
31
 */
31
 */
32
 
32
 
33
/** @file
33
/** @file
34
 *  Ethernet protocol numbers according to the on-line IANA - Ethernet numbers - <http://www.iana.org/assignments/ethernet-numbers>, cited January 17 2009.
34
 *  Ethernet protocol numbers according to the on-line IANA - Ethernet numbers - <http://www.iana.org/assignments/ethernet-numbers>, cited January 17 2009.
35
 *  Names according to the linux src/include/linux/if_ether.h header file.
35
 *  Names according to the linux src/include/linux/if_ether.h header file.
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>
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
 
50
/** Ethernet loopback packet protocol type.
56
/** Ethernet loopback packet protocol type.
51
 */
57
 */
52
#define ETH_P_LOOP      0x0060
58
#define ETH_P_LOOP      0x0060
53
 
59
 
54
/** XEROX PUP (see 0A00) ethernet protocol type.
60
/** XEROX PUP (see 0A00) ethernet protocol type.
55
 */
61
 */
56
#define ETH_P_PUP       0x0200
62
#define ETH_P_PUP       0x0200
57
 
63
 
58
/** PUP Addr Trans (see 0A01) ethernet protocol type.
64
/** PUP Addr Trans (see 0A01) ethernet protocol type.
59
 */
65
 */
60
#define ETH_P_PUPAT     0x0201
66
#define ETH_P_PUPAT     0x0201
61
 
67
 
62
/** Nixdorf ethernet protocol type.
68
/** Nixdorf ethernet protocol type.
63
 */
69
 */
64
#define ETH_P_Nixdorf       0x0400
70
#define ETH_P_Nixdorf       0x0400
65
 
71
 
66
/** XEROX NS IDP ethernet protocol type.
72
/** XEROX NS IDP ethernet protocol type.
67
 */
73
 */
68
#define ETH_P_XEROX_NS_IDP      0x0600
74
#define ETH_P_XEROX_NS_IDP      0x0600
69
 
75
 
70
/** DLOG ethernet protocol type.
76
/** DLOG ethernet protocol type.
71
 */
77
 */
72
#define ETH_P_DLOG      0x0660
78
#define ETH_P_DLOG      0x0660
73
 
79
 
74
/** DLOG ethernet protocol type.
80
/** DLOG ethernet protocol type.
75
 */
81
 */
76
#define ETH_P_DLOG2     0x0661
82
#define ETH_P_DLOG2     0x0661
77
 
83
 
78
/** Internet IP (IPv4) ethernet protocol type.
84
/** Internet IP (IPv4) ethernet protocol type.
79
 */
85
 */
80
#define ETH_P_IP        0x0800
86
#define ETH_P_IP        0x0800
81
 
87
 
82
/** X.75 Internet ethernet protocol type.
88
/** X.75 Internet ethernet protocol type.
83
 */
89
 */
84
#define ETH_P_X_75      0x0801
90
#define ETH_P_X_75      0x0801
85
 
91
 
86
/** NBS Internet ethernet protocol type.
92
/** NBS Internet ethernet protocol type.
87
 */
93
 */
88
#define ETH_P_NBS       0x0802
94
#define ETH_P_NBS       0x0802
89
 
95
 
90
/** ECMA Internet ethernet protocol type.
96
/** ECMA Internet ethernet protocol type.
91
 */
97
 */
92
#define ETH_P_ECMA      0x0803
98
#define ETH_P_ECMA      0x0803
93
 
99
 
94
/** Chaosnet ethernet protocol type.
100
/** Chaosnet ethernet protocol type.
95
 */
101
 */
96
#define ETH_P_Chaosnet      0x0804
102
#define ETH_P_Chaosnet      0x0804
97
 
103
 
98
/** X.25 Level 3 ethernet protocol type.
104
/** X.25 Level 3 ethernet protocol type.
99
 */
105
 */
100
#define ETH_P_X25       0x0805
106
#define ETH_P_X25       0x0805
101
 
107
 
102
/** ARP ethernet protocol type.
108
/** ARP ethernet protocol type.
103
 */
109
 */
104
#define ETH_P_ARP       0x0806
110
#define ETH_P_ARP       0x0806
105
 
111
 
106
/** XNS Compatability ethernet protocol type.
112
/** XNS Compatability ethernet protocol type.
107
 */
113
 */
108
#define ETH_P_XNS_Compatability     0x0807
114
#define ETH_P_XNS_Compatability     0x0807
109
 
115
 
110
/** Frame Relay ARP ethernet protocol type.
116
/** Frame Relay ARP ethernet protocol type.
111
 */
117
 */
112
#define ETH_P_Frame_Relay_ARP       0x0808
118
#define ETH_P_Frame_Relay_ARP       0x0808
113
 
119
 
114
/** Symbolics Private ethernet protocol type.
120
/** Symbolics Private ethernet protocol type.
115
 */
121
 */
116
#define ETH_P_Symbolics_Private     0x081C
122
#define ETH_P_Symbolics_Private     0x081C
117
 
123
 
118
/** Xyplex ethernet protocol type.
124
/** Xyplex ethernet protocol type.
119
 */
125
 */
120
#define ETH_P_Xyplex_MIN        0x0888
126
#define ETH_P_Xyplex_MIN        0x0888
121
 
127
 
122
/** Xyplex ethernet protocol type.
128
/** Xyplex ethernet protocol type.
123
 */
129
 */
124
#define ETH_P_Xyplex_MAX        0x088A
130
#define ETH_P_Xyplex_MAX        0x088A
125
 
131
 
126
/** Ungermann-Bass net debugr ethernet protocol type.
132
/** Ungermann-Bass net debugr ethernet protocol type.
127
 */
133
 */
128
#define ETH_P_Ungermann_Bass_net_debugr     0x0900
134
#define ETH_P_Ungermann_Bass_net_debugr     0x0900
129
 
135
 
130
/** Xerox IEEE802.3 PUP ethernet protocol type.
136
/** Xerox IEEE802.3 PUP ethernet protocol type.
131
 */
137
 */
132
#define ETH_P_IEEEPUP       0x0A00
138
#define ETH_P_IEEEPUP       0x0A00
133
 
139
 
134
/** PUP Addr Trans ethernet protocol type.
140
/** PUP Addr Trans ethernet protocol type.
135
 */
141
 */
136
#define ETH_P_IEEEPUPAT     0x0A01
142
#define ETH_P_IEEEPUPAT     0x0A01
137
 
143
 
138
/** Banyan VINES ethernet protocol type.
144
/** Banyan VINES ethernet protocol type.
139
 */
145
 */
140
#define ETH_P_Banyan_VINES      0x0BAD
146
#define ETH_P_Banyan_VINES      0x0BAD
141
 
147
 
142
/** VINES Loopback ethernet protocol type.
148
/** VINES Loopback ethernet protocol type.
143
 */
149
 */
144
#define ETH_P_VINES_Loopback        0x0BAE
150
#define ETH_P_VINES_Loopback        0x0BAE
145
 
151
 
146
/** VINES Echo ethernet protocol type.
152
/** VINES Echo ethernet protocol type.
147
 */
153
 */
148
#define ETH_P_VINES_Echo        0x0BAF
154
#define ETH_P_VINES_Echo        0x0BAF
149
 
155
 
150
/** Berkeley Trailer nego ethernet protocol type.
156
/** Berkeley Trailer nego ethernet protocol type.
151
 */
157
 */
152
#define ETH_P_Berkeley_Trailer_nego     0x1000
158
#define ETH_P_Berkeley_Trailer_nego     0x1000
153
 
159
 
154
/** Berkeley Trailer encap/IP ethernet protocol type.
160
/** Berkeley Trailer encap/IP ethernet protocol type.
155
 */
161
 */
156
#define ETH_P_Berkeley_Trailer_encapIP_MIN      0x1001
162
#define ETH_P_Berkeley_Trailer_encapIP_MIN      0x1001
157
 
163
 
158
/** Berkeley Trailer encap/IP ethernet protocol type.
164
/** Berkeley Trailer encap/IP ethernet protocol type.
159
 */
165
 */
160
#define ETH_P_Berkeley_Trailer_encapIP_MAX      0x100F
166
#define ETH_P_Berkeley_Trailer_encapIP_MAX      0x100F
161
 
167
 
162
/** Valid Systems ethernet protocol type.
168
/** Valid Systems ethernet protocol type.
163
 */
169
 */
164
#define ETH_P_Valid_Systems     0x1600
170
#define ETH_P_Valid_Systems     0x1600
165
 
171
 
166
/** PCS Basic Block Protocol ethernet protocol type.
172
/** PCS Basic Block Protocol ethernet protocol type.
167
 */
173
 */
168
#define ETH_P_PCS_Basic_Block_Protocol      0x4242
174
#define ETH_P_PCS_Basic_Block_Protocol      0x4242
169
 
175
 
170
/** BBN Simnet ethernet protocol type.
176
/** BBN Simnet ethernet protocol type.
171
 */
177
 */
172
#define ETH_P_BBN_Simnet        0x5208
178
#define ETH_P_BBN_Simnet        0x5208
173
 
179
 
174
/** DEC Unassigned (Exp.) ethernet protocol type.
180
/** DEC Unassigned (Exp.) ethernet protocol type.
175
 */
181
 */
176
#define ETH_P_DEC       0x6000
182
#define ETH_P_DEC       0x6000
177
 
183
 
178
/** DEC MOP Dump/Load ethernet protocol type.
184
/** DEC MOP Dump/Load ethernet protocol type.
179
 */
185
 */
180
#define ETH_P_DNA_DL        0x6001
186
#define ETH_P_DNA_DL        0x6001
181
 
187
 
182
/** DEC MOP Remote Console ethernet protocol type.
188
/** DEC MOP Remote Console ethernet protocol type.
183
 */
189
 */
184
#define ETH_P_DNA_RC        0x6002
190
#define ETH_P_DNA_RC        0x6002
185
 
191
 
186
/** DEC DECNET Phase IV Route ethernet protocol type.
192
/** DEC DECNET Phase IV Route ethernet protocol type.
187
 */
193
 */
188
#define ETH_P_DNA_RT        0x6003
194
#define ETH_P_DNA_RT        0x6003
189
 
195
 
190
/** DEC LAT ethernet protocol type.
196
/** DEC LAT ethernet protocol type.
191
 */
197
 */
192
#define ETH_P_LAT       0x6004
198
#define ETH_P_LAT       0x6004
193
 
199
 
194
/** DEC Diagnostic Protocol ethernet protocol type.
200
/** DEC Diagnostic Protocol ethernet protocol type.
195
 */
201
 */
196
#define ETH_P_DIAG      0x6005
202
#define ETH_P_DIAG      0x6005
197
 
203
 
198
/** DEC Customer Protocol ethernet protocol type.
204
/** DEC Customer Protocol ethernet protocol type.
199
 */
205
 */
200
#define ETH_P_CUST      0x6006
206
#define ETH_P_CUST      0x6006
201
 
207
 
202
/** DEC LAVC, SCA ethernet protocol type.
208
/** DEC LAVC, SCA ethernet protocol type.
203
 */
209
 */
204
#define ETH_P_SCA       0x6007
210
#define ETH_P_SCA       0x6007
205
 
211
 
206
/** DEC Unassigned ethernet protocol type.
212
/** DEC Unassigned ethernet protocol type.
207
 */
213
 */
208
#define ETH_P_DEC_Unassigned_MIN        0x6008
214
#define ETH_P_DEC_Unassigned_MIN        0x6008
209
 
215
 
210
/** DEC Unassigned ethernet protocol type.
216
/** DEC Unassigned ethernet protocol type.
211
 */
217
 */
212
#define ETH_P_DEC_Unassigned_MAX        0x6009
218
#define ETH_P_DEC_Unassigned_MAX        0x6009
213
 
219
 
214
/** Com Corporation ethernet protocol type.
220
/** Com Corporation ethernet protocol type.
215
 */
221
 */
216
#define ETH_P_Com_Corporation_MIN       0x6010
222
#define ETH_P_Com_Corporation_MIN       0x6010
217
 
223
 
218
/** Com Corporation ethernet protocol type.
224
/** Com Corporation ethernet protocol type.
219
 */
225
 */
220
#define ETH_P_Com_Corporation_MAX       0x6014
226
#define ETH_P_Com_Corporation_MAX       0x6014
221
 
227
 
222
/** Trans Ether Bridging ethernet protocol type.
228
/** Trans Ether Bridging ethernet protocol type.
223
 */
229
 */
224
#define ETH_P_Trans_Ether_Bridging      0x6558
230
#define ETH_P_Trans_Ether_Bridging      0x6558
225
 
231
 
226
/** Raw Frame Relay ethernet protocol type.
232
/** Raw Frame Relay ethernet protocol type.
227
 */
233
 */
228
#define ETH_P_Raw_Frame_Relay       0x6559
234
#define ETH_P_Raw_Frame_Relay       0x6559
229
 
235
 
230
/** Ungermann-Bass download ethernet protocol type.
236
/** Ungermann-Bass download ethernet protocol type.
231
 */
237
 */
232
#define ETH_P_Ungermann_Bass_download       0x7000
238
#define ETH_P_Ungermann_Bass_download       0x7000
233
 
239
 
234
/** Ungermann-Bass dia/loop ethernet protocol type.
240
/** Ungermann-Bass dia/loop ethernet protocol type.
235
 */
241
 */
236
#define ETH_P_Ungermann_Bass_dialoop        0x7002
242
#define ETH_P_Ungermann_Bass_dialoop        0x7002
237
 
243
 
238
/** LRT ethernet protocol type.
244
/** LRT ethernet protocol type.
239
 */
245
 */
240
#define ETH_P_LRT_MIN       0x7020
246
#define ETH_P_LRT_MIN       0x7020
241
 
247
 
242
/** LRT ethernet protocol type.
248
/** LRT ethernet protocol type.
243
 */
249
 */
244
#define ETH_P_LRT_MAX       0x7029
250
#define ETH_P_LRT_MAX       0x7029
245
 
251
 
246
/** Proteon ethernet protocol type.
252
/** Proteon ethernet protocol type.
247
 */
253
 */
248
#define ETH_P_Proteon       0x7030
254
#define ETH_P_Proteon       0x7030
249
 
255
 
250
/** Cabletron ethernet protocol type.
256
/** Cabletron ethernet protocol type.
251
 */
257
 */
252
#define ETH_P_Cabletron     0x7034
258
#define ETH_P_Cabletron     0x7034
253
 
259
 
254
/** Cronus VLN ethernet protocol type.
260
/** Cronus VLN ethernet protocol type.
255
 */
261
 */
256
#define ETH_P_Cronus_VLN        0x8003
262
#define ETH_P_Cronus_VLN        0x8003
257
 
263
 
258
/** Cronus Direct ethernet protocol type.
264
/** Cronus Direct ethernet protocol type.
259
 */
265
 */
260
#define ETH_P_Cronus_Direct     0x8004
266
#define ETH_P_Cronus_Direct     0x8004
261
 
267
 
262
/** HP Probe ethernet protocol type.
268
/** HP Probe ethernet protocol type.
263
 */
269
 */
264
#define ETH_P_HP_Probe      0x8005
270
#define ETH_P_HP_Probe      0x8005
265
 
271
 
266
/** Nestar ethernet protocol type.
272
/** Nestar ethernet protocol type.
267
 */
273
 */
268
#define ETH_P_Nestar        0x8006
274
#define ETH_P_Nestar        0x8006
269
 
275
 
270
/** AT&T ethernet protocol type.
276
/** AT&T ethernet protocol type.
271
 */
277
 */
272
#define ETH_P_AT_T      0x8008
278
#define ETH_P_AT_T      0x8008
273
 
279
 
274
/** Excelan ethernet protocol type.
280
/** Excelan ethernet protocol type.
275
 */
281
 */
276
#define ETH_P_Excelan       0x8010
282
#define ETH_P_Excelan       0x8010
277
 
283
 
278
/** SGI diagnostics ethernet protocol type.
284
/** SGI diagnostics ethernet protocol type.
279
 */
285
 */
280
#define ETH_P_SGI_diagnostics       0x8013
286
#define ETH_P_SGI_diagnostics       0x8013
281
 
287
 
282
/** SGI network games ethernet protocol type.
288
/** SGI network games ethernet protocol type.
283
 */
289
 */
284
#define ETH_P_SGI_network_games     0x8014
290
#define ETH_P_SGI_network_games     0x8014
285
 
291
 
286
/** SGI reserved ethernet protocol type.
292
/** SGI reserved ethernet protocol type.
287
 */
293
 */
288
#define ETH_P_SGI_reserved      0x8015
294
#define ETH_P_SGI_reserved      0x8015
289
 
295
 
290
/** SGI bounce server ethernet protocol type.
296
/** SGI bounce server ethernet protocol type.
291
 */
297
 */
292
#define ETH_P_SGI_bounce_server     0x8016
298
#define ETH_P_SGI_bounce_server     0x8016
293
 
299
 
294
/** Apollo Domain ethernet protocol type.
300
/** Apollo Domain ethernet protocol type.
295
 */
301
 */
296
#define ETH_P_Apollo_Domain     0x8019
302
#define ETH_P_Apollo_Domain     0x8019
297
 
303
 
298
/** Tymshare ethernet protocol type.
304
/** Tymshare ethernet protocol type.
299
 */
305
 */
300
#define ETH_P_Tymshare      0x802E
306
#define ETH_P_Tymshare      0x802E
301
 
307
 
302
/** Tigan, Inc. ethernet protocol type.
308
/** Tigan, Inc. ethernet protocol type.
303
 */
309
 */
304
#define ETH_P_Tigan     0x802F
310
#define ETH_P_Tigan     0x802F
305
 
311
 
306
/** Reverse ARP ethernet protocol type.
312
/** Reverse ARP ethernet protocol type.
307
 */
313
 */
308
#define ETH_P_RARP      0x8035
314
#define ETH_P_RARP      0x8035
309
 
315
 
310
/** Aeonic Systems ethernet protocol type.
316
/** Aeonic Systems ethernet protocol type.
311
 */
317
 */
312
#define ETH_P_Aeonic_Systems        0x8036
318
#define ETH_P_Aeonic_Systems        0x8036
313
 
319
 
314
/** DEC LANBridge ethernet protocol type.
320
/** DEC LANBridge ethernet protocol type.
315
 */
321
 */
316
#define ETH_P_DEC_LANBridge     0x8038
322
#define ETH_P_DEC_LANBridge     0x8038
317
 
323
 
318
/** DEC Unassigned ethernet protocol type.
324
/** DEC Unassigned ethernet protocol type.
319
 */
325
 */
320
#define ETH_P_DEC_Unassigned_MIN1       0x8039
326
#define ETH_P_DEC_Unassigned_MIN1       0x8039
321
 
327
 
322
/** DEC Unassigned ethernet protocol type.
328
/** DEC Unassigned ethernet protocol type.
323
 */
329
 */
324
#define ETH_P_DEC_Unassigned_MAX2       0x803C
330
#define ETH_P_DEC_Unassigned_MAX2       0x803C
325
 
331
 
326
/** DEC Ethernet Encryption ethernet protocol type.
332
/** DEC Ethernet Encryption ethernet protocol type.
327
 */
333
 */
328
#define ETH_P_DEC_Ethernet_Encryption       0x803D
334
#define ETH_P_DEC_Ethernet_Encryption       0x803D
329
 
335
 
330
/** DEC Unassigned ethernet protocol type.
336
/** DEC Unassigned ethernet protocol type.
331
 */
337
 */
332
#define ETH_P_DEC_Unassigned        0x803E
338
#define ETH_P_DEC_Unassigned        0x803E
333
 
339
 
334
/** DEC LAN Traffic Monitor ethernet protocol type.
340
/** DEC LAN Traffic Monitor ethernet protocol type.
335
 */
341
 */
336
#define ETH_P_DEC_LAN_Traffic_Monitor       0x803F
342
#define ETH_P_DEC_LAN_Traffic_Monitor       0x803F
337
 
343
 
338
/** DEC Unassigned ethernet protocol type.
344
/** DEC Unassigned ethernet protocol type.
339
 */
345
 */
340
#define ETH_P_DEC_Unassigned_MIN3       0x8040
346
#define ETH_P_DEC_Unassigned_MIN3       0x8040
341
 
347
 
342
/** DEC Unassigned ethernet protocol type.
348
/** DEC Unassigned ethernet protocol type.
343
 */
349
 */
344
#define ETH_P_DEC_Unassigned_MAX3       0x8042
350
#define ETH_P_DEC_Unassigned_MAX3       0x8042
345
 
351
 
346
/** Planning Research Corp. ethernet protocol type.
352
/** Planning Research Corp. ethernet protocol type.
347
 */
353
 */
348
#define ETH_P_Planning_Research_Corp        0x8044
354
#define ETH_P_Planning_Research_Corp        0x8044
349
 
355
 
350
/** AT&T ethernet protocol type.
356
/** AT&T ethernet protocol type.
351
 */
357
 */
352
#define ETH_P_AT_T2     0x8046
358
#define ETH_P_AT_T2     0x8046
353
 
359
 
354
/** AT&T ethernet protocol type.
360
/** AT&T ethernet protocol type.
355
 */
361
 */
356
#define ETH_P_AT_T3     0x8047
362
#define ETH_P_AT_T3     0x8047
357
 
363
 
358
/** ExperData ethernet protocol type.
364
/** ExperData ethernet protocol type.
359
 */
365
 */
360
#define ETH_P_ExperData     0x8049
366
#define ETH_P_ExperData     0x8049
361
 
367
 
362
/** Stanford V Kernel exp. ethernet protocol type.
368
/** Stanford V Kernel exp. ethernet protocol type.
363
 */
369
 */
364
#define ETH_P_Stanford_V_Kernel_exp     0x805B
370
#define ETH_P_Stanford_V_Kernel_exp     0x805B
365
 
371
 
366
/** Stanford V Kernel prod. ethernet protocol type.
372
/** Stanford V Kernel prod. ethernet protocol type.
367
 */
373
 */
368
#define ETH_P_Stanford_V_Kernel_prod        0x805C
374
#define ETH_P_Stanford_V_Kernel_prod        0x805C
369
 
375
 
370
/** Evans & Sutherland ethernet protocol type.
376
/** Evans & Sutherland ethernet protocol type.
371
 */
377
 */
372
#define ETH_P_Evans_Sutherland      0x805D
378
#define ETH_P_Evans_Sutherland      0x805D
373
 
379
 
374
/** Little Machines ethernet protocol type.
380
/** Little Machines ethernet protocol type.
375
 */
381
 */
376
#define ETH_P_Little_Machines       0x8060
382
#define ETH_P_Little_Machines       0x8060
377
 
383
 
378
/** Counterpoint Computers ethernet protocol type.
384
/** Counterpoint Computers ethernet protocol type.
379
 */
385
 */
380
#define ETH_P_Counterpoint_Computers        0x8062
386
#define ETH_P_Counterpoint_Computers        0x8062
381
 
387
 
382
/** Univ. of Mass. @ Amherst ethernet protocol type.
388
/** Univ. of Mass. @ Amherst ethernet protocol type.
383
 */
389
 */
384
#define ETH_P_Univ_of_Mass      0x8065
390
#define ETH_P_Univ_of_Mass      0x8065
385
 
391
 
386
/** Univ. of Mass. @ Amherst ethernet protocol type.
392
/** Univ. of Mass. @ Amherst ethernet protocol type.
387
 */
393
 */
388
#define ETH_P_Univ_of_Mass2     0x8066
394
#define ETH_P_Univ_of_Mass2     0x8066
389
 
395
 
390
/** Veeco Integrated Auto. ethernet protocol type.
396
/** Veeco Integrated Auto. ethernet protocol type.
391
 */
397
 */
392
#define ETH_P_Veeco_Integrated_Auto     0x8067
398
#define ETH_P_Veeco_Integrated_Auto     0x8067
393
 
399
 
394
/** General Dynamics ethernet protocol type.
400
/** General Dynamics ethernet protocol type.
395
 */
401
 */
396
#define ETH_P_General_Dynamics      0x8068
402
#define ETH_P_General_Dynamics      0x8068
397
 
403
 
398
/** AT&T ethernet protocol type.
404
/** AT&T ethernet protocol type.
399
 */
405
 */
400
#define ETH_P_AT_T4     0x8069
406
#define ETH_P_AT_T4     0x8069
401
 
407
 
402
/** Autophon ethernet protocol type.
408
/** Autophon ethernet protocol type.
403
 */
409
 */
404
#define ETH_P_Autophon      0x806A
410
#define ETH_P_Autophon      0x806A
405
 
411
 
406
/** ComDesign ethernet protocol type.
412
/** ComDesign ethernet protocol type.
407
 */
413
 */
408
#define ETH_P_ComDesign     0x806C
414
#define ETH_P_ComDesign     0x806C
409
 
415
 
410
/** Computgraphic Corp. ethernet protocol type.
416
/** Computgraphic Corp. ethernet protocol type.
411
 */
417
 */
412
#define ETH_P_Computgraphic_Corp        0x806D
418
#define ETH_P_Computgraphic_Corp        0x806D
413
 
419
 
414
/** Landmark Graphics Corp. ethernet protocol type.
420
/** Landmark Graphics Corp. ethernet protocol type.
415
 */
421
 */
416
#define ETH_P_Landmark_Graphics_Corp_MIN        0x806E
422
#define ETH_P_Landmark_Graphics_Corp_MIN        0x806E
417
 
423
 
418
/** Landmark Graphics Corp. ethernet protocol type.
424
/** Landmark Graphics Corp. ethernet protocol type.
419
 */
425
 */
420
#define ETH_P_Landmark_Graphics_Corp_MAX        0x8077
426
#define ETH_P_Landmark_Graphics_Corp_MAX        0x8077
421
 
427
 
422
/** Matra ethernet protocol type.
428
/** Matra ethernet protocol type.
423
 */
429
 */
424
#define ETH_P_Matra     0x807A
430
#define ETH_P_Matra     0x807A
425
 
431
 
426
/** Dansk Data Elektronik ethernet protocol type.
432
/** Dansk Data Elektronik ethernet protocol type.
427
 */
433
 */
428
#define ETH_P_Dansk_Data_Elektronik     0x807B
434
#define ETH_P_Dansk_Data_Elektronik     0x807B
429
 
435
 
430
/** Merit Internodal ethernet protocol type.
436
/** Merit Internodal ethernet protocol type.
431
 */
437
 */
432
#define ETH_P_Merit_Internodal      0x807C
438
#define ETH_P_Merit_Internodal      0x807C
433
 
439
 
434
/** Vitalink Communications ethernet protocol type.
440
/** Vitalink Communications ethernet protocol type.
435
 */
441
 */
436
#define ETH_P_Vitalink_Communications_MIN       0x807D
442
#define ETH_P_Vitalink_Communications_MIN       0x807D
437
 
443
 
438
/** Vitalink Communications ethernet protocol type.
444
/** Vitalink Communications ethernet protocol type.
439
 */
445
 */
440
#define ETH_P_Vitalink_Communications_MAX       0x807F
446
#define ETH_P_Vitalink_Communications_MAX       0x807F
441
 
447
 
442
/** Vitalink TransLAN III ethernet protocol type.
448
/** Vitalink TransLAN III ethernet protocol type.
443
 */
449
 */
444
#define ETH_P_Vitalink_TransLAN_III     0x8080
450
#define ETH_P_Vitalink_TransLAN_III     0x8080
445
 
451
 
446
/** Counterpoint Computers ethernet protocol type.
452
/** Counterpoint Computers ethernet protocol type.
447
 */
453
 */
448
#define ETH_P_Counterpoint_Computers_MIN        0x8081
454
#define ETH_P_Counterpoint_Computers_MIN        0x8081
449
 
455
 
450
/** Counterpoint Computers ethernet protocol type.
456
/** Counterpoint Computers ethernet protocol type.
451
 */
457
 */
452
#define ETH_P_Counterpoint_Computers_MAX        0x8083
458
#define ETH_P_Counterpoint_Computers_MAX        0x8083
453
 
459
 
454
/** Appletalk ethernet protocol type.
460
/** Appletalk ethernet protocol type.
455
 */
461
 */
456
#define ETH_P_ATALK     0x809B
462
#define ETH_P_ATALK     0x809B
457
 
463
 
458
/** Datability ethernet protocol type.
464
/** Datability ethernet protocol type.
459
 */
465
 */
460
#define ETH_P_Datability_MIN        0x809C
466
#define ETH_P_Datability_MIN        0x809C
461
 
467
 
462
/** Datability ethernet protocol type.
468
/** Datability ethernet protocol type.
463
 */
469
 */
464
#define ETH_P_Datability_MAX        0x809E
470
#define ETH_P_Datability_MAX        0x809E
465
 
471
 
466
/** Spider Systems Ltd. ethernet protocol type.
472
/** Spider Systems Ltd. ethernet protocol type.
467
 */
473
 */
468
#define ETH_P_Spider_Systems_Ltd        0x809F
474
#define ETH_P_Spider_Systems_Ltd        0x809F
469
 
475
 
470
/** Nixdorf Computers ethernet protocol type.
476
/** Nixdorf Computers ethernet protocol type.
471
 */
477
 */
472
#define ETH_P_Nixdorf_Computers     0x80A3
478
#define ETH_P_Nixdorf_Computers     0x80A3
473
 
479
 
474
/** Siemens Gammasonics Inc. ethernet protocol type.
480
/** Siemens Gammasonics Inc. ethernet protocol type.
475
 */
481
 */
476
#define ETH_P_Siemens_Gammasonics_Inc_MIN       0x80A4
482
#define ETH_P_Siemens_Gammasonics_Inc_MIN       0x80A4
477
 
483
 
478
/** Siemens Gammasonics Inc. ethernet protocol type.
484
/** Siemens Gammasonics Inc. ethernet protocol type.
479
 */
485
 */
480
#define ETH_P_Siemens_Gammasonics_Inc_MAX       0x80B3
486
#define ETH_P_Siemens_Gammasonics_Inc_MAX       0x80B3
481
 
487
 
482
/** DCA Data Exchange Cluster ethernet protocol type.
488
/** DCA Data Exchange Cluster ethernet protocol type.
483
 */
489
 */
484
#define ETH_P_DCA_Data_Exchange_Cluster_MIN     0x80C0
490
#define ETH_P_DCA_Data_Exchange_Cluster_MIN     0x80C0
485
 
491
 
486
/** DCA Data Exchange Cluster ethernet protocol type.
492
/** DCA Data Exchange Cluster ethernet protocol type.
487
 */
493
 */
488
#define ETH_P_DCA_Data_Exchange_Cluster_MAX     0x80C3
494
#define ETH_P_DCA_Data_Exchange_Cluster_MAX     0x80C3
489
 
495
 
490
/** Banyan Systems ethernet protocol type.
496
/** Banyan Systems ethernet protocol type.
491
 */
497
 */
492
#define ETH_P_Banyan_Systems        0x80C4
498
#define ETH_P_Banyan_Systems        0x80C4
493
 
499
 
494
/** Banyan Systems ethernet protocol type.
500
/** Banyan Systems ethernet protocol type.
495
 */
501
 */
496
#define ETH_P_Banyan_Systems2       0x80C5
502
#define ETH_P_Banyan_Systems2       0x80C5
497
 
503
 
498
/** Pacer Software ethernet protocol type.
504
/** Pacer Software ethernet protocol type.
499
 */
505
 */
500
#define ETH_P_Pacer_Software        0x80C6
506
#define ETH_P_Pacer_Software        0x80C6
501
 
507
 
502
/** Applitek Corporation ethernet protocol type.
508
/** Applitek Corporation ethernet protocol type.
503
 */
509
 */
504
#define ETH_P_Applitek_Corporation      0x80C7
510
#define ETH_P_Applitek_Corporation      0x80C7
505
 
511
 
506
/** Intergraph Corporation ethernet protocol type.
512
/** Intergraph Corporation ethernet protocol type.
507
 */
513
 */
508
#define ETH_P_Intergraph_Corporation_MIN        0x80C8
514
#define ETH_P_Intergraph_Corporation_MIN        0x80C8
509
 
515
 
510
/** Intergraph Corporation ethernet protocol type.
516
/** Intergraph Corporation ethernet protocol type.
511
 */
517
 */
512
#define ETH_P_Intergraph_Corporation_MAX        0x80CC
518
#define ETH_P_Intergraph_Corporation_MAX        0x80CC
513
 
519
 
514
/** Harris Corporation ethernet protocol type.
520
/** Harris Corporation ethernet protocol type.
515
 */
521
 */
516
#define ETH_P_Harris_Corporation_MIN        0x80CD
522
#define ETH_P_Harris_Corporation_MIN        0x80CD
517
 
523
 
518
/** Harris Corporation ethernet protocol type.
524
/** Harris Corporation ethernet protocol type.
519
 */
525
 */
520
#define ETH_P_Harris_Corporation_MAX        0x80CE
526
#define ETH_P_Harris_Corporation_MAX        0x80CE
521
 
527
 
522
/** Taylor Instrument ethernet protocol type.
528
/** Taylor Instrument ethernet protocol type.
523
 */
529
 */
524
#define ETH_P_Taylor_Instrument_MIN     0x80CF
530
#define ETH_P_Taylor_Instrument_MIN     0x80CF
525
 
531
 
526
/** Taylor Instrument ethernet protocol type.
532
/** Taylor Instrument ethernet protocol type.
527
 */
533
 */
528
#define ETH_P_Taylor_Instrument_MAX     0x80D2
534
#define ETH_P_Taylor_Instrument_MAX     0x80D2
529
 
535
 
530
/** Rosemount Corporation ethernet protocol type.
536
/** Rosemount Corporation ethernet protocol type.
531
 */
537
 */
532
#define ETH_P_Rosemount_Corporation_MIN     0x80D3
538
#define ETH_P_Rosemount_Corporation_MIN     0x80D3
533
 
539
 
534
/** Rosemount Corporation ethernet protocol type.
540
/** Rosemount Corporation ethernet protocol type.
535
 */
541
 */
536
#define ETH_P_Rosemount_Corporation_MAX     0x80D4
542
#define ETH_P_Rosemount_Corporation_MAX     0x80D4
537
 
543
 
538
/** IBM SNA Service on Ether ethernet protocol type.
544
/** IBM SNA Service on Ether ethernet protocol type.
539
 */
545
 */
540
#define ETH_P_IBM_SNA_Service_on_Ether      0x80D5
546
#define ETH_P_IBM_SNA_Service_on_Ether      0x80D5
541
 
547
 
542
/** Varian Associates ethernet protocol type.
548
/** Varian Associates ethernet protocol type.
543
 */
549
 */
544
#define ETH_P_Varian_Associates     0x80DD
550
#define ETH_P_Varian_Associates     0x80DD
545
 
551
 
546
/** Integrated Solutions TRFS ethernet protocol type.
552
/** Integrated Solutions TRFS ethernet protocol type.
547
 */
553
 */
548
#define ETH_P_Integrated_Solutions_TRFS_MIN     0x80DE
554
#define ETH_P_Integrated_Solutions_TRFS_MIN     0x80DE
549
 
555
 
550
/** Integrated Solutions TRFS ethernet protocol type.
556
/** Integrated Solutions TRFS ethernet protocol type.
551
 */
557
 */
552
#define ETH_P_Integrated_Solutions_TRFS_MAX     0x80DF
558
#define ETH_P_Integrated_Solutions_TRFS_MAX     0x80DF
553
 
559
 
554
/** Allen-Bradley ethernet protocol type.
560
/** Allen-Bradley ethernet protocol type.
555
 */
561
 */
556
#define ETH_P_Allen_Bradley_MIN     0x80E0
562
#define ETH_P_Allen_Bradley_MIN     0x80E0
557
 
563
 
558
/** Allen-Bradley ethernet protocol type.
564
/** Allen-Bradley ethernet protocol type.
559
 */
565
 */
560
#define ETH_P_Allen_Bradley_MAX     0x80E3
566
#define ETH_P_Allen_Bradley_MAX     0x80E3
561
 
567
 
562
/** Datability ethernet protocol type.
568
/** Datability ethernet protocol type.
563
 */
569
 */
564
#define ETH_P_Datability_MIN2       0x80E4
570
#define ETH_P_Datability_MIN2       0x80E4
565
 
571
 
566
/** Datability ethernet protocol type.
572
/** Datability ethernet protocol type.
567
 */
573
 */
568
#define ETH_P_Datability_MAX2       0x80F0
574
#define ETH_P_Datability_MAX2       0x80F0
569
 
575
 
570
/** Retix ethernet protocol type.
576
/** Retix ethernet protocol type.
571
 */
577
 */
572
#define ETH_P_Retix     0x80F2
578
#define ETH_P_Retix     0x80F2
573
 
579
 
574
/** AppleTalk AARP (Kinetics) ethernet protocol type.
580
/** AppleTalk AARP (Kinetics) ethernet protocol type.
575
 */
581
 */
576
#define ETH_P_AARP      0x80F3
582
#define ETH_P_AARP      0x80F3
577
 
583
 
578
/** Kinetics ethernet protocol type.
584
/** Kinetics ethernet protocol type.
579
 */
585
 */
580
#define ETH_P_Kinetics_MIN      0x80F4
586
#define ETH_P_Kinetics_MIN      0x80F4
581
 
587
 
582
/** Kinetics ethernet protocol type.
588
/** Kinetics ethernet protocol type.
583
 */
589
 */
584
#define ETH_P_Kinetics_MAX      0x80F5
590
#define ETH_P_Kinetics_MAX      0x80F5
585
 
591
 
586
/** Apollo Computer ethernet protocol type.
592
/** Apollo Computer ethernet protocol type.
587
 */
593
 */
588
#define ETH_P_Apollo_Computer       0x80F7
594
#define ETH_P_Apollo_Computer       0x80F7
589
 
595
 
590
/** Wellfleet Communications ethernet protocol type.
596
/** Wellfleet Communications ethernet protocol type.
591
 */
597
 */
592
#define ETH_P_Wellfleet_Communications      0x80FF
598
#define ETH_P_Wellfleet_Communications      0x80FF
593
 
599
 
594
/** IEEE 802.1Q VLAN-tagged frames (initially Wellfleet) ethernet protocol type.
600
/** IEEE 802.1Q VLAN-tagged frames (initially Wellfleet) ethernet protocol type.
595
 */
601
 */
596
#define ETH_P_8021Q     0x8100
602
#define ETH_P_8021Q     0x8100
597
 
603
 
598
/** Wellfleet Communications ethernet protocol type.
604
/** Wellfleet Communications ethernet protocol type.
599
 */
605
 */
600
#define ETH_P_Wellfleet_Communications_MIN      0x8101
606
#define ETH_P_Wellfleet_Communications_MIN      0x8101
601
 
607
 
602
/** Wellfleet Communications ethernet protocol type.
608
/** Wellfleet Communications ethernet protocol type.
603
 */
609
 */
604
#define ETH_P_Wellfleet_Communications_MAX      0x8103
610
#define ETH_P_Wellfleet_Communications_MAX      0x8103
605
 
611
 
606
/** Symbolics Private ethernet protocol type.
612
/** Symbolics Private ethernet protocol type.
607
 */
613
 */
608
#define ETH_P_Symbolics_Private_MIN     0x8107
614
#define ETH_P_Symbolics_Private_MIN     0x8107
609
 
615
 
610
/** Symbolics Private ethernet protocol type.
616
/** Symbolics Private ethernet protocol type.
611
 */
617
 */
612
#define ETH_P_Symbolics_Private_MAX     0x8109
618
#define ETH_P_Symbolics_Private_MAX     0x8109
613
 
619
 
614
/** Hayes Microcomputers ethernet protocol type.
620
/** Hayes Microcomputers ethernet protocol type.
615
 */
621
 */
616
#define ETH_P_Hayes_Microcomputers      0x8130
622
#define ETH_P_Hayes_Microcomputers      0x8130
617
 
623
 
618
/** VG Laboratory Systems ethernet protocol type.
624
/** VG Laboratory Systems ethernet protocol type.
619
 */
625
 */
620
#define ETH_P_VG_Laboratory_Systems     0x8131
626
#define ETH_P_VG_Laboratory_Systems     0x8131
621
 
627
 
622
/** Bridge Communications ethernet protocol type.
628
/** Bridge Communications ethernet protocol type.
623
 */
629
 */
624
#define ETH_P_Bridge_Communications_MIN     0x8132
630
#define ETH_P_Bridge_Communications_MIN     0x8132
625
 
631
 
626
/** Bridge Communications ethernet protocol type.
632
/** Bridge Communications ethernet protocol type.
627
 */
633
 */
628
#define ETH_P_Bridge_Communications_MAX     0x8136
634
#define ETH_P_Bridge_Communications_MAX     0x8136
629
 
635
 
630
/** Novell, Inc. ethernet protocol type.
636
/** Novell, Inc. ethernet protocol type.
631
 */
637
 */
632
#define ETH_P_Novell_Inc_MIN        0x8137
638
#define ETH_P_Novell_Inc_MIN        0x8137
633
 
639
 
634
/** Novell, Inc. ethernet protocol type.
640
/** Novell, Inc. ethernet protocol type.
635
 */
641
 */
636
#define ETH_P_Novell_Inc_MAX        0x8138
642
#define ETH_P_Novell_Inc_MAX        0x8138
637
 
643
 
638
/** KTI ethernet protocol type.
644
/** KTI ethernet protocol type.
639
 */
645
 */
640
#define ETH_P_KTI_MIN       0x8139
646
#define ETH_P_KTI_MIN       0x8139
641
 
647
 
642
/** KTI ethernet protocol type.
648
/** KTI ethernet protocol type.
643
 */
649
 */
644
#define ETH_P_KTI_MAX       0x813D
650
#define ETH_P_KTI_MAX       0x813D
645
 
651
 
646
/** Logicraft ethernet protocol type.
652
/** Logicraft ethernet protocol type.
647
 */
653
 */
648
#define ETH_P_Logicraft     0x8148
654
#define ETH_P_Logicraft     0x8148
649
 
655
 
650
/** Network Computing Devices ethernet protocol type.
656
/** Network Computing Devices ethernet protocol type.
651
 */
657
 */
652
#define ETH_P_Network_Computing_Devices     0x8149
658
#define ETH_P_Network_Computing_Devices     0x8149
653
 
659
 
654
/** Alpha Micro ethernet protocol type.
660
/** Alpha Micro ethernet protocol type.
655
 */
661
 */
656
#define ETH_P_Alpha_Micro       0x814A
662
#define ETH_P_Alpha_Micro       0x814A
657
 
663
 
658
/** SNMP ethernet protocol type.
664
/** SNMP ethernet protocol type.
659
 */
665
 */
660
#define ETH_P_SNMP      0x814C
666
#define ETH_P_SNMP      0x814C
661
 
667
 
662
/** BIIN ethernet protocol type.
668
/** BIIN ethernet protocol type.
663
 */
669
 */
664
#define ETH_P_BIIN      0x814D
670
#define ETH_P_BIIN      0x814D
665
 
671
 
666
/** BIIN ethernet protocol type.
672
/** BIIN ethernet protocol type.
667
 */
673
 */
668
#define ETH_P_BIIN2     0x814E
674
#define ETH_P_BIIN2     0x814E
669
 
675
 
670
/** Technically Elite Concept ethernet protocol type.
676
/** Technically Elite Concept ethernet protocol type.
671
 */
677
 */
672
#define ETH_P_Technically_Elite_Concept     0x814F
678
#define ETH_P_Technically_Elite_Concept     0x814F
673
 
679
 
674
/** Rational Corp ethernet protocol type.
680
/** Rational Corp ethernet protocol type.
675
 */
681
 */
676
#define ETH_P_Rational_Corp     0x8150
682
#define ETH_P_Rational_Corp     0x8150
677
 
683
 
678
/** Qualcomm ethernet protocol type.
684
/** Qualcomm ethernet protocol type.
679
 */
685
 */
680
#define ETH_P_Qualcomm_MIN      0x8151
686
#define ETH_P_Qualcomm_MIN      0x8151
681
 
687
 
682
/** Qualcomm ethernet protocol type.
688
/** Qualcomm ethernet protocol type.
683
 */
689
 */
684
#define ETH_P_Qualcomm_MAX      0x8153
690
#define ETH_P_Qualcomm_MAX      0x8153
685
 
691
 
686
/** Computer Protocol Pty Ltd ethernet protocol type.
692
/** Computer Protocol Pty Ltd ethernet protocol type.
687
 */
693
 */
688
#define ETH_P_Computer_Protocol_Pty_Ltd_MIN     0x815C
694
#define ETH_P_Computer_Protocol_Pty_Ltd_MIN     0x815C
689
 
695
 
690
/** Computer Protocol Pty Ltd ethernet protocol type.
696
/** Computer Protocol Pty Ltd ethernet protocol type.
691
 */
697
 */
692
#define ETH_P_Computer_Protocol_Pty_Ltd_MAX     0x815E
698
#define ETH_P_Computer_Protocol_Pty_Ltd_MAX     0x815E
693
 
699
 
694
/** Charles River Data System ethernet protocol type.
700
/** Charles River Data System ethernet protocol type.
695
 */
701
 */
696
#define ETH_P_Charles_River_Data_System_MIN     0x8164
702
#define ETH_P_Charles_River_Data_System_MIN     0x8164
697
 
703
 
698
/** Charles River Data System ethernet protocol type.
704
/** Charles River Data System ethernet protocol type.
699
 */
705
 */
700
#define ETH_P_Charles_River_Data_System_MAX     0x8166
706
#define ETH_P_Charles_River_Data_System_MAX     0x8166
701
 
707
 
702
/** XTP ethernet protocol type.
708
/** XTP ethernet protocol type.
703
 */
709
 */
704
#define ETH_P_XTP       0x817D
710
#define ETH_P_XTP       0x817D
705
 
711
 
706
/** SGI/Time Warner prop. ethernet protocol type.
712
/** SGI/Time Warner prop. ethernet protocol type.
707
 */
713
 */
708
#define ETH_P_SGITime_Warner_prop       0x817E
714
#define ETH_P_SGITime_Warner_prop       0x817E
709
 
715
 
710
/** HIPPI-FP encapsulation ethernet protocol type.
716
/** HIPPI-FP encapsulation ethernet protocol type.
711
 */
717
 */
712
#define ETH_P_HIPPI_FP_encapsulation        0x8180
718
#define ETH_P_HIPPI_FP_encapsulation        0x8180
713
 
719
 
714
/** STP, HIPPI-ST ethernet protocol type.
720
/** STP, HIPPI-ST ethernet protocol type.
715
 */
721
 */
716
#define ETH_P_STP_HIPPI_ST      0x8181
722
#define ETH_P_STP_HIPPI_ST      0x8181
717
 
723
 
718
/** Reserved for HIPPI-6400 ethernet protocol type.
724
/** Reserved for HIPPI-6400 ethernet protocol type.
719
 */
725
 */
720
#define ETH_P_Reserved_for_HIPPI_6400       0x8182
726
#define ETH_P_Reserved_for_HIPPI_6400       0x8182
721
 
727
 
722
/** Reserved for HIPPI-6400 ethernet protocol type.
728
/** Reserved for HIPPI-6400 ethernet protocol type.
723
 */
729
 */
724
#define ETH_P_Reserved_for_HIPPI_64002      0x8183
730
#define ETH_P_Reserved_for_HIPPI_64002      0x8183
725
 
731
 
726
/** Silicon Graphics prop. ethernet protocol type.
732
/** Silicon Graphics prop. ethernet protocol type.
727
 */
733
 */
728
#define ETH_P_Silicon_Graphics_prop_MIN     0x8184
734
#define ETH_P_Silicon_Graphics_prop_MIN     0x8184
729
 
735
 
730
/** Silicon Graphics prop. ethernet protocol type.
736
/** Silicon Graphics prop. ethernet protocol type.
731
 */
737
 */
732
#define ETH_P_Silicon_Graphics_prop_MAX     0x818C
738
#define ETH_P_Silicon_Graphics_prop_MAX     0x818C
733
 
739
 
734
/** Motorola Computer ethernet protocol type.
740
/** Motorola Computer ethernet protocol type.
735
 */
741
 */
736
#define ETH_P_Motorola_Computer     0x818D
742
#define ETH_P_Motorola_Computer     0x818D
737
 
743
 
738
/** Qualcomm ethernet protocol type.
744
/** Qualcomm ethernet protocol type.
739
 */
745
 */
740
#define ETH_P_Qualcomm_MIN2     0x819A
746
#define ETH_P_Qualcomm_MIN2     0x819A
741
 
747
 
742
/** Qualcomm ethernet protocol type.
748
/** Qualcomm ethernet protocol type.
743
 */
749
 */
744
#define ETH_P_Qualcomm_MAX2     0x81A3
750
#define ETH_P_Qualcomm_MAX2     0x81A3
745
 
751
 
746
/** ARAI Bunkichi ethernet protocol type.
752
/** ARAI Bunkichi ethernet protocol type.
747
 */
753
 */
748
#define ETH_P_ARAI_Bunkichi     0x81A4
754
#define ETH_P_ARAI_Bunkichi     0x81A4
749
 
755
 
750
/** RAD Network Devices ethernet protocol type.
756
/** RAD Network Devices ethernet protocol type.
751
 */
757
 */
752
#define ETH_P_RAD_Network_Devices_MIN       0x81A5
758
#define ETH_P_RAD_Network_Devices_MIN       0x81A5
753
 
759
 
754
/** RAD Network Devices ethernet protocol type.
760
/** RAD Network Devices ethernet protocol type.
755
 */
761
 */
756
#define ETH_P_RAD_Network_Devices_MAX       0x81AE
762
#define ETH_P_RAD_Network_Devices_MAX       0x81AE
757
 
763
 
758
/** Xyplex ethernet protocol type.
764
/** Xyplex ethernet protocol type.
759
 */
765
 */
760
#define ETH_P_Xyplex_MIN2       0x81B7
766
#define ETH_P_Xyplex_MIN2       0x81B7
761
 
767
 
762
/** Xyplex ethernet protocol type.
768
/** Xyplex ethernet protocol type.
763
 */
769
 */
764
#define ETH_P_Xyplex_MAX2       0x81B9
770
#define ETH_P_Xyplex_MAX2       0x81B9
765
 
771
 
766
/** Apricot Computers ethernet protocol type.
772
/** Apricot Computers ethernet protocol type.
767
 */
773
 */
768
#define ETH_P_Apricot_Computers_MIN     0x81CC
774
#define ETH_P_Apricot_Computers_MIN     0x81CC
769
 
775
 
770
/** Apricot Computers ethernet protocol type.
776
/** Apricot Computers ethernet protocol type.
771
 */
777
 */
772
#define ETH_P_Apricot_Computers_MAX     0x81D5
778
#define ETH_P_Apricot_Computers_MAX     0x81D5
773
 
779
 
774
/** Artisoft ethernet protocol type.
780
/** Artisoft ethernet protocol type.
775
 */
781
 */
776
#define ETH_P_Artisoft_MIN      0x81D6
782
#define ETH_P_Artisoft_MIN      0x81D6
777
 
783
 
778
/** Artisoft ethernet protocol type.
784
/** Artisoft ethernet protocol type.
779
 */
785
 */
780
#define ETH_P_Artisoft_MAX      0x81DD
786
#define ETH_P_Artisoft_MAX      0x81DD
781
 
787
 
782
/** Polygon ethernet protocol type.
788
/** Polygon ethernet protocol type.
783
 */
789
 */
784
#define ETH_P_Polygon_MIN       0x81E6
790
#define ETH_P_Polygon_MIN       0x81E6
785
 
791
 
786
/** Polygon ethernet protocol type.
792
/** Polygon ethernet protocol type.
787
 */
793
 */
788
#define ETH_P_Polygon_MAX       0x81EF
794
#define ETH_P_Polygon_MAX       0x81EF
789
 
795
 
790
/** Comsat Labs ethernet protocol type.
796
/** Comsat Labs ethernet protocol type.
791
 */
797
 */
792
#define ETH_P_Comsat_Labs_MIN       0x81F0
798
#define ETH_P_Comsat_Labs_MIN       0x81F0
793
 
799
 
794
/** Comsat Labs ethernet protocol type.
800
/** Comsat Labs ethernet protocol type.
795
 */
801
 */
796
#define ETH_P_Comsat_Labs_MAX       0x81F2
802
#define ETH_P_Comsat_Labs_MAX       0x81F2
797
 
803
 
798
/** SAIC ethernet protocol type.
804
/** SAIC ethernet protocol type.
799
 */
805
 */
800
#define ETH_P_SAIC_MIN      0x81F3
806
#define ETH_P_SAIC_MIN      0x81F3
801
 
807
 
802
/** SAIC ethernet protocol type.
808
/** SAIC ethernet protocol type.
803
 */
809
 */
804
#define ETH_P_SAIC_MAX      0x81F5
810
#define ETH_P_SAIC_MAX      0x81F5
805
 
811
 
806
/** VG Analytical ethernet protocol type.
812
/** VG Analytical ethernet protocol type.
807
 */
813
 */
808
#define ETH_P_VG_Analytical_MIN     0x81F6
814
#define ETH_P_VG_Analytical_MIN     0x81F6
809
 
815
 
810
/** VG Analytical ethernet protocol type.
816
/** VG Analytical ethernet protocol type.
811
 */
817
 */
812
#define ETH_P_VG_Analytical_MAX     0x81F8
818
#define ETH_P_VG_Analytical_MAX     0x81F8
813
 
819
 
814
/** Quantum Software ethernet protocol type.
820
/** Quantum Software ethernet protocol type.
815
 */
821
 */
816
#define ETH_P_Quantum_Software_MIN      0x8203
822
#define ETH_P_Quantum_Software_MIN      0x8203
817
 
823
 
818
/** Quantum Software ethernet protocol type.
824
/** Quantum Software ethernet protocol type.
819
 */
825
 */
820
#define ETH_P_Quantum_Software_MAX      0x8205
826
#define ETH_P_Quantum_Software_MAX      0x8205
821
 
827
 
822
/** Ascom Banking Systems ethernet protocol type.
828
/** Ascom Banking Systems ethernet protocol type.
823
 */
829
 */
824
#define ETH_P_Ascom_Banking_Systems_MIN     0x8221
830
#define ETH_P_Ascom_Banking_Systems_MIN     0x8221
825
 
831
 
826
/** Ascom Banking Systems ethernet protocol type.
832
/** Ascom Banking Systems ethernet protocol type.
827
 */
833
 */
828
#define ETH_P_Ascom_Banking_Systems_MAX     0x8222
834
#define ETH_P_Ascom_Banking_Systems_MAX     0x8222
829
 
835
 
830
/** Advanced Encryption Syste ethernet protocol type.
836
/** Advanced Encryption Syste ethernet protocol type.
831
 */
837
 */
832
#define ETH_P_Advanced_Encryption_Syste_MIN     0x823E
838
#define ETH_P_Advanced_Encryption_Syste_MIN     0x823E
833
 
839
 
834
/** Advanced Encryption Syste ethernet protocol type.
840
/** Advanced Encryption Syste ethernet protocol type.
835
 */
841
 */
836
#define ETH_P_Advanced_Encryption_Syste_MAX     0x8240
842
#define ETH_P_Advanced_Encryption_Syste_MAX     0x8240
837
 
843
 
838
/** Athena Programming ethernet protocol type.
844
/** Athena Programming ethernet protocol type.
839
 */
845
 */
840
#define ETH_P_Athena_Programming_MIN        0x827F
846
#define ETH_P_Athena_Programming_MIN        0x827F
841
 
847
 
842
/** Athena Programming ethernet protocol type.
848
/** Athena Programming ethernet protocol type.
843
 */
849
 */
844
#define ETH_P_Athena_Programming_MAX        0x8282
850
#define ETH_P_Athena_Programming_MAX        0x8282
845
 
851
 
846
/** Charles River Data System ethernet protocol type.
852
/** Charles River Data System ethernet protocol type.
847
 */
853
 */
848
#define ETH_P_Charles_River_Data_System_MIN2        0x8263
854
#define ETH_P_Charles_River_Data_System_MIN2        0x8263
849
 
855
 
850
/** Charles River Data System ethernet protocol type.
856
/** Charles River Data System ethernet protocol type.
851
 */
857
 */
852
#define ETH_P_Charles_River_Data_System_MAX2        0x826A
858
#define ETH_P_Charles_River_Data_System_MAX2        0x826A
853
 
859
 
854
/** Inst Ind Info Tech ethernet protocol type.
860
/** Inst Ind Info Tech ethernet protocol type.
855
 */
861
 */
856
#define ETH_P_Inst_Ind_Info_Tech_MIN        0x829A
862
#define ETH_P_Inst_Ind_Info_Tech_MIN        0x829A
857
 
863
 
858
/** Inst Ind Info Tech ethernet protocol type.
864
/** Inst Ind Info Tech ethernet protocol type.
859
 */
865
 */
860
#define ETH_P_Inst_Ind_Info_Tech_MAX        0x829B
866
#define ETH_P_Inst_Ind_Info_Tech_MAX        0x829B
861
 
867
 
862
/** Taurus Controls ethernet protocol type.
868
/** Taurus Controls ethernet protocol type.
863
 */
869
 */
864
#define ETH_P_Taurus_Controls_MIN       0x829C
870
#define ETH_P_Taurus_Controls_MIN       0x829C
865
 
871
 
866
/** Taurus Controls ethernet protocol type.
872
/** Taurus Controls ethernet protocol type.
867
 */
873
 */
868
#define ETH_P_Taurus_Controls_MAX       0x82AB
874
#define ETH_P_Taurus_Controls_MAX       0x82AB
869
 
875
 
870
/** Walker Richer & Quinn ethernet protocol type.
876
/** Walker Richer & Quinn ethernet protocol type.
871
 */
877
 */
872
#define ETH_P_Walker_Richer_Quinn_MIN       0x82AC
878
#define ETH_P_Walker_Richer_Quinn_MIN       0x82AC
873
 
879
 
874
/** Walker Richer & Quinn ethernet protocol type.
880
/** Walker Richer & Quinn ethernet protocol type.
875
 */
881
 */
876
#define ETH_P_Walker_Richer_Quinn_MAX       0x8693
882
#define ETH_P_Walker_Richer_Quinn_MAX       0x8693
877
 
883
 
878
/** Idea Courier ethernet protocol type.
884
/** Idea Courier ethernet protocol type.
879
 */
885
 */
880
#define ETH_P_Idea_Courier_MIN      0x8694
886
#define ETH_P_Idea_Courier_MIN      0x8694
881
 
887
 
882
/** Idea Courier ethernet protocol type.
888
/** Idea Courier ethernet protocol type.
883
 */
889
 */
884
#define ETH_P_Idea_Courier_MAX      0x869D
890
#define ETH_P_Idea_Courier_MAX      0x869D
885
 
891
 
886
/** Computer Network Tech ethernet protocol type.
892
/** Computer Network Tech ethernet protocol type.
887
 */
893
 */
888
#define ETH_P_Computer_Network_Tech_MIN     0x869E
894
#define ETH_P_Computer_Network_Tech_MIN     0x869E
889
 
895
 
890
/** Computer Network Tech ethernet protocol type.
896
/** Computer Network Tech ethernet protocol type.
891
 */
897
 */
892
#define ETH_P_Computer_Network_Tech_MAX     0x86A1
898
#define ETH_P_Computer_Network_Tech_MAX     0x86A1
893
 
899
 
894
/** Gateway Communications ethernet protocol type.
900
/** Gateway Communications ethernet protocol type.
895
 */
901
 */
896
#define ETH_P_Gateway_Communications_MIN        0x86A3
902
#define ETH_P_Gateway_Communications_MIN        0x86A3
897
 
903
 
898
/** Gateway Communications ethernet protocol type.
904
/** Gateway Communications ethernet protocol type.
899
 */
905
 */
900
#define ETH_P_Gateway_Communications_MAX        0x86AC
906
#define ETH_P_Gateway_Communications_MAX        0x86AC
901
 
907
 
902
/** SECTRA ethernet protocol type.
908
/** SECTRA ethernet protocol type.
903
 */
909
 */
904
#define ETH_P_SECTRA        0x86DB
910
#define ETH_P_SECTRA        0x86DB
905
 
911
 
906
/** Delta Controls ethernet protocol type.
912
/** Delta Controls ethernet protocol type.
907
 */
913
 */
908
#define ETH_P_Delta_Controls        0x86DE
914
#define ETH_P_Delta_Controls        0x86DE
909
 
915
 
910
/** IPv6 ethernet protocol type.
916
/** IPv6 ethernet protocol type.
911
 */
917
 */
912
#define ETH_P_IPV6      0x86DD
918
#define ETH_P_IPV6      0x86DD
913
 
919
 
914
/** ATOMIC ethernet protocol type.
920
/** ATOMIC ethernet protocol type.
915
 */
921
 */
916
#define ETH_P_ATOMIC        0x86DF
922
#define ETH_P_ATOMIC        0x86DF
917
 
923
 
918
/** Landis & Gyr Powers ethernet protocol type.
924
/** Landis & Gyr Powers ethernet protocol type.
919
 */
925
 */
920
#define ETH_P_Landis_Gyr_Powers_MIN     0x86E0
926
#define ETH_P_Landis_Gyr_Powers_MIN     0x86E0
921
 
927
 
922
/** Landis & Gyr Powers ethernet protocol type.
928
/** Landis & Gyr Powers ethernet protocol type.
923
 */
929
 */
924
#define ETH_P_Landis_Gyr_Powers_MAX     0x86EF
930
#define ETH_P_Landis_Gyr_Powers_MAX     0x86EF
925
 
931
 
926
/** Motorola ethernet protocol type.
932
/** Motorola ethernet protocol type.
927
 */
933
 */
928
#define ETH_P_Motorola_MIN      0x8700
934
#define ETH_P_Motorola_MIN      0x8700
929
 
935
 
930
/** Motorola ethernet protocol type.
936
/** Motorola ethernet protocol type.
931
 */
937
 */
932
#define ETH_P_Motorola_MAX      0x8710
938
#define ETH_P_Motorola_MAX      0x8710
933
 
939
 
934
/** TCP/IP Compression ethernet protocol type.
940
/** TCP/IP Compression ethernet protocol type.
935
 */
941
 */
936
#define ETH_P_TCPIP_Compression     0x876B
942
#define ETH_P_TCPIP_Compression     0x876B
937
 
943
 
938
/** IP Autonomous Systems ethernet protocol type.
944
/** IP Autonomous Systems ethernet protocol type.
939
 */
945
 */
940
#define ETH_P_IP_Autonomous_Systems     0x876C
946
#define ETH_P_IP_Autonomous_Systems     0x876C
941
 
947
 
942
/** Secure Data ethernet protocol type.
948
/** Secure Data ethernet protocol type.
943
 */
949
 */
944
#define ETH_P_Secure_Data       0x876D
950
#define ETH_P_Secure_Data       0x876D
945
 
951
 
946
/** PPP ethernet protocol type.
952
/** PPP ethernet protocol type.
947
 */
953
 */
948
#define ETH_P_PPP       0x880B
954
#define ETH_P_PPP       0x880B
949
 
955
 
950
/** MPLS ethernet protocol type.
956
/** MPLS ethernet protocol type.
951
 */
957
 */
952
#define ETH_P_MPLS_UC       0x8847
958
#define ETH_P_MPLS_UC       0x8847
953
 
959
 
954
/** MPLS with upstream-assigned label ethernet protocol type.
960
/** MPLS with upstream-assigned label ethernet protocol type.
955
 */
961
 */
956
#define ETH_P_MPLS_MC       0x8848
962
#define ETH_P_MPLS_MC       0x8848
957
 
963
 
958
/** Invisible Software ethernet protocol type.
964
/** Invisible Software ethernet protocol type.
959
 */
965
 */
960
#define ETH_P_Invisible_Software_MIN        0x8A96
966
#define ETH_P_Invisible_Software_MIN        0x8A96
961
 
967
 
962
/** Invisible Software ethernet protocol type.
968
/** Invisible Software ethernet protocol type.
963
 */
969
 */
964
#define ETH_P_Invisible_Software_MAX        0x8A97
970
#define ETH_P_Invisible_Software_MAX        0x8A97
965
 
971
 
966
/** PPPoE Discovery Stage ethernet protocol type.
972
/** PPPoE Discovery Stage ethernet protocol type.
967
 */
973
 */
968
#define ETH_P_PPP_DISC      0x8863
974
#define ETH_P_PPP_DISC      0x8863
969
 
975
 
970
/** PPPoE Session Stage ethernet protocol type.
976
/** PPPoE Session Stage ethernet protocol type.
971
 */
977
 */
972
#define ETH_P_PPP_SES       0x8864
978
#define ETH_P_PPP_SES       0x8864
973
 
979
 
974
/** Loopback ethernet protocol type.
980
/** Loopback ethernet protocol type.
975
 */
981
 */
976
#define ETH_P_Loopback      0x9000
982
#define ETH_P_Loopback      0x9000
977
 
983
 
978
/** Com(Bridge) XNS Sys Mgmt ethernet protocol type.
984
/** Com(Bridge) XNS Sys Mgmt ethernet protocol type.
979
 */
985
 */
980
#define ETH_P_Com_XNS_Sys_Mgmt      0x9001
986
#define ETH_P_Com_XNS_Sys_Mgmt      0x9001
981
 
987
 
982
/** Com(Bridge) TCP-IP Sys ethernet protocol type.
988
/** Com(Bridge) TCP-IP Sys ethernet protocol type.
983
 */
989
 */
984
#define ETH_P_Com_TCP_IP_Sys        0x9002
990
#define ETH_P_Com_TCP_IP_Sys        0x9002
985
 
991
 
986
/** Com(Bridge) loop detect ethernet protocol type.
992
/** Com(Bridge) loop detect ethernet protocol type.
987
 */
993
 */
988
#define ETH_P_Com_loop_detect       0x9003
994
#define ETH_P_Com_loop_detect       0x9003
989
 
995
 
990
/** BBN VITAL-LanBridge cache ethernet protocol type.
996
/** BBN VITAL-LanBridge cache ethernet protocol type.
991
 */
997
 */
992
#define ETH_P_BBN_VITAL_LanBridge_cache     0xFF00
998
#define ETH_P_BBN_VITAL_LanBridge_cache     0xFF00
993
 
999
 
994
/** ISC Bunker Ramo ethernet protocol type.
1000
/** ISC Bunker Ramo ethernet protocol type.
995
 */
1001
 */
996
#define ETH_P_ISC_Bunker_Ramo_MIN       0xFF00
1002
#define ETH_P_ISC_Bunker_Ramo_MIN       0xFF00
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
 */
1006
 
1014