| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
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 <epan/packet_info.h>
16#include <wsutil/value_string.h>
17
18/* event byte in the PCAP DVB-CI pseudo-header */
19#define DVBCI_EVT_DATA_CAM_TO_HOST 0xFF
20#define DVBCI_EVT_DATA_HOST_TO_CAM 0xFE
21#define DVBCI_EVT_CIS_READ 0xFD
22#define DVBCI_EVT_COR_WRITE 0xFC
23#define DVBCI_EVT_HW_EVT 0xFB
24/* this value is not really part of the PCAP DVB-CI specification
25 it's used as return value for dvbci_get_evt_from_addrs() when the
26 event can't be determined by looking at source and destination addresses */
27#define DVBCI_EVT_INVALID_EVT 0x00
28
29WS_DLL_PUBLIC const value_string dvbci_event[];
30
31 int dvbci_set_addrs(uint8_t event, packet_info *pinfo);
32
33#endif
34
35/*
36 * Editor modelines - https://www.wireshark.org/tools/modelines.html
37 *
38 * Local variables:
39 * c-basic-offset: 4
40 * tab-width: 8
41 * indent-tabs-mode: nil
42 * End:
43 *
44 * vi: set shiftwidth=4 tabstop=8 expandtab:
45 * :indentSize=4:tabSize=8:noTabs=true:
46 */
packet_info.h
_packet_info
Definition packet_info.h:43
_value_string
Mapping between a 32-bit integer value and its string representation.
Definition value_string.h:33
value_string.h