3 * Copyright 2004, Anders Broman <anders.broman@ericsson.com>
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
7 * Copyright 1998 Gerald Combs
9 * SPDX-License-Identifier: GPL-2.0-or-later
12 #ifndef __PACKET_E164_H__
13 #define __PACKET_E164_H__
15 #include <epan/value_string.h>
16 #include "ws_symbol_export.h"
18 extern const value_string E164_country_code_value
[];
19 extern const value_string E164_ISO3166_country_code_short_value
[];
20 extern value_string_ext E164_ISO3166_country_code_short_value_ext
;
21 extern const value_string E164_International_Networks_vals
[];
23 #define E164_NA_INTERNATIONAL_NUMBER 4
32 e164_number_type_t e164_number_type
;
33 unsigned nature_of_address
;
34 const char *E164_number_str
; /* E164 number string */
35 unsigned E164_number_length
; /* Length of the E164_number string */
44 extern void dissect_e164_number(tvbuff_t
*tvb
, proto_tree
*tree
, int offset
, int length
, e164_info_t e164_info
);
45 WS_DLL_PUBLIC
void dissect_e164_cc(tvbuff_t
*tvb
, proto_tree
*tree
, int offset
, e164_encoding_t encoding
);
46 WS_DLL_PUBLIC
const char * dissect_e164_msisdn(tvbuff_t
*tvb
, proto_tree
*tree
, int offset
, int length
, e164_encoding_t encoding
);
47 WS_DLL_PUBLIC
const char * dissect_e164_isdn(tvbuff_t
*tvb
, proto_tree
*tree
, int offset
, int length
, e164_encoding_t encoding
);