From e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 10 Apr 2024 22:34:10 +0200 Subject: Adding upstream version 4.2.2. Signed-off-by: Daniel Baumann --- epan/dissectors/packet-ntp.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 epan/dissectors/packet-ntp.h (limited to 'epan/dissectors/packet-ntp.h') diff --git a/epan/dissectors/packet-ntp.h b/epan/dissectors/packet-ntp.h new file mode 100644 index 00000000..12879190 --- /dev/null +++ b/epan/dissectors/packet-ntp.h @@ -0,0 +1,17 @@ +/* packet-ntp.h + * Definitions for packet disassembly structures and routines + * + * Wireshark - Network traffic analyzer + * By Gerald Combs + * Copyright 1998 Gerald Combs + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#ifndef PACKET_NTP_H +#define PACKET_NTP_H + +extern const char *tvb_ntp_fmt_ts_sec(tvbuff_t *tvb, gint offset); +extern void ntp_to_nstime(tvbuff_t *tvb, gint offset, nstime_t *nstime); + +#endif -- cgit v1.2.3