diff options
| author | Roy Marples <roy@marples.name> | 2015-05-01 09:41:54 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2015-05-01 09:41:54 +0000 |
| commit | d686aa4f7d4a3cbdc58a27633a65e66abbbde9c0 (patch) | |
| tree | a56bea469128d9d548a37bb0cf32c0cd4f3a5d8b /if.h | |
| parent | 741b689fd2206fd4f1ae9424a5b16a53070de0fb (diff) | |
| download | dhcpcd-d686aa4f7d4a3cbdc58a27633a65e66abbbde9c0.tar.xz | |
Support IN_IFF_TENTATIVE and IN_IFF_DUPLICATED on NetBSD.
Diffstat (limited to 'if.h')
| -rw-r--r-- | if.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -31,6 +31,9 @@ #include <net/if.h> #include <net/route.h> /* for RTM_ADD et all */ #include <netinet/in.h> +#ifdef BSD +#include <netinet/in_var.h> /* for IN_IFF_TENTATIVE et all */ +#endif /* Some systems have route metrics. * OpenBSD route priority is not this. */ @@ -125,6 +128,8 @@ int if_address(const struct interface *, #define if_deladdress(ifp, addr, net) \ if_address(ifp, addr, net, NULL, -1) +int if_addrflags(const struct in_addr *, const struct interface *); + int if_route(unsigned char, const struct rt *rt); int if_initrt(struct interface *); #endif |
