summaryrefslogtreecommitdiffstats
path: root/ipv4ll.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-10-17 15:46:04 +0000
committerRoy Marples <roy@marples.name>2007-10-17 15:46:04 +0000
commit6b37baaad11ddf85817aaaea5aaac4259b77866f (patch)
treed9166ce4ebf8aeffb36a6fdebad9643e42c393ab /ipv4ll.h
parenta41c971c80cf3a50d252acc186bf0346ea86f7d6 (diff)
downloaddhcpcd-6b37baaad11ddf85817aaaea5aaac4259b77866f.tar.xz
Always define IN_LINKLOCAL
Diffstat (limited to 'ipv4ll.h')
-rw-r--r--ipv4ll.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/ipv4ll.h b/ipv4ll.h
index db5cb78b..82ffe0b4 100644
--- a/ipv4ll.h
+++ b/ipv4ll.h
@@ -25,14 +25,6 @@
#include "dhcp.h"
#include "interface.h"
-#define LINKLOCAL_ADDR 0xa9fe0000
-#define LINKLOCAL_MASK 0xffff0000
-#define LINKLOCAL_BRDC 0xa9feffff
-
-#ifndef IN_LINKLOCAL
-# define IN_LINKLOCAL(addr) ((ntohl (addr) & IN_CLASSB_NET) == LINKLOCAL_ADDR)
-#endif
-
int ipv4ll_get_address (interface_t *iface, dhcp_t *dhcp);
#endif