From c9fe03878b1808e9c33e3f9b16964a142331253b Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Sat, 31 Jan 2009 12:50:08 +0000 Subject: pingu: cofigurable timeout/retry. default values. invert -d - make timeout and retry configurable - possible to set default action, timeout and retry values - the -d option means "daemonize" rather than "debug mode". --- icmp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'icmp.h') diff --git a/icmp.h b/icmp.h index d5c597f..0fc94e1 100644 --- a/icmp.h +++ b/icmp.h @@ -15,7 +15,7 @@ int icmp_send_ping(int fd, struct sockaddr *to, int tolen, int seq, int total_size); int icmp_read_reply(int fd, struct sockaddr *from, int fromlen, __u8 *buf, int buflen); -int icmp_open(void); +int icmp_open(float timeout); void icmp_close(int fd); -- cgit v1.2.3