9 #ifndef __PACKET_MTP3_H__
10 #define __PACKET_MTP3_H__
12 #include "ws_symbol_export.h"
17 CHINESE_ITU_STANDARD = 3,
20 #define HEURISTIC_FAILED_STANDARD 0xffff
22 extern gint mtp3_standard;
23 extern bool mtp3_heuristic_standard;
28 MTP3_ADDR_FMT_DEC = 1,
29 MTP3_ADDR_FMT_HEX = 2,
30 MTP3_ADDR_FMT_NI_DEC = 3,
31 MTP3_ADDR_FMT_NI_HEX = 4,
32 MTP3_ADDR_FMT_DASHED = 5
33 } mtp3_net_addr_fmt_e;
48 #define ITU_PC_LENGTH 2
49 #define ITU_PC_MASK 0x3FFF
51 #define ANSI_PC_LENGTH 3
52 #define ANSI_NCM_LENGTH 1
53 #define ANSI_NETWORK_OFFSET 2
54 #define ANSI_CLUSTER_OFFSET 1
55 #define ANSI_MEMBER_OFFSET 0
56 #define ANSI_PC_MASK 0xFFFFFF
57 #define ANSI_NETWORK_MASK 0xFF0000
58 #define ANSI_CLUSTER_MASK 0x00FF00
59 #define ANSI_MEMBER_MASK 0x0000FF
60 #define ANSI_PC_STRING_LENGTH 16
62 #define JAPAN_PC_LENGTH 2
63 #define JAPAN_PC_MASK 0xffff
69 extern gchar* mtp3_pc_to_str(
const guint32 pc);
70 extern gboolean mtp3_pc_structured(
void);
72 extern int mtp3_addr_len(
void);
80 extern void dissect_mtp3_3byte_pc(
tvbuff_t *tvb, guint offset,
82 int hf_pc_string,
int hf_pc_network,
83 int hf_pc_cluster,
int hf_pc_member,
84 int hf_dpc,
int hf_pc);
92 WS_DLL_PUBLIC
const value_string mtp3_service_indicator_code_short_vals[];
94 #define MTP_SI_SNM 0x0
95 #define MTP_SI_MTN 0x1
96 #define MTP_SI_MTNS 0x2
97 #define MTP_SI_SCCP 0x3
98 #define MTP_SI_TUP 0x4
99 #define MTP_SI_ISUP 0x5
100 #define MTP_SI_DUP_CC 0x6
101 #define MTP_SI_DUP_FAC 0x7
102 #define MTP_SI_MTP_TEST 0x8
103 #define MTP_SI_ISUP_B 0x9
104 #define MTP_SI_ISUP_S 0xa
105 #define MTP_SI_AAL2 0xc
106 #define MTP_SI_BICC 0xd
107 #define MTP_SI_GCP 0xe
112 #define MTP3_NUM_SI_CODE 9
114 #define MTP3_NI_INT0 0x0
115 #define MTP3_NI_INT1 0x1
116 #define MTP3_NI_NAT0 0x2
117 #define MTP3_NI_NAT1 0x3
118 WS_DLL_PUBLIC
const value_string mtp3_network_indicator_vals[];
Definition: packet-mtp3.h:35
Definition: packet-mtp3.h:41
Definition: value_string.h:26
Definition: tvbuff-int.h:35