Wireshark
2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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
enum
character_set {
14
OTHER,
15
GSM_7BITS,
16
ASCII_7BITS
17
};
18
19
/*
20
* contains a subset of parameters dissected from the UDH
21
* that are useful in the GSM SMS dissector or other dissectors
22
* (packet-ansi_637.c)
23
*/
24
typedef
struct
{
25
guint16 sm_id;
/* message identifier */
26
guint16 frags;
/* total number of fragments */
27
guint16 frag;
/* fragment number */
28
guint16 port_src;
/* application port addressing scheme source port */
29
guint16 port_dst;
/* application port addressing scheme destination port */
30
}
gsm_sms_udh_fields_t
;
31
32
void
dis_field_udh(
tvbuff_t
*tvb,
packet_info
* pinfo,
proto_tree
*tree, guint32 *offset, guint32 *length,
33
guint8 *udl,
enum
character_set cset, guint8 *fill_bits,
gsm_sms_udh_fields_t
*p_udh_fields);
34
35
/* Data structure that can be optionally given to gsm_sms dissector */
36
typedef
struct
_gsm_sms_data_t
{
37
gboolean stk_packing_required;
38
}
gsm_sms_data_t
;
_gsm_sms_data_t
Definition:
packet-gsm_sms.h:36
_packet_info
Definition:
packet_info.h:44
gsm_sms_udh_fields_t
Definition:
packet-gsm_sms.h:24
tvbuff
Definition:
tvbuff-int.h:35
_proto_node
Definition:
proto.h:759
Generated by
1.8.11