From 279aa3d419d5bfaf514ed543ab177852e4c2b013 Mon Sep 17 00:00:00 2001 From: Kip Macy Date: Thu, 16 Apr 2009 20:30:28 +0000 Subject: Change if_output to take a struct route as its fourth argument in order to allow passing a cached struct llentry * down to L2 Reviewed by: rwatson --- sys/dev/ppbus/if_plip.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/dev/ppbus') diff --git a/sys/dev/ppbus/if_plip.c b/sys/dev/ppbus/if_plip.c index 3ff11df7218c..3e4c1ca3b2b2 100644 --- a/sys/dev/ppbus/if_plip.c +++ b/sys/dev/ppbus/if_plip.c @@ -99,6 +99,7 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include #include @@ -173,7 +174,7 @@ static u_char *ctxmith; static int lpinittables(void); static int lpioctl(struct ifnet *, u_long, caddr_t); static int lpoutput(struct ifnet *, struct mbuf *, struct sockaddr *, - struct rtentry *); + struct route *); static void lpstop(struct lp_data *); static void lp_intr(void *); static int lp_module_handler(module_t, int, void *); @@ -678,7 +679,7 @@ lpoutbyte(u_char byte, int spin, device_t ppbus) static int lpoutput(struct ifnet *ifp, struct mbuf *m, struct sockaddr *dst, - struct rtentry *rt) + struct route *ro) { struct lp_data *sc = ifp->if_softc; device_t dev = sc->sc_dev; -- cgit v1.3