From 6a05792540ffa00713f4b3a1521864f7dddc1f39 Mon Sep 17 00:00:00 2001 From: sam Date: Fri, 15 Nov 2002 00:00:15 +0000 Subject: network interface and link layer changes: o on input don't strip the Ethernet header from packets o input packet handling is now done with if_input o track changes to ether_ifattach/ether_ifdetach API o track changes to bpf tapping o call ether_ioctl for default handling of ioctl's o use constants from net/ethernet.h where possible Reviewed by: many Approved by: re --- sys/net/if_sl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/net/if_sl.c') diff --git a/sys/net/if_sl.c b/sys/net/if_sl.c index 2a350f6..b57eb93 100644 --- a/sys/net/if_sl.c +++ b/sys/net/if_sl.c @@ -685,7 +685,7 @@ slstart(tp) */ sc->bpfbuf[SLX_DIR] = SLIPDIR_OUT; bcopy(mtod(m, caddr_t), &sc->bpfbuf[SLX_CHDR], CHDR_LEN); - bpf_tap(&sc->sc_if, sc->bpfbuf, len + SLIP_HDRLEN); + BPF_TAP(&sc->sc_if, sc->bpfbuf, len + SLIP_HDRLEN); } /* @@ -957,7 +957,7 @@ slinput(c, tp) hp[SLX_DIR] = SLIPDIR_IN; bcopy(chdr, &hp[SLX_CHDR], CHDR_LEN); - bpf_tap(&sc->sc_if, hp, len + SLIP_HDRLEN); + BPF_TAP(&sc->sc_if, hp, len + SLIP_HDRLEN); } m = sl_btom(sc, len); if (m == NULL) -- cgit v1.1