1999-10-14 05:10:33 +00:00
|
|
|
/* packet-ntp.h
|
|
|
|
* Definitions for packet disassembly structures and routines
|
2007-01-05 13:42:08 +00:00
|
|
|
* Joerg Mayer <jmayer@loplof.de>
|
1999-10-14 05:10:33 +00:00
|
|
|
*
|
2004-07-18 00:24:25 +00:00
|
|
|
* $Id$
|
1999-10-14 05:10:33 +00:00
|
|
|
*
|
2006-05-21 04:49:01 +00:00
|
|
|
* Wireshark - Network traffic analyzer
|
2007-01-05 13:42:08 +00:00
|
|
|
* By Gerald Combs <gerald@wireshark.org>
|
1999-10-14 05:10:33 +00:00
|
|
|
* Copyright 1998 Gerald Combs
|
|
|
|
*
|
2007-01-05 13:42:08 +00:00
|
|
|
* This is from yahoolib.h from gtkyahoo
|
2002-08-28 21:04:11 +00:00
|
|
|
*
|
1999-10-14 05:10:33 +00:00
|
|
|
* 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.
|
2002-08-28 21:04:11 +00:00
|
|
|
*
|
1999-10-14 05:10:33 +00:00
|
|
|
* 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.
|
2002-08-28 21:04:11 +00:00
|
|
|
*
|
1999-10-14 05:10:33 +00:00
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
2007-01-05 13:42:08 +00:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
1999-10-14 05:10:33 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef PACKET_NTP_H
|
|
|
|
#define PACKET_NTP_H
|
|
|
|
|
2011-02-09 03:00:51 +00:00
|
|
|
extern const char *tvb_ntp_fmt_ts(tvbuff_t *tvb, gint offset);
|
2011-02-09 03:24:12 +00:00
|
|
|
extern void ntp_to_nstime(tvbuff_t *tvb, gint offset, nstime_t *nstime);
|
2004-05-13 20:20:34 +00:00
|
|
|
|
1999-10-14 05:10:33 +00:00
|
|
|
#endif
|