Wireshark  4.3.0
The Wireshark network protocol analyzer
packet-dvbci.h
1 /* packet-dvbci.h
2  * Routines for DVB-CI (Common Interface) dissection
3  * Copyright 2013, Martin Kaiser <martin@kaiser.cx>
4  *
5  * Wireshark - Network traffic analyzer
6  * By Gerald Combs <gerald@wireshark.org>
7  * Copyright 1998 Gerald Combs
8  *
9  * SPDX-License-Identifier: GPL-2.0-or-later
10  */
11 
12 #ifndef __PACKET_DVBCI_H__
13 #define __PACKET_DVBCI_H__
14 
15 #include <glib.h>
16 #include <epan/packet_info.h>
17 #include <epan/value_string.h>
18 
19 /* event byte in the PCAP DVB-CI pseudo-header */
20 #define DVBCI_EVT_DATA_CAM_TO_HOST 0xFF
21 #define DVBCI_EVT_DATA_HOST_TO_CAM 0xFE
22 #define DVBCI_EVT_CIS_READ 0xFD
23 #define DVBCI_EVT_COR_WRITE 0xFC
24 #define DVBCI_EVT_HW_EVT 0xFB
25 /* this value is not really part of the PCAP DVB-CI specification
26  it's used as return value for dvbci_get_evt_from_addrs() when the
27  event can't be determined by looking at source and destination addresses */
28 #define DVBCI_EVT_INVALID_EVT 0x00
29 
30 WS_DLL_PUBLIC const value_string dvbci_event[];
31 
32 gint dvbci_set_addrs(guint8 event, packet_info *pinfo);
33 
34 #endif
35 
36 /*
37  * Editor modelines - https://www.wireshark.org/tools/modelines.html
38  *
39  * Local variables:
40  * c-basic-offset: 4
41  * tab-width: 8
42  * indent-tabs-mode: nil
43  * End:
44  *
45  * vi: set shiftwidth=4 tabstop=8 expandtab:
46  * :indentSize=4:tabSize=8:noTabs=true:
47  */
Definition: packet_info.h:44
Definition: value_string.h:26