summaryrefslogtreecommitdiffstats
path: root/src/if.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2017-03-31 19:58:44 +0100
committerRoy Marples <roy@marples.name>2017-03-31 19:58:44 +0100
commit11a605a450241a8de9396b9e7e67dc14a0af3a35 (patch)
tree67426f239c4712aacc1e27ed82247c494a35d49c /src/if.h
parent11773e5d3f6dbb68d530d0f6f2fb27fe84d6ffd8 (diff)
downloaddhcpcd-11a605a450241a8de9396b9e7e67dc14a0af3a35.tar.xz
These functions are AF agnostic now.
Diffstat (limited to 'src/if.h')
-rw-r--r--src/if.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/if.h b/src/if.h
index 7c0cc402..97a944f9 100644
--- a/src/if.h
+++ b/src/if.h
@@ -170,13 +170,14 @@ int if_handlelink(struct dhcpcd_ctx *);
# define SOCK_NONBLOCK 0x20000000
#endif
+int if_route(unsigned char, const struct rt *rt);
+int if_initrt(struct dhcpcd_ctx *, int);
+
#ifdef INET
int if_address(unsigned char, const struct ipv4_addr *);
int if_addrflags(const struct interface *, const struct in_addr *,
const char *);
-int if_route(unsigned char, const struct rt *rt);
-int if_initrt(struct dhcpcd_ctx *, int);
#endif
#ifdef INET6