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 <anders.broman@ericsson.com>
4 *
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
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_number_type_t;
37
38char* 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);
39
40WS_DLL_PUBLIC
41int dissect_e212_mcc_mnc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, e212_number_type_t number_type, bool little_endian);
42
43WS_DLL_PUBLIC
44int dissect_e212_mcc_mnc_in_address(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset);
45
46WS_DLL_PUBLIC
47int dissect_e212_mcc_mnc_in_utf8_address(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset);
48
65WS_DLL_PUBLIC
66const char * dissect_e212_imsi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, int length, bool skip_first);
67
76WS_DLL_PUBLIC
77const char * dissect_e212_utf8_imsi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, int length);
78
79#endif /* __PACKET_E212_H__ */
80
81/*
82 * Editor modelines - https://www.wireshark.org/tools/modelines.html
83 *
84 * Local variables:
85 * c-basic-offset: 4
86 * tab-width: 8
87 * indent-tabs-mode: nil
88 * End:
89 *
90 * vi: set shiftwidth=4 tabstop=8 expandtab:
91 * :indentSize=4:tabSize=8:noTabs=true:
92 */
Definition packet_info.h:43
Definition proto.h:901
Definition value_string.h:169
Definition tvbuff-int.h:35