3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <gerald@wireshark.org>
5 * Copyright 1998 Gerald Combs
7 * SPDX-License-Identifier: GPL-2.0-or-later
10 #ifndef __PACKET_PTP_H__
11 #define __PACKET_PTP_H__
13 extern value_string_ext ptp_v2_clockAccuracy_vals_ext
;
14 extern value_string_ext ptp_v2_timeSource_vals_ext
;
15 extern value_string_ext ptp_v2_portState_vals_ext
;
16 extern const value_string ptp_v2_delayMechanism_vals
[];
18 void dissect_ptp_v2_timeInterval(tvbuff_t
*tvb
, uint16_t *cur_offset
, proto_tree
*tree
,
20 int hf_ptp_v2_timeInterval_ns
, int hf_ptp_v2_timeInterval_subns
,
21 proto_tree
**tree_out
, int64_t *ns_out
);
24 #endif /* packet-ptp.h */