summaryrefslogtreecommitdiff
path: root/sys/net/if_vlan.c
AgeCommit message (Collapse)Author
2001-03-28Rework vlan_start() to make sure it -never- munges the packet internals (eg.Jason Wright
shared mbuf clusters) Revert the deleted m_adj() call in vlan_input() back to inline mbuf manipulation, all of the checks really are there by API/convention.
2001-03-26Fix bug I introduced... if m_pullup fails, don't try to free the result.Jason Wright
2001-03-26- move if_vlan back to a default if_type of IFT_PROPVIRTUALJason Wright
- change if_type to match parent at vlan_configure time - comment typo - implement promiscuous mode for vlan interfaces (from NetBSD) - change if_flags inheritance mask to UP|BROADCAST|SIMPLE|MULTICAST (upshot of all this: bridging vlan interfaces works, with some limitations... documentation soon)
2001-03-23check rcvif and tag for vlan_input_tag() [Same check as in vlan_input()]Jason Wright
2001-03-23m_freem not m_freeJason Wright
2001-03-23check packet length in vlan_input() and pullup if necessaryJason Wright
use m_adj instead of twiddling everything ourselves
2001-03-22remove vlan_proto variable, replace with ETHERTYPE_8021QJason Wright
define if_type for vlan interfaces (IFT_8021_VLAN) #ifdef DEBUG some debugging printf's protect against other uses of M_PROTO1
2001-02-20for ethernet ifaces attach bpf from ether_ifattach; jason@, aaron@, itojun@ okMichael Shalayeff
2000-12-02vlan devices should not try to emit packets if the parent interface isJason Wright
not running and not up. From NetBSD: move if_opackets to that it's incremented even if the parent interface is oactive.
2000-10-18From the NetBSD port of if_vlan, prevent a panic by not allowingChris Cappuccio
SIOCSIFADDR/SIOCADDMULTI/SIOCDELMULTI until the vlan is configured, make the loop at the top of vlan_input() easier to read
2000-08-15Increase if_obytes and if_omcasts in the output routine,Chris Cappuccio
as it replaces ether_output and ether_output does this... (peter.jeremy@alcatel.com.au FreeBSD PR 20611)
2000-05-15Check to make sure vlan tag is valid (12bit) in SIOCSETVLANChris Cappuccio
2000-04-27Fix SIOCSIFMTUChris Cappuccio
2000-04-26Remove redundant superuser check in SIOCSIFMTUChris Cappuccio
(already done in if.c) and modify comments
2000-04-26if_vlan from FreeBSD and a few modificationsChris Cappuccio