]>
git.ipfire.org Git - people/stevee/aiccu.git/blob - common/heartbeat.h
1 /**********************************************************
2 SixXS - Automatic IPv6 Connectivity Configuration Utility
3 ***********************************************************
4 Copyright 2003-2005 SixXS - http://www.sixxs.net
5 ***********************************************************
6 common/heartbeat.h - Heartbeat Definitions
7 ***********************************************************
9 $Id: heartbeat.h,v 1.6 2006-12-21 14:08:50 jeroen Exp $
10 $Date: 2006-12-21 14:08:50 $
11 **********************************************************/
14 #define HEARTBEAT_H "H5K7:W3NDY5UU5N1K1N1C0l3"
20 * SixXS Heartbeat Protocol
21 * port - uses UDP over IPv4
23 #define HEARTBEAT_PORT "3740"
25 SOCKET
heartbeat_socket(
26 uint32_t *address_changed
,
28 const char *sIPv4Interface
,
31 const char *sIPv4LocalResolve
);
33 int heartbeat_send(SOCKET sockfd
, char *sIPv4Local
, char *sIPv6Local
, char *sPassword
, bool bBehindNAT
);
35 void heartbeat_beat(struct TIC_Tunnel
*hTunnel
);
36 char *heartbeat_getlocalIP(struct TIC_Tunnel
*hTunnel
);
38 #endif /* HEARTBEAT_H */