aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ntp.h
blob: 389b5f57d03390d269bf1cb250a845de45dde40b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* packet-ntp.h
 * Definitions for packet disassembly structures and routines
 *
 * Wireshark - Network traffic analyzer
 * By Gerald Combs <gerald@wireshark.org>
 * 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(tvbuff_t *tvb, gint offset);
extern const char *tvb_ntp_fmt_ts_sec(tvbuff_t *tvb, gint offset);
extern const char *tvb_mip6_fmt_ts(tvbuff_t *tvb, gint offset);
extern void ntp_to_nstime(tvbuff_t *tvb, gint offset, nstime_t *nstime);

#endif