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
22extern int mtp3_standard;
23extern 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
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
69extern char* mtp3_pc_to_str(
const uint32_t pc);
70extern bool mtp3_pc_structured(
void);
72extern int mtp3_addr_len(
void);
80extern void dissect_mtp3_3byte_pc(
tvbuff_t *tvb,
unsigned 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);
92WS_DLL_PUBLIC
const value_string mtp3_service_indicator_code_short_vals[];
96#define MTP_SI_MTNS 0x2
97#define MTP_SI_SCCP 0x3
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
118WS_DLL_PUBLIC
const value_string mtp3_network_indicator_vals[];
Definition packet-mtp3.h:35
Definition packet-mtp3.h:41
Definition value_string.h:25
Definition tvbuff-int.h:35