1 /* packet-cell_broadcast.h
3 * Copyright 2011, Mike Morrin <mike.morrin [AT] ipaccess.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_CELL_BROADCAST_H
13 #define PACKET_CELL_BROADCAST_H
17 * Dissects the GSM/UMTS/SABP Message Identifier
19 * @param tvb the tv buffer of the current data
20 * @param tree the tree to append this item to
21 * @param offset the offset in the tvb
23 * @return the offset after the Message Identifier
25 unsigned dissect_cbs_message_identifier(tvbuff_t
*tvb
, proto_tree
*tree
, unsigned offset
);
29 * Decodes the GSM/UMTS/SABP message Serial Number
31 * @param tvb the tv buffer of the current data
32 * @param tree the tree to append this item to
33 * @param offset the offset in the tvb
35 * @return the offset after the Serial Number
37 unsigned dissect_cbs_serial_number(tvbuff_t
*tvb
, proto_tree
*tree
, unsigned offset
);
41 * Dissects UMTS/SABP Cell Broadcast Message
43 * @param tvb the tv buffer of the current data
44 * @param pinfo the packet info of the current data
45 * @param tree the tree to append this item to
46 * @param data parameter to pass to subdissector
48 int dissect_umts_cell_broadcast_message(tvbuff_t
*tvb
, packet_info
*pinfo
, proto_tree
*tree
, void* data
);
53 tvbuff_t
* dissect_cbs_data(uint8_t sms_encoding
, tvbuff_t
*tvb
, proto_tree
*tree
, packet_info
*pinfo
, unsigned offset
);
55 #endif /* PACKET_CELL_BROADCAST_H */