2011-04-16 12:22:16 +00:00
|
|
|
/* packet-bmc.c
|
|
|
|
* Routines for Broadcast/Multicast Control dissection
|
|
|
|
* Copyright 2011, Neil Piercy <Neil.Piercy@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.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
2012-09-20 02:03:38 +00:00
|
|
|
#include "config.h"
|
2011-04-16 12:22:16 +00:00
|
|
|
|
|
|
|
#include <epan/packet.h>
|
2013-11-16 09:16:57 +00:00
|
|
|
#include <wsutil/bitswap.h>
|
2012-01-26 19:51:48 +00:00
|
|
|
#include <epan/asn1.h> /* needed for packet-gsm_map.h */
|
|
|
|
|
|
|
|
#include "packet-cell_broadcast.h"
|
|
|
|
#include "packet-gsm_map.h"
|
2011-04-16 12:22:16 +00:00
|
|
|
|
2013-03-14 07:37:13 +00:00
|
|
|
void proto_register_bmc(void);
|
|
|
|
|
2012-03-06 16:58:09 +00:00
|
|
|
static int dissect_bmc_cbs_message (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
|
2011-04-16 12:22:16 +00:00
|
|
|
static int dissect_bmc_schedule_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
|
2012-03-06 16:58:09 +00:00
|
|
|
static int dissect_bmc_cbs41_message (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
|
2011-04-16 12:22:16 +00:00
|
|
|
|
|
|
|
static int proto_bmc = -1;
|
|
|
|
static int hf_bmc_message_type = -1;
|
|
|
|
static int hf_bmc_message_id = -1;
|
|
|
|
static int hf_bmc_serial_number = -1;
|
2013-01-31 17:55:31 +00:00
|
|
|
/* static int hf_bmc_data_coding_scheme = -1; */
|
|
|
|
/* static int hf_bmc_cb_data = -1; */
|
2011-04-16 12:22:16 +00:00
|
|
|
static int hf_bmc_offset_to_begin_ctch_bs_index = -1;
|
|
|
|
static int hf_bmc_length_of_cbs_schedule_period = -1;
|
|
|
|
static int hf_bmc_new_message_bitmap = -1;
|
|
|
|
static int hf_bmc_message_description_type = -1;
|
|
|
|
static int hf_bmc_offset_to_ctch_bs_index_of_first_transmission = -1;
|
|
|
|
static int hf_bmc_broadcast_address = -1;
|
|
|
|
static int hf_bmc_cb_data41 = -1;
|
|
|
|
static int hf_bmc_future_extension_bitmap = -1;
|
|
|
|
static int hf_bmc_length_of_serial_number_list = -1;
|
|
|
|
static int hf_bmc_ctch_bs_index = -1;
|
|
|
|
|
|
|
|
#define MESSAGE_TYPE_CBS_MESSAGE 1
|
|
|
|
#define MESSAGE_TYPE_SCHEDULE_MESSAGE 2
|
|
|
|
#define MESSAGE_TYPE_CBS41_MESSAGE 3
|
|
|
|
|
2011-04-16 15:33:24 +00:00
|
|
|
static const value_string message_type_vals[] = {
|
2011-04-16 12:22:16 +00:00
|
|
|
{MESSAGE_TYPE_CBS_MESSAGE, "CBS Message"},
|
|
|
|
{MESSAGE_TYPE_SCHEDULE_MESSAGE, "Schedule Message"},
|
|
|
|
{MESSAGE_TYPE_CBS41_MESSAGE, "CBS41 Message"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
2011-04-16 15:33:24 +00:00
|
|
|
static const value_string message_description_type_vals[] = {
|
2011-04-16 12:22:16 +00:00
|
|
|
{0, "Repetition of new BMC CBS message within schedule period"},
|
|
|
|
{1, "New BMC CBS message (a BMC CBS message never previously sent)"},
|
|
|
|
{2, "Reading advised"},
|
|
|
|
{3, "Reading optional"},
|
|
|
|
{4, "Repetition of old BMC CBS message within schedule period"},
|
|
|
|
{5, "Old BMC CBS message (repetition of a BMC CBS message sent in a previous schedule period)"},
|
|
|
|
{6, "Schedule message"},
|
|
|
|
{7, "CBS41 message"},
|
|
|
|
{8, "no message"},
|
|
|
|
{0, NULL}
|
|
|
|
};
|
|
|
|
|
|
|
|
static gint ett_bmc = -1;
|
|
|
|
static gint ett_bmc_message_description = -1;
|
|
|
|
|
|
|
|
static int
|
2012-09-10 21:40:21 +00:00
|
|
|
dissect_bmc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
|
2011-04-16 12:22:16 +00:00
|
|
|
{
|
2012-03-06 16:58:09 +00:00
|
|
|
guint8 message_type;
|
2013-11-16 22:31:07 +00:00
|
|
|
guint8 *reversing_buffer;
|
2012-03-06 16:58:09 +00:00
|
|
|
gint offset = 0;
|
2013-11-16 22:44:29 +00:00
|
|
|
gint len;
|
2011-04-16 12:22:16 +00:00
|
|
|
proto_item *ti;
|
|
|
|
proto_tree *bmc_tree;
|
2012-03-06 16:58:09 +00:00
|
|
|
tvbuff_t *bit_reversed_tvb;
|
2011-04-16 12:22:16 +00:00
|
|
|
|
|
|
|
col_set_str(pinfo->cinfo, COL_PROTOCOL, "BMC");
|
|
|
|
col_clear(pinfo->cinfo, COL_INFO);
|
|
|
|
|
|
|
|
ti = proto_tree_add_item(tree, proto_bmc, tvb, 0, -1, ENC_NA);
|
|
|
|
bmc_tree = proto_item_add_subtree(ti, ett_bmc);
|
|
|
|
|
|
|
|
/* Needs bit-reversing. Create a new buffer, copy the message to it and bit-reverse */
|
2015-04-15 15:20:35 +00:00
|
|
|
len = tvb_reported_length(tvb);
|
2013-09-22 15:50:55 +00:00
|
|
|
reversing_buffer = (guint8 *)tvb_memdup(NULL, tvb, offset, len);
|
2013-11-16 22:44:29 +00:00
|
|
|
bitswap_buf_inplace(reversing_buffer, len);
|
2011-04-16 12:22:16 +00:00
|
|
|
|
|
|
|
/* Make this new buffer part of the display and provide a way to dispose of it */
|
2011-12-13 04:01:33 +00:00
|
|
|
bit_reversed_tvb = tvb_new_child_real_data(tvb, reversing_buffer, len, len);
|
2013-08-19 10:39:43 +00:00
|
|
|
tvb_set_free_cb(bit_reversed_tvb, g_free);
|
2011-04-16 12:22:16 +00:00
|
|
|
add_new_data_source(pinfo, bit_reversed_tvb, "Bit-reversed Data");
|
|
|
|
|
|
|
|
message_type = tvb_get_guint8(bit_reversed_tvb, offset);
|
|
|
|
proto_tree_add_item(bmc_tree, hf_bmc_message_type, bit_reversed_tvb, offset, 1, ENC_BIG_ENDIAN);
|
|
|
|
offset++;
|
|
|
|
col_add_fstr(pinfo->cinfo, COL_INFO, "%s", val_to_str(message_type, message_type_vals,"Reserved 0x%02x"));
|
|
|
|
|
|
|
|
switch (message_type) {
|
|
|
|
case MESSAGE_TYPE_CBS_MESSAGE:
|
|
|
|
offset = dissect_bmc_cbs_message(bit_reversed_tvb, pinfo, bmc_tree);
|
|
|
|
break;
|
|
|
|
|
|
|
|
case MESSAGE_TYPE_SCHEDULE_MESSAGE:
|
|
|
|
offset = dissect_bmc_schedule_message(bit_reversed_tvb, pinfo, bmc_tree);
|
|
|
|
break;
|
|
|
|
|
|
|
|
case MESSAGE_TYPE_CBS41_MESSAGE:
|
|
|
|
offset = dissect_bmc_cbs41_message(bit_reversed_tvb, pinfo, bmc_tree);
|
|
|
|
break;
|
|
|
|
|
|
|
|
default:
|
|
|
|
break;
|
|
|
|
}
|
2011-04-27 17:30:39 +00:00
|
|
|
|
2011-04-16 12:22:16 +00:00
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
2011-04-27 17:30:39 +00:00
|
|
|
static int
|
|
|
|
dissect_bmc_cbs_message(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree)
|
2011-04-16 12:22:16 +00:00
|
|
|
{
|
2012-01-26 19:51:48 +00:00
|
|
|
tvbuff_t *cell_broadcast_tvb;
|
2012-03-06 16:58:09 +00:00
|
|
|
gint offset = 1;
|
2011-04-27 17:30:39 +00:00
|
|
|
|
2012-01-26 19:51:48 +00:00
|
|
|
dissect_cbs_message_identifier(tvb, tree, offset);
|
2011-04-16 12:22:16 +00:00
|
|
|
offset += 2;
|
2011-04-27 17:30:39 +00:00
|
|
|
|
2012-01-26 19:51:48 +00:00
|
|
|
dissect_cbs_serial_number(tvb, tree, offset);
|
2011-04-16 12:22:16 +00:00
|
|
|
offset += 2;
|
2011-04-27 17:30:39 +00:00
|
|
|
|
2012-01-26 19:51:48 +00:00
|
|
|
dissect_cbs_data_coding_scheme(tvb, pinfo, tree, offset);
|
2011-04-16 12:22:16 +00:00
|
|
|
offset += 1;
|
2011-04-27 17:30:39 +00:00
|
|
|
|
2012-03-06 16:58:09 +00:00
|
|
|
cell_broadcast_tvb = tvb_new_subset_remaining(tvb, offset);
|
2015-11-10 04:01:28 +00:00
|
|
|
dissect_umts_cell_broadcast_message(cell_broadcast_tvb, pinfo, tree, NULL);
|
2015-04-15 15:20:35 +00:00
|
|
|
offset = tvb_reported_length(cell_broadcast_tvb);
|
2011-04-27 17:30:39 +00:00
|
|
|
|
2011-04-16 12:22:16 +00:00
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
2011-04-27 17:30:39 +00:00
|
|
|
static int
|
|
|
|
dissect_bmc_schedule_message(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree)
|
2011-04-16 12:22:16 +00:00
|
|
|
{
|
2012-03-06 16:58:09 +00:00
|
|
|
gint offset = 1, i, saved_offset;
|
|
|
|
guint8 new_message_bitmap_len;
|
|
|
|
guint8 length_of_cbs_schedule_period;
|
|
|
|
guint8 message_description_type;
|
|
|
|
guint8 future_extension_bitmap;
|
|
|
|
guint8 length_of_serial_number_list;
|
|
|
|
guint8 entry;
|
2012-07-04 10:08:22 +00:00
|
|
|
guint8 bit;
|
2011-04-16 12:22:16 +00:00
|
|
|
proto_tree *message_description_tree;
|
|
|
|
proto_item *ti;
|
2011-04-27 17:30:39 +00:00
|
|
|
|
2011-04-16 12:22:16 +00:00
|
|
|
proto_tree_add_item(tree, hf_bmc_offset_to_begin_ctch_bs_index, tvb, offset, 1, ENC_BIG_ENDIAN);
|
|
|
|
offset += 1;
|
2011-04-27 17:30:39 +00:00
|
|
|
|
2011-04-16 12:22:16 +00:00
|
|
|
length_of_cbs_schedule_period = tvb_get_guint8(tvb,offset);
|
|
|
|
proto_tree_add_item(tree, hf_bmc_length_of_cbs_schedule_period, tvb, offset, 1, ENC_BIG_ENDIAN);
|
|
|
|
offset += 1;
|
2011-04-27 17:30:39 +00:00
|
|
|
|
2011-04-16 12:22:16 +00:00
|
|
|
new_message_bitmap_len = length_of_cbs_schedule_period>>3;
|
|
|
|
if (length_of_cbs_schedule_period & 0x7)
|
|
|
|
new_message_bitmap_len += 1;
|
2011-04-27 17:30:39 +00:00
|
|
|
|
2011-10-04 22:44:31 +00:00
|
|
|
proto_tree_add_item(tree, hf_bmc_new_message_bitmap, tvb, offset, new_message_bitmap_len, ENC_NA);
|
2011-04-16 12:22:16 +00:00
|
|
|
offset += new_message_bitmap_len;
|
|
|
|
|
2014-06-22 20:01:36 +00:00
|
|
|
message_description_tree = proto_tree_add_subtree(tree, tvb, offset, 0,
|
|
|
|
ett_bmc_message_description, &ti, "Message Description" );
|
2011-04-16 12:22:16 +00:00
|
|
|
saved_offset = offset;
|
|
|
|
|
|
|
|
bit=1;
|
|
|
|
for (i=0; i<new_message_bitmap_len; i++) {
|
2012-07-04 10:08:22 +00:00
|
|
|
for(; bit<=length_of_cbs_schedule_period; bit++) {
|
2011-04-16 12:22:16 +00:00
|
|
|
message_description_type = tvb_get_guint8(tvb,offset);
|
2012-03-06 16:58:09 +00:00
|
|
|
proto_tree_add_uint_format(message_description_tree, hf_bmc_message_description_type,
|
|
|
|
tvb, offset, 1, message_description_type,
|
|
|
|
"Message %d Message Description Type: %s (%d)",
|
|
|
|
bit,
|
2012-08-10 22:55:02 +00:00
|
|
|
val_to_str_const(message_description_type, message_description_type_vals,"Unknown"),
|
2012-03-06 16:58:09 +00:00
|
|
|
message_description_type);
|
2011-04-16 12:22:16 +00:00
|
|
|
offset += 1;
|
2011-04-27 17:30:39 +00:00
|
|
|
|
2011-04-16 12:22:16 +00:00
|
|
|
if ((message_description_type==1) || (message_description_type==5)) {
|
|
|
|
proto_tree_add_item(message_description_tree, hf_bmc_message_id, tvb, offset, 2, ENC_BIG_ENDIAN);
|
|
|
|
offset += 2;
|
|
|
|
}
|
|
|
|
else if ((message_description_type==0) || (message_description_type==4)) {
|
2012-03-06 16:58:09 +00:00
|
|
|
proto_tree_add_item(message_description_tree, hf_bmc_offset_to_ctch_bs_index_of_first_transmission,
|
|
|
|
tvb, offset, 1, ENC_BIG_ENDIAN);
|
2011-04-16 12:22:16 +00:00
|
|
|
offset += 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
proto_item_set_len(ti, offset-saved_offset);
|
|
|
|
|
2015-04-15 15:20:35 +00:00
|
|
|
if (tvb_reported_length_remaining(tvb,offset)) {
|
2011-04-16 12:22:16 +00:00
|
|
|
future_extension_bitmap = tvb_get_guint8(tvb,offset);
|
|
|
|
proto_tree_add_item(tree, hf_bmc_future_extension_bitmap, tvb, offset, 1, ENC_BIG_ENDIAN);
|
|
|
|
offset += 1;
|
|
|
|
if (future_extension_bitmap & 0x01) {
|
|
|
|
length_of_serial_number_list = tvb_get_guint8(tvb,offset);
|
|
|
|
proto_tree_add_item(tree, hf_bmc_length_of_serial_number_list, tvb, offset, 1, ENC_BIG_ENDIAN);
|
|
|
|
offset += 1;
|
2011-04-27 17:30:39 +00:00
|
|
|
|
2011-04-16 12:22:16 +00:00
|
|
|
for (entry=0; entry<length_of_serial_number_list; entry++) {
|
|
|
|
proto_tree_add_item(tree, hf_bmc_serial_number, tvb, offset, 2, ENC_BIG_ENDIAN);
|
|
|
|
offset += 2;
|
|
|
|
|
|
|
|
proto_tree_add_item(tree, hf_bmc_ctch_bs_index, tvb, offset, 1, ENC_BIG_ENDIAN);
|
|
|
|
offset += 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2011-04-27 17:30:39 +00:00
|
|
|
|
2011-04-16 12:22:16 +00:00
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
2011-04-27 17:30:39 +00:00
|
|
|
static int
|
|
|
|
dissect_bmc_cbs41_message(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree)
|
2011-04-16 12:22:16 +00:00
|
|
|
{
|
|
|
|
gint offset=1;
|
2011-04-27 17:30:39 +00:00
|
|
|
|
2011-10-04 22:44:31 +00:00
|
|
|
proto_tree_add_item(tree, hf_bmc_broadcast_address, tvb, offset, 5, ENC_NA);
|
2011-04-16 12:22:16 +00:00
|
|
|
offset += 5;
|
2011-04-27 17:30:39 +00:00
|
|
|
|
2015-04-15 15:20:35 +00:00
|
|
|
proto_tree_add_item(tree, hf_bmc_cb_data41, tvb, offset, tvb_reported_length_remaining(tvb,offset), ENC_NA);
|
|
|
|
offset = tvb_reported_length(tvb);
|
2011-04-27 17:30:39 +00:00
|
|
|
|
2011-04-16 12:22:16 +00:00
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
proto_register_bmc(void)
|
|
|
|
{
|
|
|
|
static hf_register_info hf[] = {
|
|
|
|
{ &hf_bmc_message_type,
|
|
|
|
{ "Message Type", "bmc.message_type",
|
2014-05-28 00:33:22 +00:00
|
|
|
FT_UINT8, BASE_DEC, VALS(message_type_vals), 0,
|
2011-04-16 12:22:16 +00:00
|
|
|
NULL, HFILL }
|
|
|
|
},
|
|
|
|
{ &hf_bmc_message_id,
|
|
|
|
{ "Message ID", "bmc.message_id",
|
|
|
|
FT_UINT16, BASE_HEX, NULL, 0,
|
|
|
|
NULL, HFILL }
|
|
|
|
},
|
|
|
|
{ &hf_bmc_serial_number,
|
|
|
|
{ "Serial Number", "bmc.serial_number",
|
|
|
|
FT_UINT16, BASE_HEX, NULL, 0,
|
|
|
|
NULL, HFILL }
|
|
|
|
},
|
2013-01-31 17:55:31 +00:00
|
|
|
#if 0
|
2011-04-16 12:22:16 +00:00
|
|
|
{ &hf_bmc_data_coding_scheme,
|
|
|
|
{ "Data Coding Scheme", "bmc.data_coding_scheme",
|
|
|
|
FT_UINT8, BASE_HEX, NULL, 0,
|
|
|
|
NULL, HFILL }
|
|
|
|
},
|
|
|
|
{ &hf_bmc_cb_data,
|
|
|
|
{ "CB Data", "bmc.cb_data",
|
|
|
|
FT_BYTES, BASE_NONE, NULL, 0,
|
|
|
|
NULL, HFILL }
|
|
|
|
},
|
2013-01-31 17:55:31 +00:00
|
|
|
#endif
|
2011-04-16 12:22:16 +00:00
|
|
|
{ &hf_bmc_offset_to_begin_ctch_bs_index,
|
|
|
|
{ "Offset to Begin CTCH Block Set Index", "bmc.offset_to_begin_ctch_bs_index",
|
|
|
|
FT_UINT8, BASE_DEC, NULL, 0,
|
|
|
|
NULL, HFILL }
|
|
|
|
},
|
|
|
|
{ &hf_bmc_length_of_cbs_schedule_period,
|
|
|
|
{ "Length of CBS Schedule Period", "bmc.length_of_cbs_schedule_period",
|
|
|
|
FT_UINT8, BASE_DEC, NULL, 0,
|
|
|
|
NULL, HFILL }
|
|
|
|
},
|
|
|
|
{ &hf_bmc_new_message_bitmap,
|
|
|
|
{ "New Message Bitmap", "bmc.new_message_bitmap",
|
|
|
|
FT_BYTES, BASE_NONE, NULL, 0,
|
|
|
|
NULL, HFILL }
|
|
|
|
},
|
|
|
|
{ &hf_bmc_message_description_type,
|
|
|
|
{ "Message Description Type", "bmc.message_description_type",
|
2014-05-28 00:33:22 +00:00
|
|
|
FT_UINT8, BASE_DEC, VALS(message_description_type_vals), 0,
|
2011-04-16 12:22:16 +00:00
|
|
|
NULL, HFILL }
|
|
|
|
},
|
|
|
|
{ &hf_bmc_offset_to_ctch_bs_index_of_first_transmission,
|
|
|
|
{ "Offset to CTCH BS index of first transmission", "bmc.offset_to_ctch_bs_index_of_first_transmission",
|
|
|
|
FT_UINT8, BASE_DEC, NULL, 0,
|
|
|
|
NULL, HFILL }
|
|
|
|
},
|
|
|
|
{ &hf_bmc_broadcast_address,
|
|
|
|
{ "Broadcast Address", "bmc.broadcast_address",
|
|
|
|
FT_BYTES, BASE_NONE, NULL, 0,
|
|
|
|
NULL, HFILL }
|
|
|
|
},
|
|
|
|
{ &hf_bmc_cb_data41,
|
|
|
|
{ "CB Data41", "bmc.cb_data41",
|
|
|
|
FT_BYTES, BASE_NONE, NULL, 0,
|
|
|
|
NULL, HFILL }
|
|
|
|
},
|
|
|
|
{ &hf_bmc_future_extension_bitmap,
|
|
|
|
{ "Future Extension Bitmap", "bmc.future_extension_bitmap",
|
|
|
|
FT_UINT8, BASE_DEC, NULL, 0,
|
|
|
|
NULL, HFILL }
|
|
|
|
},
|
|
|
|
{ &hf_bmc_length_of_serial_number_list,
|
|
|
|
{ "Length of Serial Number List", "bmc.length_of_serial_number_list",
|
|
|
|
FT_UINT8, BASE_DEC, NULL, 0,
|
|
|
|
NULL, HFILL }
|
|
|
|
},
|
|
|
|
{ &hf_bmc_ctch_bs_index,
|
|
|
|
{ "CTCH BS Index", "bmc.ctch_bs_index",
|
|
|
|
FT_UINT8, BASE_DEC, NULL, 0,
|
|
|
|
NULL, HFILL }
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
static gint *ett[] = {
|
|
|
|
&ett_bmc,
|
|
|
|
&ett_bmc_message_description
|
|
|
|
};
|
|
|
|
|
|
|
|
proto_bmc = proto_register_protocol("Broadcast/Multicast Control", "BMC", "bmc");
|
2015-12-09 04:04:01 +00:00
|
|
|
register_dissector("bmc", dissect_bmc, proto_bmc);
|
2011-04-16 12:22:16 +00:00
|
|
|
|
|
|
|
proto_register_field_array(proto_bmc, hf, array_length(hf));
|
|
|
|
proto_register_subtree_array(ett, array_length(ett));
|
|
|
|
}
|
2014-05-28 00:33:22 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Editor modelines - http://www.wireshark.org/tools/modelines.html
|
|
|
|
*
|
|
|
|
* Local variables:
|
|
|
|
* c-basic-offset: 4
|
|
|
|
* tab-width: 8
|
|
|
|
* indent-tabs-mode: nil
|
|
|
|
* End:
|
|
|
|
*
|
|
|
|
* vi: set shiftwidth=4 tabstop=8 expandtab:
|
|
|
|
* :indentSize=4:tabSize=8:noTabs=true:
|
|
|
|
*/
|