aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mtp3.h
diff options
context:
space:
mode:
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2006-04-05 16:03:36 +0000
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2006-04-05 16:03:36 +0000
commit08daaf87c340c936a8ac9ad8fb1fd57c4e753c7c (patch)
tree0e8713d5e2c8353cde8f39d27fedd8cf78a40103 /epan/dissectors/packet-mtp3.h
parent6288aa7ff2275b180acf3c4a3cb1f58dbc7194f1 (diff)
Frof Jeff Morriss:
The attached patch adds support for the Japan SS7 variants (TTC/NTT) to the MTP3, MTP3MG, SCCP, and SCCPMG dissectors. It's not as thoroughly implemented nor tested as I'd like, but it does a good job of at least the basic dissection and I'm out of time for now. It also fixes bug I found in the SCCP dissector where it would show an End of Optional parameter even when the Optional pointer was 0. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17815 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-mtp3.h')
-rw-r--r--epan/dissectors/packet-mtp3.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/epan/dissectors/packet-mtp3.h b/epan/dissectors/packet-mtp3.h
index dd8e78e170..3e9281ac02 100644
--- a/epan/dissectors/packet-mtp3.h
+++ b/epan/dissectors/packet-mtp3.h
@@ -24,7 +24,8 @@
typedef enum {
ITU_STANDARD = 1,
ANSI_STANDARD = 2,
- CHINESE_ITU_STANDARD = 3
+ CHINESE_ITU_STANDARD = 3,
+ JAPAN_STANDARD = 4
} Standard_Type;
extern gint mtp3_standard;
@@ -64,6 +65,9 @@ typedef struct _mtp3_tap_rec_t {
#define ANSI_MEMBER_MASK 0xFF0000
#define ANSI_PC_STRING_LENGTH 16
+#define JAPAN_PC_LENGTH 2
+#define JAPAN_PC_MASK 0xffff
+
extern void mtp3_addr_to_str_buf(const guint8 *data, gchar *buf, int buf_len);
extern void mtp3_pc_to_str_buf(const guint32 pc, gchar *buf, int buf_len);
extern gchar* mtp3_pc_to_str(const guint32 pc);