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
70extern bool mtp3_pc_structured(
void);
75 int hf_pc_string,
int hf_pc_network,
76 int hf_pc_cluster,
int hf_pc_member,
77 int hf_dpc,
int hf_pc);
84WS_DLL_PUBLIC
const value_string mtp3_service_indicator_code_short_vals[];
88#define MTP_SI_MTNS 0x2
89#define MTP_SI_SCCP 0x3
91#define MTP_SI_ISUP 0x5
92#define MTP_SI_DUP_CC 0x6
93#define MTP_SI_DUP_FAC 0x7
94#define MTP_SI_MTP_TEST 0x8
95#define MTP_SI_ISUP_B 0x9
96#define MTP_SI_ISUP_S 0xa
97#define MTP_SI_AAL2 0xc
98#define MTP_SI_BICC 0xd
104#define MTP3_NUM_SI_CODE 9
106#define MTP3_NI_INT0 0x0
107#define MTP3_NI_INT1 0x1
108#define MTP3_NI_NAT0 0x2
109#define MTP3_NI_NAT1 0x3
110WS_DLL_PUBLIC
const value_string mtp3_network_indicator_vals[];
Definition packet-mtp3.h:35
Definition packet-mtp3.h:41
Definition packet_info.h:43
Definition value_string.h:27
Definition wmem_allocator.h:27
Definition tvbuff-int.h:35