1 /*
2 ** Copyright (C) 2001, 2002 Meder Kydyraliev <meder@areopag.net>
3 **
4 ** Copyright (C) 2001 Fyodor Yarochkin <fygrave@tigerteam.net>,
5 **                    Ofir Arkin       <ofir@sys-security.com>
6 **
7 ** This program is free software; you can redistribute it and/or modify
8 ** it under the terms of the GNU General Public License as published by
9 ** the Free Software Foundation; either version 2 of the License, or
10 ** (at your option) any later version.
11 **
12 **
13 ** This program is distributed in the hope that it will be useful,
14 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
15 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 ** GNU General Public License for more details.
17 **
18 ** You should have received a copy of the GNU General Public License
19 ** along with this program; if not, write to the Free Software
20 ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21 */
22 
23 #ifndef XP_GET_PING_PAYLOAD_H
24 #define XP_GET_PING_PAYLOAD_H
25 #include "xplib.h"
26 
27 struct Timestamp {
28     u_int sec;
29     u_int usec;
30 };
31 
32 int xp_get_ping_payload(char *, int);
33 
34 #endif /* XP_GET_PING_PAYLOAD_H */
35