xref: /freebsd/contrib/libpcap/nlpid.h (revision afdbf109c6a661a729938f68211054a0a50d38ac)
10d086d29SPaul Traina /*
20d086d29SPaul Traina  * Copyright (c) 1996
30d086d29SPaul Traina  *	Juniper Networks, Inc.  All rights reserved.
40d086d29SPaul Traina  *
50d086d29SPaul Traina  * Redistribution and use in source and binary forms, with or without
60d086d29SPaul Traina  * modification, are permitted provided that: (1) source code distributions
70d086d29SPaul Traina  * retain the above copyright notice and this paragraph in its entirety, (2)
80d086d29SPaul Traina  * distributions including binary code include the above copyright notice and
90d086d29SPaul Traina  * this paragraph in its entirety in the documentation or other materials
100d086d29SPaul Traina  * provided with the distribution.  The name of Juniper Networks may not
110d086d29SPaul Traina  * be used to endorse or promote products derived from this software
120d086d29SPaul Traina  * without specific prior written permission.
130d086d29SPaul Traina  *
140d086d29SPaul Traina  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
150d086d29SPaul Traina  * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
160d086d29SPaul Traina  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
170d086d29SPaul Traina  */
180d086d29SPaul Traina 
190d086d29SPaul Traina /* Types missing from some systems */
200d086d29SPaul Traina 
210d086d29SPaul Traina /*
22*afdbf109SJoseph Mingrone  * Network layer protocol identifiers
230d086d29SPaul Traina  */
240d086d29SPaul Traina #ifndef ISO8473_CLNP
250d086d29SPaul Traina #define ISO8473_CLNP		0x81
260d086d29SPaul Traina #endif
270d086d29SPaul Traina #ifndef	ISO9542_ESIS
280d086d29SPaul Traina #define	ISO9542_ESIS		0x82
290d086d29SPaul Traina #endif
300d086d29SPaul Traina #ifndef ISO9542X25_ESIS
310d086d29SPaul Traina #define ISO9542X25_ESIS		0x8a
320d086d29SPaul Traina #endif
330d086d29SPaul Traina #ifndef	ISO10589_ISIS
340d086d29SPaul Traina #define	ISO10589_ISIS		0x83
350d086d29SPaul Traina #endif
36eb9f0330SBruce M Simpson /*
37eb9f0330SBruce M Simpson  * this does not really belong in the nlpid.h file
38eb9f0330SBruce M Simpson  * however we need it for generating nice
39eb9f0330SBruce M Simpson  * IS-IS related BPF filters
40eb9f0330SBruce M Simpson  */
41eb9f0330SBruce M Simpson #define ISIS_L1_LAN_IIH      15
42eb9f0330SBruce M Simpson #define ISIS_L2_LAN_IIH      16
43eb9f0330SBruce M Simpson #define ISIS_PTP_IIH         17
44eb9f0330SBruce M Simpson #define ISIS_L1_LSP          18
45eb9f0330SBruce M Simpson #define ISIS_L2_LSP          20
46eb9f0330SBruce M Simpson #define ISIS_L1_CSNP         24
47eb9f0330SBruce M Simpson #define ISIS_L2_CSNP         25
48eb9f0330SBruce M Simpson #define ISIS_L1_PSNP         26
49eb9f0330SBruce M Simpson #define ISIS_L2_PSNP         27
50eb9f0330SBruce M Simpson 
510d086d29SPaul Traina #ifndef ISO8878A_CONS
520d086d29SPaul Traina #define	ISO8878A_CONS		0x84
530d086d29SPaul Traina #endif
540d086d29SPaul Traina #ifndef	ISO10747_IDRP
550d086d29SPaul Traina #define	ISO10747_IDRP		0x85
560d086d29SPaul Traina #endif
57