Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
packet-e212.h
1/* packet-e212.h
2 * E212 tables
3 * Copyright 2006, Anders Broman <[email protected]>
4 *
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <[email protected]>
7 * Copyright 1998 Gerald Combs
8 *
9 * SPDX-License-Identifier: GPL-2.0-or-later
10 */
11
12#ifndef __PACKET_E212_H__
13#define __PACKET_E212_H__
14
15#include <epan/value_string.h>
16#include "ws_symbol_export.h"
17
18extern value_string_ext E212_codes_ext;
19
20extern value_string_ext mcc_mnc_2digits_codes_ext;
21
22extern value_string_ext mcc_mnc_3digits_codes_ext;
23
24typedef enum {
25 E212_NONE,
26 E212_LAI,
27 E212_RAI,
28 E212_SAI,
29 E212_CGI,
30 E212_ECGI,
31 E212_TAI,
32 E212_NRCGI,
33 E212_5GSTAI,
34 E212_GUMMEI,
35 E212_GUAMI,
36 E212_SERV_NET,
37} e212_number_type_t;
38
39char* dissect_e212_mcc_mnc_wmem_packet_str(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, e212_number_type_t number_type, bool little_endian);
40
41WS_DLL_PUBLIC
42int dissect_e212_mcc_mnc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, e212_number_type_t number_type, bool little_endian);
43
44WS_DLL_PUBLIC
45int dissect_e212_mcc_mnc_in_address(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset);
46
47WS_DLL_PUBLIC
48int dissect_e212_mcc_mnc_in_utf8_address(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset);
49
66WS_DLL_PUBLIC
67const char * dissect_e212_imsi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, int length, bool skip_first);
68
77WS_DLL_PUBLIC
78const char * dissect_e212_utf8_imsi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, int length);
79
80#endif /* __PACKET_E212_H__ */
81
82/*
83 * Editor modelines - https://www.wireshark.org/tools/modelines.html
84 *
85 * Local variables:
86 * c-basic-offset: 4
87 * tab-width: 8
88 * indent-tabs-mode: nil
89 * End:
90 *
91 * vi: set shiftwidth=4 tabstop=8 expandtab:
92 * :indentSize=4:tabSize=8:noTabs=true:
93 */
Definition packet_info.h:43
Definition proto.h:901
Definition value_string.h:169
Definition tvbuff-int.h:35