1999-10-14 05:10:33 +00:00
|
|
|
/* packet-ntp.h
|
|
|
|
* Definitions for packet disassembly structures and routines
|
|
|
|
*
|
2004-07-18 00:24:25 +00:00
|
|
|
* $Id$
|
1999-10-14 05:10:33 +00:00
|
|
|
*
|
|
|
|
* Ethereal - Network traffic analyzer
|
|
|
|
* By Gerald Combs <gerald@zing.org>
|
|
|
|
* Copyright 1998 Gerald Combs
|
2001-04-17 00:46:06 +00:00
|
|
|
* Joerg Mayer <jmayer@loplof.de>
|
1999-10-14 05:10:33 +00:00
|
|
|
*
|
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
|
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* This is from yahoolib.h from gtkyahoo */
|
|
|
|
|
|
|
|
#ifndef PACKET_NTP_H
|
|
|
|
#define PACKET_NTP_H
|
|
|
|
|
1999-10-22 06:31:39 +00:00
|
|
|
/* NTP_BASETIME is infact epoch - ntp_start_time */
|
|
|
|
#define NTP_BASETIME 2208988800ul
|
|
|
|
#define NTP_TS_SIZE 100
|
|
|
|
|
2004-05-13 20:20:34 +00:00
|
|
|
extern char * ntp_fmt_ts(const guint8 *reftime, char* buff);
|
|
|
|
|
1999-10-14 05:10:33 +00:00
|
|
|
#endif
|