forked from osmocom/wireshark
1e3840e40c
Change-Id: If257831315423e5654cbbc3f6af99703cfad7f90 Reviewed-on: https://code.wireshark.org/review/7614 Reviewed-by: Anders Broman <a.broman58@gmail.com>
32 lines
1.2 KiB
C
32 lines
1.2 KiB
C
/* packet-ntp.h
|
|
* Definitions for packet disassembly structures and routines
|
|
*
|
|
* Wireshark - Network traffic analyzer
|
|
* By Gerald Combs <gerald@wireshark.org>
|
|
* Copyright 1998 Gerald Combs
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* as published by the Free Software Foundation; either version 2
|
|
* of the License, or (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
*/
|
|
|
|
#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
|