aboutsummaryrefslogtreecommitdiffstats
path: root/icmp.h
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-01-31 12:50:08 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-01-31 12:50:08 +0000
commitc9fe03878b1808e9c33e3f9b16964a142331253b (patch)
treed8ab10ddfac0de0f9f67e8eca4da84a22a1d2a77 /icmp.h
parent0392773d57e3fca5efade2298d641c22202d624a (diff)
downloadpingu-c9fe03878b1808e9c33e3f9b16964a142331253b.tar.bz2
pingu-c9fe03878b1808e9c33e3f9b16964a142331253b.tar.xz
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".
Diffstat (limited to 'icmp.h')
-rw-r--r--icmp.h2
1 files changed, 1 insertions, 1 deletions
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);