Remove several compat functions from pre-fib era.
This commit is contained in:
parent
56585ab576
commit
f221bcaa06
@ -931,13 +931,6 @@ rt_flushifroutes(struct ifnet *ifp)
|
||||
#define ifpaddr info->rti_info[RTAX_IFP]
|
||||
#define flags info->rti_flags
|
||||
|
||||
int
|
||||
rt_getifa(struct rt_addrinfo *info)
|
||||
{
|
||||
|
||||
return (rt_getifa_fib(info, RT_DEFAULT_FIB));
|
||||
}
|
||||
|
||||
/*
|
||||
* Look up rt_addrinfo for a specific fib. Note that if rti_ifa is defined,
|
||||
* it will be referenced so the caller must free it.
|
||||
|
@ -387,7 +387,6 @@ void rt_flushifroutes(struct ifnet *ifp);
|
||||
|
||||
/* XXX MRT COMPAT VERSIONS THAT SET UNIVERSE to 0 */
|
||||
/* Thes are used by old code not yet converted to use multiple FIBS */
|
||||
int rt_getifa(struct rt_addrinfo *);
|
||||
void rtalloc_ign(struct route *ro, u_long ignflags);
|
||||
void rtalloc(struct route *ro); /* XXX deprecated, use rtalloc_ign(ro, 0) */
|
||||
struct rtentry *rtalloc1(struct sockaddr *, int, u_long);
|
||||
|
@ -228,19 +228,6 @@ in_rtalloc_ign(struct route *ro, u_long ignflags, u_int fibnum)
|
||||
rtalloc_ign_fib(ro, ignflags, fibnum);
|
||||
}
|
||||
|
||||
int
|
||||
in_rtrequest( int req,
|
||||
struct sockaddr *dst,
|
||||
struct sockaddr *gateway,
|
||||
struct sockaddr *netmask,
|
||||
int flags,
|
||||
struct rtentry **ret_nrt,
|
||||
u_int fibnum)
|
||||
{
|
||||
return (rtrequest_fib(req, dst, gateway, netmask,
|
||||
flags, ret_nrt, fibnum));
|
||||
}
|
||||
|
||||
struct rtentry *
|
||||
in_rtalloc1(struct sockaddr *dst, int report, u_long ignflags, u_int fibnum)
|
||||
{
|
||||
@ -264,10 +251,3 @@ in_rtalloc(struct route *ro, u_int fibnum)
|
||||
rtalloc_ign_fib(ro, 0UL, fibnum);
|
||||
}
|
||||
|
||||
#if 0
|
||||
int in_rt_getifa(struct rt_addrinfo *, u_int fibnum);
|
||||
int in_rtioctl(u_long, caddr_t, u_int);
|
||||
int in_rtrequest1(int, struct rt_addrinfo *, struct rtentry **, u_int);
|
||||
#endif
|
||||
|
||||
|
||||
|
@ -391,8 +391,6 @@ void in_rtalloc(struct route *ro, u_int fibnum);
|
||||
struct rtentry *in_rtalloc1(struct sockaddr *, int, u_long, u_int);
|
||||
void in_rtredirect(struct sockaddr *, struct sockaddr *,
|
||||
struct sockaddr *, int, struct sockaddr *, u_int);
|
||||
int in_rtrequest(int, struct sockaddr *,
|
||||
struct sockaddr *, struct sockaddr *, int, struct rtentry **, u_int);
|
||||
#endif /* _KERNEL */
|
||||
|
||||
/* INET6 stuff */
|
||||
|
Loading…
x
Reference in New Issue
Block a user