Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
packet-tetra-template.h
1 /* packet-tetra.h
2  * Routines for TETRA packet dissection
3  *
4  * Copyright (c) 2007 - 2011 Professional Mobile Communication Research Group,
5  * Beijing Institute of Technology, China
6  *
7  * Wireshark - Network traffic analyzer
8  * By Gerald Combs <gerald@wireshark.org>
9  * Copyright 1998 Gerald Combs
10  *
11  * SPDX-License-Identifier: GPL-2.0-or-later
12  *
13  * REF: ETSI EN 300 392-2 V3.2.1
14  */
15 
16 #ifndef PACKET_TETRA_H
17 #define PACKET_TETRA_H
18 
19 enum {
20  TETRA_CHAN_AACH = 1,
21  TETRA_CHAN_SCH_F = 2,
22  TETRA_CHAN_SCH_D = 3,
23  TETRA_CHAN_BSCH = 5,
24  TETRA_CHAN_BNCH = 6,
25  TETRA_CHAN_TCH_F = 7,
26  TETRA_CHAN_TCH_H = 8,
27  TETRA_CHAN_TCH_2_4 = 9,
28  TETRA_CHAN_TCH_4_8 = 10,
29  TETRA_CHAN_STCH = 11,
30  TETRA_CHAN_SCH_HU = 15
31 };
32 
33 enum {
34  TETRA_UPLINK,
35  TETRA_DOWNLINK
36 };
37 
38 void tetra_dissect_pdu(int channel_type, int dir, tvbuff_t *pdu, proto_tree *head, packet_info *pinfo);
39 
40 /*#include "packet-tetra-exp.h"*/
41 #endif /* PACKET_TETRA_H */
Definition: packet_info.h:44
Definition: tvbuff-int.h:35
Definition: proto.h:759