2 * Routines for 3GPP Radio Resource LCS Protocol (RRLP) packet dissection
3 * Copyright 2006, Anders Broman <anders.broman@ericsson.com>
7 * Wireshark - Network traffic analyzer
8 * By Gerald Combs <gerald@wireshark.org>
9 * Copyright 1998 Gerald Combs
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License
13 * as published by the Free Software Foundation; either version 2
14 * of the License, or (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25 * Ref 3GPP TS 44.031 version 6.8.0 Release 6
34 #include <epan/packet.h>
35 #include <epan/conversation.h>
40 #include "packet-rrlp.h"
42 #include "packet-ber.h"
43 #include "packet-per.h"
44 #include "packet-gsm_map.h"
46 #define PNAME "Radio Resource LCS Protocol (RRLP)"
50 static dissector_handle_t rrlp_handle=NULL;
53 /* Initialize the protocol and registered fields */
54 static int proto_rrlp = -1;
57 #include "packet-rrlp-hf.c"
59 /* Initialize the subtree pointers */
60 static gint ett_rrlp = -1;
61 #include "packet-rrlp-ett.c"
63 /* Include constants */
64 #include "packet-rrlp-val.h"
67 #include "packet-rrlp-fn.c"
70 /*--- proto_register_rrlp -------------------------------------------*/
71 void proto_register_rrlp(void) {
74 static hf_register_info hf[] = {
76 #include "packet-rrlp-hfarr.c"
79 /* List of subtrees */
80 static gint *ett[] = {
82 #include "packet-rrlp-ettarr.c"
86 /* Register protocol */
87 proto_rrlp = proto_register_protocol(PNAME, PSNAME, PFNAME);
88 register_dissector("rrlp", dissect_PDU_PDU, proto_rrlp);
90 /* Register fields and subtrees */
91 proto_register_field_array(proto_rrlp, hf, array_length(hf));
92 proto_register_subtree_array(ett, array_length(ett));
98 /*--- proto_reg_handoff_rrlp ---------------------------------------*/
100 proto_reg_handoff_rrlp(void)
103 rrlp_handle = create_dissector_handle(dissect_PDU_PDU, proto_rrlp);