Wireshark
4.5.0
The Wireshark network protocol analyzer
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
Variables
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
m
o
p
r
s
t
u
v
w
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
Typedefs
a
b
c
d
e
f
g
h
i
m
p
r
s
t
u
v
w
Enumerations
Enumerator
a
b
c
e
f
h
i
n
o
r
s
t
w
Macros
_
a
b
c
d
e
f
g
h
i
j
m
n
o
p
r
s
t
u
v
w
x
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
epan
dissectors
packet-gsm_sms.h
1
/* packet-gsm_sms.h
2
*
3
* Copyright 2004, Michael Lum <mlum [AT] telostech.com>,
4
* In association with Telos Technology Inc.
5
*
6
* Wireshark - Network traffic analyzer
7
* By Gerald Combs <gerald@wireshark.org>
8
* Copyright 1998 Gerald Combs
9
*
10
* SPDX-License-Identifier: GPL-2.0-or-later
11
*/
12
13
#ifndef __PACKET_GSM_SMS_H_
14
#define __PACKET_GSM_SMS_H_
15
16
enum
character_set {
17
OTHER,
18
GSM_7BITS,
19
ASCII_7BITS,
20
GSM_7BITS_UNPACKED,
21
UCS2
22
};
23
24
/*
25
* contains a subset of parameters dissected from the UDH
26
* that are useful in the GSM SMS dissector or other dissectors
27
* (packet-ansi_637.c)
28
*/
29
typedef
struct
{
30
uint16_t sm_id;
/* message identifier */
31
uint16_t frags;
/* total number of fragments */
32
uint16_t frag;
/* fragment number */
33
uint16_t port_src;
/* application port addressing scheme source port */
34
uint16_t port_dst;
/* application port addressing scheme destination port */
35
}
gsm_sms_udh_fields_t
;
29
typedef
struct
{
…
};
36
37
void
dis_field_udh(
tvbuff_t
*tvb,
packet_info
* pinfo,
proto_tree
*tree, uint32_t *offset, uint32_t *length,
38
uint8_t *udl,
enum
character_set cset, uint8_t *fill_bits,
gsm_sms_udh_fields_t
*p_udh_fields);
39
40
void
dis_field_addr(
tvbuff_t
*tvb,
packet_info
* pinfo,
proto_tree
*tree, uint32_t *offset_p,
const
char
*title);
41
42
/* Data structure that can be optionally given to gsm_sms dissector */
43
typedef
struct
_gsm_sms_data_t
{
44
bool
stk_packing_required;
45
}
gsm_sms_data_t
;
43
typedef
struct
_gsm_sms_data_t
{
…
};
46
47
#endif
_gsm_sms_data_t
Definition
packet-gsm_sms.h:43
_packet_info
Definition
packet_info.h:43
_proto_node
Definition
proto.h:903
gsm_sms_udh_fields_t
Definition
packet-gsm_sms.h:29
tvbuff
Definition
tvbuff-int.h:35
Generated by
1.9.8