Wireshark 4.5.0
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, int *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;
28
29#endif /* packet-ptp.h */
Definition proto.h:903
Definition value_string.h:169
Definition value_string.h:25
Definition packet-ptp.h:23
Definition tvbuff-int.h:35