diff options
author | Sam Leffler <sam@FreeBSD.org> | 2002-11-15 00:00:15 +0000 |
---|---|---|
committer | Sam Leffler <sam@FreeBSD.org> | 2002-11-15 00:00:15 +0000 |
commit | 6fc32a24955d1548f39d120cc7ac9e0d0161a80a (patch) | |
tree | 2a5611d45149f91e7ddfd0e32391f1ef7d8590e1 /sys/net/if_stf.c | |
parent | 2f907a97c73adc46da1cf009e6b4fbf74816aae0 (diff) |
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
Notes
Notes:
svn path=/head/; revision=106939
Diffstat (limited to 'sys/net/if_stf.c')
-rw-r--r-- | sys/net/if_stf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_stf.c b/sys/net/if_stf.c index 88d9d078df92..16e0ee5917e4 100644 --- a/sys/net/if_stf.c +++ b/sys/net/if_stf.c @@ -430,7 +430,7 @@ stf_output(ifp, m, dst, rt) m0.m_data = (char *)⁡ #ifdef HAVE_OLD_BPF - bpf_mtap(ifp, &m0); + BPF_MTAP(ifp, &m0); #else bpf_mtap(ifp->if_bpf, &m0); #endif @@ -684,7 +684,7 @@ in_stf_input(m, off) m0.m_data = (char *)⁡ #ifdef HAVE_OLD_BPF - bpf_mtap(ifp, &m0); + BPF_MTAP(ifp, &m0); #else bpf_mtap(ifp->if_bpf, &m0); #endif |