Subversion Repositories HelenOS

Rev

Rev 4704 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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