xref: /aosp_15_r20/external/libpcap/nlpid.h (revision 8b26181f966a6af5cf6981a6f474313de533bb28)
1*8b26181fSAndroid Build Coastguard Worker /*
2*8b26181fSAndroid Build Coastguard Worker  * Copyright (c) 1996
3*8b26181fSAndroid Build Coastguard Worker  *	Juniper Networks, Inc.  All rights reserved.
4*8b26181fSAndroid Build Coastguard Worker  *
5*8b26181fSAndroid Build Coastguard Worker  * Redistribution and use in source and binary forms, with or without
6*8b26181fSAndroid Build Coastguard Worker  * modification, are permitted provided that: (1) source code distributions
7*8b26181fSAndroid Build Coastguard Worker  * retain the above copyright notice and this paragraph in its entirety, (2)
8*8b26181fSAndroid Build Coastguard Worker  * distributions including binary code include the above copyright notice and
9*8b26181fSAndroid Build Coastguard Worker  * this paragraph in its entirety in the documentation or other materials
10*8b26181fSAndroid Build Coastguard Worker  * provided with the distribution.  The name of Juniper Networks may not
11*8b26181fSAndroid Build Coastguard Worker  * be used to endorse or promote products derived from this software
12*8b26181fSAndroid Build Coastguard Worker  * without specific prior written permission.
13*8b26181fSAndroid Build Coastguard Worker  *
14*8b26181fSAndroid Build Coastguard Worker  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
15*8b26181fSAndroid Build Coastguard Worker  * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
16*8b26181fSAndroid Build Coastguard Worker  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
17*8b26181fSAndroid Build Coastguard Worker  */
18*8b26181fSAndroid Build Coastguard Worker 
19*8b26181fSAndroid Build Coastguard Worker /* Types missing from some systems */
20*8b26181fSAndroid Build Coastguard Worker 
21*8b26181fSAndroid Build Coastguard Worker /*
22*8b26181fSAndroid Build Coastguard Worker  * Network layer prototocol identifiers
23*8b26181fSAndroid Build Coastguard Worker  */
24*8b26181fSAndroid Build Coastguard Worker #ifndef ISO8473_CLNP
25*8b26181fSAndroid Build Coastguard Worker #define ISO8473_CLNP		0x81
26*8b26181fSAndroid Build Coastguard Worker #endif
27*8b26181fSAndroid Build Coastguard Worker #ifndef	ISO9542_ESIS
28*8b26181fSAndroid Build Coastguard Worker #define	ISO9542_ESIS		0x82
29*8b26181fSAndroid Build Coastguard Worker #endif
30*8b26181fSAndroid Build Coastguard Worker #ifndef ISO9542X25_ESIS
31*8b26181fSAndroid Build Coastguard Worker #define ISO9542X25_ESIS		0x8a
32*8b26181fSAndroid Build Coastguard Worker #endif
33*8b26181fSAndroid Build Coastguard Worker #ifndef	ISO10589_ISIS
34*8b26181fSAndroid Build Coastguard Worker #define	ISO10589_ISIS		0x83
35*8b26181fSAndroid Build Coastguard Worker #endif
36*8b26181fSAndroid Build Coastguard Worker /*
37*8b26181fSAndroid Build Coastguard Worker  * this does not really belong in the nlpid.h file
38*8b26181fSAndroid Build Coastguard Worker  * however we need it for generating nice
39*8b26181fSAndroid Build Coastguard Worker  * IS-IS related BPF filters
40*8b26181fSAndroid Build Coastguard Worker  */
41*8b26181fSAndroid Build Coastguard Worker #define ISIS_L1_LAN_IIH      15
42*8b26181fSAndroid Build Coastguard Worker #define ISIS_L2_LAN_IIH      16
43*8b26181fSAndroid Build Coastguard Worker #define ISIS_PTP_IIH         17
44*8b26181fSAndroid Build Coastguard Worker #define ISIS_L1_LSP          18
45*8b26181fSAndroid Build Coastguard Worker #define ISIS_L2_LSP          20
46*8b26181fSAndroid Build Coastguard Worker #define ISIS_L1_CSNP         24
47*8b26181fSAndroid Build Coastguard Worker #define ISIS_L2_CSNP         25
48*8b26181fSAndroid Build Coastguard Worker #define ISIS_L1_PSNP         26
49*8b26181fSAndroid Build Coastguard Worker #define ISIS_L2_PSNP         27
50*8b26181fSAndroid Build Coastguard Worker 
51*8b26181fSAndroid Build Coastguard Worker #ifndef ISO8878A_CONS
52*8b26181fSAndroid Build Coastguard Worker #define	ISO8878A_CONS		0x84
53*8b26181fSAndroid Build Coastguard Worker #endif
54*8b26181fSAndroid Build Coastguard Worker #ifndef	ISO10747_IDRP
55*8b26181fSAndroid Build Coastguard Worker #define	ISO10747_IDRP		0x85
56*8b26181fSAndroid Build Coastguard Worker #endif
57