1 /* packet-lix2-template.c
2 * Routines for Lawful Interception X2 xIRI event dissection
4 * See 3GPP TS33.128 V18.5.0
6 * Wireshark - Network traffic analyzer
7 * By Gerald Combs <gerald@wireshark.org>
8 * Copyright 1998 Gerald Combs
10 * SPDX-License-Identifier: GPL-2.0-or-later
15 #include <epan/packet.h>
16 #include <epan/conversation.h>
17 #include <epan/asn1.h>
18 #include <wsutil/array.h>
20 #include "packet-ber.h"
21 #include "packet-e164.h"
22 #include "packet-e212.h"
23 #include "packet-gsm_a_common.h"
24 #include "packet-gtpv2.h"
26 #define PNAME "X2 xIRI payload"
30 void proto_reg_handoff_lix2(void);
31 void proto_register_lix2(void);
33 /* Initialize the protocol and registered fields */
34 static int proto_lix2
;
35 static dissector_handle_t lix2_handle
;
38 #include "packet-lix2-hf.c"
40 static int ett_lix2_eps_indicationflags
;
41 #include "packet-lix2-ett.c"
43 #include "packet-lix2-fn.c"
45 /*--- proto_register_lix2 -------------------------------------------*/
46 void proto_register_lix2(void) {
49 static hf_register_info hf
[] = {
50 #include "packet-lix2-hfarr.c"
53 /* List of subtrees */
55 #include "packet-lix2-ettarr.c"
58 /* Register protocol */
59 proto_lix2
= proto_register_protocol(PNAME
, PSNAME
, PFNAME
);
61 /* Register fields and subtrees */
62 proto_register_field_array(proto_lix2
, hf
, array_length(hf
));
63 proto_register_subtree_array(ett
, array_length(ett
));
65 lix2_handle
= register_dissector("xiri", dissect_XIRIPayload_PDU
, proto_lix2
);
67 /* Get rid of unused code warnings */
68 (void)&dissect_lix2_MMSElementDescriptor
;
69 (void)&dissect_lix2_MMSCancelStatus
;
70 (void)&lix2_MMSCancelStatus_vals
;
71 (void)&dissect_lix2_LINotificationPayload
;
72 (void)&dissect_lix2_CCPayload
;
73 (void)&dissect_lix2_IRIPayload
;
74 (void)&hf_lix2_bCCRecipients_item
;
75 (void)&hf_lix2_cCRecipients_item
;
76 (void)&hf_lix2_expectedTimeAndDayOfWeekInTrajectory_item
;
77 (void)&hf_lix2_globalENbIDList_item
;
78 (void)&hf_lix2_originatingMMSParty_item
;
79 (void)&hf_lix2_pTCHoldID_item
;
80 (void)&hf_lix2_pTCIDList_item
;