summaryrefslogtreecommitdiff
path: root/sys/net/route.h
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2006-03-20 10:03:50 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2006-03-20 10:03:50 +0000
commit375728e6480d46f7707b6d0d31ec44cc8ecca086 (patch)
tree17de4d555b804e2e7a51dc381d5b335c0a5f33db /sys/net/route.h
parent31b7e2bdeb0dbb5a83a7f2a4e5db1b28dd448032 (diff)
introduce rt_if_remove which takes care of routing table updates for an
interface that is removed. use that from if.c and if_tun.c instead of re-implementing in the latter case. ok claudio
Diffstat (limited to 'sys/net/route.h')
-rw-r--r--sys/net/route.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/route.h b/sys/net/route.h
index 59a8d5f369f..0c4724e3dd3 100644
--- a/sys/net/route.h
+++ b/sys/net/route.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: route.h,v 1.35 2006/02/23 14:15:53 claudio Exp $ */
+/* $OpenBSD: route.h,v 1.36 2006/03/20 10:03:49 henning Exp $ */
/* $NetBSD: route.h,v 1.9 1996/02/13 22:00:49 christos Exp $ */
/*
@@ -351,6 +351,7 @@ int rtrequest(int, struct sockaddr *,
struct sockaddr *, struct sockaddr *, int,
struct rtentry **);
int rtrequest1(int, struct rt_addrinfo *, struct rtentry **);
+void rt_if_remove(struct ifnet *);
#endif /* _KERNEL */
#endif /* _NET_ROUTE_H_ */