Set the svn:eol-style property on all text files to "native", so that
[obnox/wireshark/wip.git] / packet-ntp.h
1 /* packet-ntp.h
2  * Definitions for packet disassembly structures and routines
3  *
4  * $Id$
5  *
6  * Ethereal - Network traffic analyzer
7  * By Gerald Combs <gerald@zing.org>
8  * Copyright 1998 Gerald Combs
9  * Joerg Mayer <jmayer@loplof.de>
10  *
11  *
12  * This program is free software; you can redistribute it and/or
13  * modify it under the terms of the GNU General Public License
14  * as published by the Free Software Foundation; either version 2
15  * of the License, or (at your option) any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20  * GNU General Public License for more details.
21  *
22  * You should have received a copy of the GNU General Public License
23  * along with this program; if not, write to the Free Software
24  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
25  */
26
27 /* This is from yahoolib.h from gtkyahoo */
28
29 #ifndef PACKET_NTP_H
30 #define PACKET_NTP_H
31
32 /* NTP_BASETIME is infact epoch - ntp_start_time */
33 #define NTP_BASETIME 2208988800ul
34 #define NTP_TS_SIZE 100
35
36 extern char * ntp_fmt_ts(const guint8 *reftime, char* buff);
37
38 #endif