diff options
author | wollman <wollman@FreeBSD.org> | 1995-10-16 20:53:55 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1995-10-16 20:53:55 +0000 |
commit | 156b44398e2cff0d85fdf194cdb2a5c816a814b0 (patch) | |
tree | e45ff6df82617271b50de82cecaac47ab595f67e /sys/net | |
parent | e34bd6ff015f6bd2cfcce2d517f878cdb61a6ff0 (diff) | |
download | FreeBSD-src-156b44398e2cff0d85fdf194cdb2a5c816a814b0.zip FreeBSD-src-156b44398e2cff0d85fdf194cdb2a5c816a814b0.tar.gz |
Change signature of rt->rt_output() so that it is compatible with
ifp->if_output() functions. This way, initial implementations of
rt_output functionality can just lazily use if_output until customized
versions are written.
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/route.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/route.h b/sys/net/route.h index fa0e9f7..894669c 100644 --- a/sys/net/route.h +++ b/sys/net/route.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)route.h 8.3 (Berkeley) 4/19/94 - * $Id: route.h,v 1.14 1995/05/30 08:08:26 rgrimes Exp $ + * $Id: route.h,v 1.15 1995/07/29 11:41:03 bde Exp $ */ #ifndef _NET_ROUTE_H_ @@ -110,8 +110,8 @@ struct rtentry { caddr_t rt_llinfo; /* pointer to link level info cache */ struct rt_metrics rt_rmx; /* metrics used by rx'ing protocols */ struct rtentry *rt_gwroute; /* implied entry for gatewayed routes */ - int (*rt_output) __P((struct rtentry *, struct mbuf *, - struct sockaddr *, int)); + int (*rt_output) __P((struct ifnet *, struct mbuf *, + struct sockaddr *, struct rtentry *)); /* output routine for this (rt,if) */ struct rtentry *rt_parent; /* cloning parent of this route */ void *rt_filler2; /* more filler */ |