xref: /freebsd/contrib/libpcap/nlpid.h (revision eb9f0330c07fd11402519316dd91a323c93f84fa)
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  *
188e1481d1SBill Fenner  * $FreeBSD$
19eb9f0330SBruce M Simpson  * @(#) $Header: /tcpdump/master/libpcap/nlpid.h,v 1.2 2002/12/06 00:01:34 hannes Exp $ (Juniper)
200d086d29SPaul Traina  */
210d086d29SPaul Traina 
220d086d29SPaul Traina /* Types missing from some systems */
230d086d29SPaul Traina 
240d086d29SPaul Traina /*
250d086d29SPaul Traina  * Network layer prototocol identifiers
260d086d29SPaul Traina  */
270d086d29SPaul Traina #ifndef ISO8473_CLNP
280d086d29SPaul Traina #define ISO8473_CLNP		0x81
290d086d29SPaul Traina #endif
300d086d29SPaul Traina #ifndef	ISO9542_ESIS
310d086d29SPaul Traina #define	ISO9542_ESIS		0x82
320d086d29SPaul Traina #endif
330d086d29SPaul Traina #ifndef ISO9542X25_ESIS
340d086d29SPaul Traina #define ISO9542X25_ESIS		0x8a
350d086d29SPaul Traina #endif
360d086d29SPaul Traina #ifndef	ISO10589_ISIS
370d086d29SPaul Traina #define	ISO10589_ISIS		0x83
380d086d29SPaul Traina #endif
39eb9f0330SBruce M Simpson /*
40eb9f0330SBruce M Simpson  * this does not really belong in the nlpid.h file
41eb9f0330SBruce M Simpson  * however we need it for generating nice
42eb9f0330SBruce M Simpson  * IS-IS related BPF filters
43eb9f0330SBruce M Simpson  */
44eb9f0330SBruce M Simpson #define ISIS_L1_LAN_IIH      15
45eb9f0330SBruce M Simpson #define ISIS_L2_LAN_IIH      16
46eb9f0330SBruce M Simpson #define ISIS_PTP_IIH         17
47eb9f0330SBruce M Simpson #define ISIS_L1_LSP          18
48eb9f0330SBruce M Simpson #define ISIS_L2_LSP          20
49eb9f0330SBruce M Simpson #define ISIS_L1_CSNP         24
50eb9f0330SBruce M Simpson #define ISIS_L2_CSNP         25
51eb9f0330SBruce M Simpson #define ISIS_L1_PSNP         26
52eb9f0330SBruce M Simpson #define ISIS_L2_PSNP         27
53eb9f0330SBruce M Simpson 
540d086d29SPaul Traina #ifndef ISO8878A_CONS
550d086d29SPaul Traina #define	ISO8878A_CONS		0x84
560d086d29SPaul Traina #endif
570d086d29SPaul Traina #ifndef	ISO10747_IDRP
580d086d29SPaul Traina #define	ISO10747_IDRP		0x85
590d086d29SPaul Traina #endif
60