summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/route.h
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2000-03-14 01:46:44 +0000
committerbrian <brian@FreeBSD.org>2000-03-14 01:46:44 +0000
commita69e155f87ae5e1b59088d06927f1d02e5fd2518 (patch)
tree6f68255de2ce33b073f473b78e8f9283010443ea /usr.sbin/ppp/route.h
parentca63a8dc14cfe59294896ffbad69a07d20d6a4f4 (diff)
downloadFreeBSD-src-a69e155f87ae5e1b59088d06927f1d02e5fd2518.zip
FreeBSD-src-a69e155f87ae5e1b59088d06927f1d02e5fd2518.tar.gz
The interface list that comes back from the PF_ROUTE/NET_RT_IFLIST mib
is aligned. Teach this to ``show route''. Clean up some of the sockaddr parsing routines.
Diffstat (limited to 'usr.sbin/ppp/route.h')
-rw-r--r--usr.sbin/ppp/route.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/ppp/route.h b/usr.sbin/ppp/route.h
index 86a3d4e..cf339cc 100644
--- a/usr.sbin/ppp/route.h
+++ b/usr.sbin/ppp/route.h
@@ -23,6 +23,8 @@
struct bundle;
struct cmdargs;
+struct rt_msghdr;
+struct sockaddr;
#define ROUTE_STATIC 0
#define ROUTE_DSTMYADDR 1
@@ -52,3 +54,4 @@ extern void route_DeleteAll(struct sticky_route **);
extern void route_Clean(struct bundle *, struct sticky_route *);
extern void route_ShowSticky(struct prompt *, struct sticky_route *,
const char *, int);
+extern void route_ParseHdr(struct rt_msghdr *, struct sockaddr *[RTAX_MAX]);
OpenPOWER on IntegriCloud