summaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-07-18 11:26:59 +0000
committerRoy Marples <roy@marples.name>2007-07-18 11:26:59 +0000
commit77659ce0359c096d8a2667541879f8a59fad8121 (patch)
tree01a6f94b4eb5320b3f9a173398f0657734912fcc /common.h
parentff711cf766f3efd9dc8f79776e688a3a28f52d9a (diff)
downloaddhcpcd-77659ce0359c096d8a2667541879f8a59fad8121.tar.xz
We now do ARP checking by default as recommended by RFC 2131.
Add RFC 3927 (aka IPV4LL aka APIPA) support by default.
Diffstat (limited to 'common.h')
-rw-r--r--common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/common.h b/common.h
index da2962cb..2f7310f9 100644
--- a/common.h
+++ b/common.h
@@ -32,6 +32,10 @@ size_t strlcpy (char *dst, const char *src, size_t size);
# endif
#endif
+#ifdef __linux__
+void srandomdev (void);
+#endif
+
long uptime (void);
void *xmalloc (size_t size);
char *xstrdup (const char *str);