summaryrefslogtreecommitdiff
path: root/nlpid.h
diff options
context:
space:
mode:
authorguy <guy>2000-10-28 09:30:20 +0000
committerguy <guy>2000-10-28 09:30:20 +0000
commitaf30d75a3ece28ef91c77bc1fc3ef658cb8aa69b (patch)
tree55e0a52ff45c5737f7f07f03772b8e97c862abc0 /nlpid.h
parent14972aa99ded516526aa64f4f88f2053418efd79 (diff)
downloadlibpcap-af30d75a3ece28ef91c77bc1fc3ef658cb8aa69b.tar.gz
Tony Li's changes, from FreeBSD, to support filtering for OSI packets
and for ESIS and ISIS packets.
Diffstat (limited to 'nlpid.h')
-rw-r--r--nlpid.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/nlpid.h b/nlpid.h
new file mode 100644
index 00000000..87ee3810
--- /dev/null
+++ b/nlpid.h
@@ -0,0 +1,43 @@
+/*
+ * Copyright (c) 1996
+ * Juniper Networks, Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that: (1) source code distributions
+ * retain the above copyright notice and this paragraph in its entirety, (2)
+ * distributions including binary code include the above copyright notice and
+ * this paragraph in its entirety in the documentation or other materials
+ * provided with the distribution. The name of Juniper Networks may not
+ * be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
+ * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ * @(#) $Header: /tcpdump/master/libpcap/nlpid.h,v 1.1 2000-10-28 09:30:22 guy Exp $ (Juniper)
+ */
+
+/* Types missing from some systems */
+
+/*
+ * Network layer prototocol identifiers
+ */
+#ifndef ISO8473_CLNP
+#define ISO8473_CLNP 0x81
+#endif
+#ifndef ISO9542_ESIS
+#define ISO9542_ESIS 0x82
+#endif
+#ifndef ISO9542X25_ESIS
+#define ISO9542X25_ESIS 0x8a
+#endif
+#ifndef ISO10589_ISIS
+#define ISO10589_ISIS 0x83
+#endif
+#ifndef ISO8878A_CONS
+#define ISO8878A_CONS 0x84
+#endif
+#ifndef ISO10747_IDRP
+#define ISO10747_IDRP 0x85
+#endif