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_gif.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/net/if_gif.c') diff --git a/sys/net/if_gif.c b/sys/net/if_gif.c index b3abb63..1cb4463 100644 --- a/sys/net/if_gif.c +++ b/sys/net/if_gif.c @@ -364,7 +364,7 @@ gif_output(ifp, m, dst, rt) m0.m_len = 4; m0.m_data = (char *)⁡ - bpf_mtap(ifp, &m0); + BPF_MTAP(ifp, &m0); } ifp->if_opackets++; ifp->if_obytes += m->m_pkthdr.len; @@ -434,7 +434,7 @@ gif_input(m, af, ifp) m0.m_len = 4; m0.m_data = (char *)&af1; - bpf_mtap(ifp, &m0); + BPF_MTAP(ifp, &m0); } if (ng_gif_input_p != NULL) { -- cgit v1.1