summaryrefslogtreecommitdiffstats
path: root/contrib/libpcap/nlpid.h
diff options
context:
space:
mode:
authorbms <bms@FreeBSD.org>2004-03-31 09:15:09 +0000
committerbms <bms@FreeBSD.org>2004-03-31 09:15:09 +0000
commit723e16349061e4b947ce1e5be04cdf68e1441b71 (patch)
treea52a0e75c26441516b30999e491e6efdcd6f19a7 /contrib/libpcap/nlpid.h
parent5e21f2192eb7b5433d2bcb7bd232f10e704d761e (diff)
downloadFreeBSD-src-723e16349061e4b947ce1e5be04cdf68e1441b71.zip
FreeBSD-src-723e16349061e4b947ce1e5be04cdf68e1441b71.tar.gz
Merge of libpcap 0.8.3 from tcpdump.org.
Diffstat (limited to 'contrib/libpcap/nlpid.h')
-rw-r--r--contrib/libpcap/nlpid.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/contrib/libpcap/nlpid.h b/contrib/libpcap/nlpid.h
index 907af29..7ea2963 100644
--- a/contrib/libpcap/nlpid.h
+++ b/contrib/libpcap/nlpid.h
@@ -16,7 +16,7 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
* $FreeBSD$
- * @(#) $Header: /tcpdump/master/libpcap/nlpid.h,v 1.1 2000/10/28 09:30:22 guy Exp $ (Juniper)
+ * @(#) $Header: /tcpdump/master/libpcap/nlpid.h,v 1.2 2002/12/06 00:01:34 hannes Exp $ (Juniper)
*/
/* Types missing from some systems */
@@ -36,6 +36,21 @@
#ifndef ISO10589_ISIS
#define ISO10589_ISIS 0x83
#endif
+/*
+ * this does not really belong in the nlpid.h file
+ * however we need it for generating nice
+ * IS-IS related BPF filters
+ */
+#define ISIS_L1_LAN_IIH 15
+#define ISIS_L2_LAN_IIH 16
+#define ISIS_PTP_IIH 17
+#define ISIS_L1_LSP 18
+#define ISIS_L2_LSP 20
+#define ISIS_L1_CSNP 24
+#define ISIS_L2_CSNP 25
+#define ISIS_L1_PSNP 26
+#define ISIS_L2_PSNP 27
+
#ifndef ISO8878A_CONS
#define ISO8878A_CONS 0x84
#endif
OpenPOWER on IntegriCloud