~ubuntu-branches/ubuntu/hardy/prelude-manager/hardy

« back to all changes in this revision

Viewing changes to plugins/decodes/prelude-nids/ethertype.h

  • Committer: Bazaar Package Importer
  • Author(s): Mickael Profeta
  • Date: 2004-04-07 16:36:24 UTC
  • Revision ID: james.westby@ubuntu.com-20040407163624-atc9ndab836a8sx9
Tags: upstream-0.8.10
ImportĀ upstreamĀ versionĀ 0.8.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (c) 1993, 1994, 1996
 
3
 *      The Regents of the University of California.  All rights reserved.
 
4
 *
 
5
 * Redistribution and use in source and binary forms, with or without
 
6
 * modification, are permitted provided that: (1) source code distributions
 
7
 * retain the above copyright notice and this paragraph in its entirety, (2)
 
8
 * distributions including binary code include the above copyright notice and
 
9
 * this paragraph in its entirety in the documentation or other materials
 
10
 * provided with the distribution, and (3) all advertising materials mentioning
 
11
 * features or use of this software display the following acknowledgement:
 
12
 * ``This product includes software developed by the University of California,
 
13
 * Lawrence Berkeley Laboratory and its contributors.'' Neither the name of
 
14
 * the University nor the names of its contributors may be used to endorse
 
15
 * or promote products derived from this software without specific prior
 
16
 * written permission.
 
17
 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
 
18
 * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
 
19
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 
20
 *
 
21
 * @(#) $Header: /cvsroot/prelude/prelude-manager/plugins/decodes/prelude-nids/ethertype.h,v 1.1 2002/01/28 18:18:01 yoann Exp $ (LBL)
 
22
 */
 
23
 
 
24
/* Types missing from some systems */
 
25
 
 
26
#ifndef ETHERTYPE_NS
 
27
#define ETHERTYPE_NS            0x0600
 
28
#endif
 
29
#ifndef ETHERTYPE_SPRITE
 
30
#define ETHERTYPE_SPRITE        0x0500
 
31
#endif
 
32
#ifndef ETHERTYPE_TRAIL
 
33
#define ETHERTYPE_TRAIL         0x1000
 
34
#endif
 
35
#ifndef ETHERTYPE_MOPDL
 
36
#define ETHERTYPE_MOPDL         0x6001
 
37
#endif
 
38
#ifndef ETHERTYPE_MOPRC
 
39
#define ETHERTYPE_MOPRC         0x6002
 
40
#endif
 
41
#ifndef ETHERTYPE_DN
 
42
#define ETHERTYPE_DN            0x6003
 
43
#endif
 
44
#ifndef ETHERTYPE_LAT
 
45
#define ETHERTYPE_LAT           0x6004
 
46
#endif
 
47
#ifndef ETHERTYPE_SCA
 
48
#define ETHERTYPE_SCA           0x6007
 
49
#endif
 
50
#ifndef ETHERTYPE_REVARP
 
51
#define ETHERTYPE_REVARP        0x8035
 
52
#endif
 
53
#ifndef ETHERTYPE_LANBRIDGE
 
54
#define ETHERTYPE_LANBRIDGE     0x8038
 
55
#endif
 
56
#ifndef ETHERTYPE_DECDNS
 
57
#define ETHERTYPE_DECDNS        0x803c
 
58
#endif
 
59
#ifndef ETHERTYPE_DECDTS
 
60
#define ETHERTYPE_DECDTS        0x803e
 
61
#endif
 
62
#ifndef ETHERTYPE_VEXP
 
63
#define ETHERTYPE_VEXP          0x805b
 
64
#endif
 
65
#ifndef ETHERTYPE_VPROD
 
66
#define ETHERTYPE_VPROD         0x805c
 
67
#endif
 
68
#ifndef ETHERTYPE_ATALK
 
69
#define ETHERTYPE_ATALK         0x809b
 
70
#endif
 
71
#ifndef ETHERTYPE_AARP
 
72
#define ETHERTYPE_AARP          0x80f3
 
73
#endif
 
74
#ifndef ETHERTYPE_8021Q
 
75
#define ETHERTYPE_8021Q         0x8100
 
76
#endif
 
77
#ifndef ETHERTYPE_IPX
 
78
#define ETHERTYPE_IPX          0x8137
 
79
#endif
 
80
#ifndef ETHERTYPE_IPV6
 
81
#define ETHERTYPE_IPV6          0x86dd
 
82
#endif
 
83
#ifndef ETHERTYPE_PPPOED
 
84
#define ETHERTYPE_PPPOED        0x8863
 
85
#endif
 
86
#ifndef ETHERTYPE_PPPOES
 
87
#define ETHERTYPE_PPPOES        0x8864
 
88
#endif
 
89
#ifndef ETHERTYPE_LOOPBACK
 
90
#define ETHERTYPE_LOOPBACK      0x9000
 
91
#endif