diff options
author | Anders Broman <anders.broman@ericsson.com> | 2006-04-05 16:03:36 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2006-04-05 16:03:36 +0000 |
commit | ba35e5d4d96f74408e8b4cde611ddda4e22db2b2 (patch) | |
tree | 0e8713d5e2c8353cde8f39d27fedd8cf78a40103 /epan/dissectors/packet-mtp3.h | |
parent | 5e89308fe3c5cc87533e32b97c856ffdd1525796 (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.
svn path=/trunk/; revision=17815
Diffstat (limited to 'epan/dissectors/packet-mtp3.h')
-rw-r--r-- | epan/dissectors/packet-mtp3.h | 6 |
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); |