Wireshark 4.7.3
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
packet-ptp.h
1/* packet-ptp.h
2 *
3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <[email protected]>
5 * Copyright 1998 Gerald Combs
6 *
7 * SPDX-License-Identifier: GPL-2.0-or-later
8 */
9
10#ifndef __PACKET_PTP_H__
11#define __PACKET_PTP_H__
12
13extern value_string_ext ptp_v2_clockAccuracy_vals_ext;
14extern value_string_ext ptp_v2_timeSource_vals_ext;
15extern value_string_ext ptp_v2_portState_vals_ext;
16extern const value_string ptp_v2_delayMechanism_vals[];
17
18void dissect_ptp_v2_timeInterval(tvbuff_t *tvb, unsigned *cur_offset, proto_tree *tree,
19 const char* name,
20 int hf_ptp_v2_timeInterval_ns, int hf_ptp_v2_timeInterval_subns,
21 proto_tree **tree_out, int64_t *ns_out);
22
24 bool is_802_1as;
25 uint16_t ptp_v2_flags;
26 uint8_t ptp_v2_messageid;
27} ptp_v2_tlv_org_ext_info_t;
28
29#endif /* packet-ptp.h */
Definition packet-ptp.h:23
struct _value_string value_string
Mapping between a 32-bit integer value and its string representation.