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
commit9c455cd7917cc996ac0937d35641f6fc797d98d4 (patch)
tree67426f239c4712aacc1e27ed82247c494a35d49c /src/if.h
parent7b548eb7cc3d22a84b0f21cf016d5aca0ef007fb (diff)
downloaddhcpcd-9c455cd7917cc996ac0937d35641f6fc797d98d4.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