diff options
author | Anders Broman <anders.broman@ericsson.com> | 2012-01-26 19:51:48 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2012-01-26 19:51:48 +0000 |
commit | e1d434ee6a56f86ad9e79e2f127382e3bc4409e6 (patch) | |
tree | 60dfbfa55e0b364d2caae8193486767a61fe8baf /epan/dissectors/packet-cell_broadcast.h | |
parent | 6981aa2c2a465247d0b418d5d6c42325b5a595ad (diff) |
From Mike Morrin:
Add dissectors for GSM and UMTS Cell Broadcast protocols.
( - the patch for gsmtap )
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6770
svn path=/trunk/; revision=40735
Diffstat (limited to 'epan/dissectors/packet-cell_broadcast.h')
-rw-r--r-- | epan/dissectors/packet-cell_broadcast.h | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/epan/dissectors/packet-cell_broadcast.h b/epan/dissectors/packet-cell_broadcast.h new file mode 100644 index 0000000000..68923603c0 --- /dev/null +++ b/epan/dissectors/packet-cell_broadcast.h @@ -0,0 +1,59 @@ +/* packet-cell_broadcast.h + * + * $Id$ + * + * Copyright 2011, Mike Morrin <mike.morrin [AT] ipaccess.com>, + * + * Wireshark - Network traffic analyzer + * By Gerald Combs <gerald@wireshark.org> + * Copyright 1998 Gerald Combs + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + +#ifndef PACKET_CELL_BROADCAST_H +#define PACKET_CELL_BROADCAST_H + + +/** + * Dissects the GSM/UMTS/SABP Message Identifier + * + * @param tvb + * @param tree + * @param offset + */ +void dissect_cbs_message_identifier(tvbuff_t *tvb, proto_tree *tree, guint16 offset); + + +/** + * Decodes the GSM/UMTS/SABP message Serial Number + * + * @param tvb + * @param tree + * @param offset + */ +void dissect_cbs_serial_number(tvbuff_t *tvb, proto_tree *tree, guint16 offset); + + +/** + * Dissects UMTS/SABP Cell Broadcast Message + * + * @param tvb + * @param pinfo + * @param tree + */ +guint16 dissect_umts_cell_broadcast_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); + +#endif /* PACKET_CELL_BROADCAST_H */ |