summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorshin <shin@FreeBSD.org>1999-12-09 08:56:50 +0000
committershin <shin@FreeBSD.org>1999-12-09 08:56:50 +0000
commitd2ada32bc048622b4dfbb5b651af0154b4821486 (patch)
treee244b585518da11ab8cb78aabd2a7af09a3e7756 /sys/net
parent785c739893734950762c94f0987935428208d936 (diff)
downloadFreeBSD-src-d2ada32bc048622b4dfbb5b651af0154b4821486.zip
FreeBSD-src-d2ada32bc048622b4dfbb5b651af0154b4821486.tar.gz
rtcalloc() is removed because it turned out not to be necessary for FreeBSD.
(It was added as a part of KAME patch) Specified by: jdp@polstra.com
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/route.c10
-rw-r--r--sys/net/route.h1
2 files changed, 0 insertions, 11 deletions
diff --git a/sys/net/route.c b/sys/net/route.c
index ea1a579..04608f5 100644
--- a/sys/net/route.c
+++ b/sys/net/route.c
@@ -103,16 +103,6 @@ rtalloc_ign(ro, ignore)
ro->ro_rt = rtalloc1(&ro->ro_dst, 1, ignore);
}
-/* for INET6 */
-void
-rtcalloc(ro)
- register struct route *ro;
-{
- if (ro->ro_rt && ro->ro_rt->rt_ifp && (ro->ro_rt->rt_flags & RTF_UP))
- return; /* XXX */
- ro->ro_rt = rtalloc1(&ro->ro_dst, RTF_CLONING, 0UL);
-}
-
/*
* Look up the route that matches the address given
* Or, at least try.. Create a cloned route if needed.
diff --git a/sys/net/route.h b/sys/net/route.h
index ba1bb95..255fbe3 100644
--- a/sys/net/route.h
+++ b/sys/net/route.h
@@ -283,7 +283,6 @@ int rt_setgate __P((struct rtentry *,
struct sockaddr *, struct sockaddr *));
void rtalloc __P((struct route *));
void rtalloc_ign __P((struct route *, u_long));
-void rtcalloc __P((struct route *)); /* for INET6 */
struct rtentry *
rtalloc1 __P((struct sockaddr *, int, u_long));
void rtfree __P((struct rtentry *));
OpenPOWER on IntegriCloud