aboutsummaryrefslogtreecommitdiff
path: root/gencode.h
diff options
context:
space:
mode:
authorguy <guy>2006-12-21 19:44:06 +0000
committerguy <guy>2006-12-21 19:44:06 +0000
commit7589e0abc35ad50e7db4ee90e5d510937d221003 (patch)
tree80a48067902f53a6d97f2fca526ca7dcadd97ab4 /gencode.h
parent7bf28e7fd2f3e98e6b32260e8d7b608263ec720b (diff)
From Florent Drouin: add support for filtering on MTP2 frame types.
Diffstat (limited to 'gencode.h')
-rw-r--r--gencode.h18
1 files changed, 12 insertions, 6 deletions
diff --git a/gencode.h b/gencode.h
index d1d2157b..66ec67d0 100644
--- a/gencode.h
+++ b/gencode.h
@@ -18,7 +18,7 @@
* WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * @(#) $Header: /tcpdump/master/libpcap/gencode.h,v 1.66 2005-09-05 09:07:00 guy Exp $ (LBL)
+ * @(#) $Header: /tcpdump/master/libpcap/gencode.h,v 1.67 2006-12-21 19:44:06 guy Exp $ (LBL)
*/
/*
@@ -173,11 +173,16 @@
end-to-end circuits, ILMI circuits or
connection signalling circuit. */
-/*MTP3 field types */
-#define M_SIO 1
-#define M_OPC 2
-#define M_DPC 3
-#define M_SLS 4
+/* MTP2 types */
+#define M_FISU 22 /* FISU */
+#define M_LSU 23 /* LSU */
+#define M_MSU 24 /* MSU */
+
+/* MTP3 field types */
+#define M_SIO 1
+#define M_OPC 2
+#define M_DPC 3
+#define M_SLS 4
struct slist;
@@ -296,6 +301,7 @@ struct block *gen_atmfield_code(int atmfield, bpf_int32 jvalue, bpf_u_int32 jtyp
struct block *gen_atmtype_abbrev(int type);
struct block *gen_atmmulti_abbrev(int type);
+struct block *gen_mtp2type_abbrev(int type);
struct block *gen_mtp3field_code(int mtp3field, bpf_u_int32 jvalue, bpf_u_int32 jtype, int reverse);
struct block *gen_pf_ifname(const char *);