aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-q708.h
diff options
context:
space:
mode:
authorGerasimos Dimitriadis <dimeg@intracom.gr>2010-03-30 22:05:47 +0000
committerGerasimos Dimitriadis <dimeg@intracom.gr>2010-03-30 22:05:47 +0000
commit3915bb8bab015a34c834ed9fe058a5c5044624db (patch)
treeb1e51faae1610f0b2fbb5504e34bf825ae388e34 /epan/dissectors/packet-q708.h
parentbdfb16fda0b1d086eeeff09c4c7a5c729facbb20 (diff)
Add routine and tables for analyzing International Signalling Point
Codes (ISPCs) according to Q.708. Update the MTP3 dissector to use this function when the routing label carries ISPCs svn path=/trunk/; revision=32329
Diffstat (limited to 'epan/dissectors/packet-q708.h')
-rw-r--r--epan/dissectors/packet-q708.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/epan/dissectors/packet-q708.h b/epan/dissectors/packet-q708.h
new file mode 100644
index 0000000000..87935ebd29
--- /dev/null
+++ b/epan/dissectors/packet-q708.h
@@ -0,0 +1,37 @@
+/* packet-q708.h
+ * Routine and tables for analyzing an ISPC according to Q.708
+ * Copyright 2010, Gerasimos Dimitriadis <dimeg [AT] intracom.gr>
+ *
+ * $Id$
+ *
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
+ * Copyright 1998 Gerald Combs
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+#ifndef __PACKET_Q708_H__
+#define __PACKET_Q708_H__
+
+#include <epan/value_string.h>
+
+extern const value_string q708_sanc_areas[];
+extern const value_string q708_ispc_point_name[];
+extern const value_string q708_ispc_operator_name[];
+
+void analyze_q708_ispc(tvbuff_t *tvb, proto_tree *tree, int offset, int length, guint16 ispc);
+
+#endif /* __PACKET_Q708_H__ */