summaryrefslogtreecommitdiffstats
path: root/src/if.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2019-09-04 12:21:08 +0300
committerRoy Marples <roy@marples.name>2019-09-04 12:21:08 +0300
commitc77989d640838de6219c9179c70b332afea6569d (patch)
tree82a11ee2ecda8e79433f41421092359223c52a6e /src/if.h
parent6daa6537e227810f17dfc361266360c4777e73ca (diff)
downloaddhcpcd-c77989d640838de6219c9179c70b332afea6569d.tar.xz
Solaris: Get the subnet in ipv6 ifa handler
This simplifies the code and allows onlink route "addresses" to work on P2P interfaces.
Diffstat (limited to 'src/if.h')
-rw-r--r--src/if.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/if.h b/src/if.h
index c6c7d773..4126fd33 100644
--- a/src/if.h
+++ b/src/if.h
@@ -107,6 +107,7 @@
struct ifaddrs;
int if_getifaddrs(struct ifaddrs **);
#define getifaddrs if_getifaddrs
+int if_getsubnet(struct dhcpcd_ctx *, const char *, int, void *, size_t);
#endif
int if_getflags(struct interface *ifp);