Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
packet-dis.h
1/* packet-dis.h
2 * Routines for DIS tap data.
3 *
4 * Wireshark - Network traffic analyzer
5 * By Gerald Combs <[email protected]>
6 * Copyright 1998 Gerald Combs
7 *
8 * SPDX-License-Identifier: GPL-2.0-or-later
9 */
10
11#ifndef __PACKET_DIS_H__
12#define __PACKET_DIS_H__
13
14#include <stdbool.h>
15#include <stdint.h>
16
17#define DIS_PAYLOAD_TYPE_INVALID 0xff
18#define DIS_TAP_PDU_TRANSMITTER 25
19#define DIS_TAP_PDU_SIGNAL 26
20
21typedef struct dis_tap_info {
22 bool info_valid_radio_pdu_tap;
23 uint8_t info_pdu_type;
24 uint16_t info_radio_id;
25 uint16_t info_entity_id_site;
26 uint16_t info_entity_id_appl;
27 uint16_t info_entity_id_entity;
28 uint8_t info_transmit_state;
29 uint8_t info_radio_input_source;
30 uint8_t info_payload_type;
31 uint32_t info_tx_timestamp;
32 uint32_t info_sample_rate;
33 uint32_t info_num_samples;
34 bool info_all_data_present;
35 unsigned info_payload_offset;
36 unsigned info_payload_len;
37 const uint8_t *info_data;
38 const char *info_payload_type_str;
40
41#endif /* __PACKET_DIS_H__ */
Definition packet-dis.h:21