summaryrefslogtreecommitdiffstats
path: root/net.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-05-29 11:58:25 +0000
committerRoy Marples <roy@marples.name>2008-05-29 11:58:25 +0000
commit3cf0d215a5c211d8e1b7a1b6a4c982e62b4de682 (patch)
treec3dbf824bb40088d2202e9856a721579ac9adc9c /net.h
parent26b48f9559fc47a3c98372c9ccf3a2789e67ab5c (diff)
downloaddhcpcd-3cf0d215a5c211d8e1b7a1b6a4c982e62b4de682.tar.xz
Respect RFC 3927 more, regarding times and conflicts.
Diffstat (limited to 'net.h')
-rw-r--r--net.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/net.h b/net.h
index d821fdbd..77e4b6f9 100644
--- a/net.h
+++ b/net.h
@@ -171,6 +171,17 @@ ssize_t send_raw_packet(const struct interface *, int,
ssize_t get_packet(struct interface *, void *, ssize_t);
#ifdef ENABLE_ARP
+/* These are really for IPV4LL */
+#define PROBE_WAIT 1
+#define PROBE_NUM 3
+#define PROBE_MIN 1
+#define PROBE_MAX 2
+#define ANNOUNCE_WAIT 2
+#define ANNOUNCE_NUM 2
+#define ANNOUNCE_INTERVAL 2
+#define MAX_CONFLICTS 10
+#define RATE_LIMIT_INTERVAL 60
+#define DEFEND_INTERVAL 10
int arp_claim(struct interface *, struct in_addr);
#endif
#endif