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_atmsubr.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys/net/if_atmsubr.c') diff --git a/sys/net/if_atmsubr.c b/sys/net/if_atmsubr.c index a6c71b5..3ec3894 100644 --- a/sys/net/if_atmsubr.c +++ b/sys/net/if_atmsubr.c @@ -321,6 +321,9 @@ atm_ifattach(ifp) ifp->if_hdrlen = 0; ifp->if_mtu = ATMMTU; ifp->if_output = atm_output; +#if 0 + ifp->if_input = atm_input; +#endif ifp->if_snd.ifq_maxlen = 50; /* dummy */ #if defined(__NetBSD__) || defined(__OpenBSD__) -- cgit v1.1