Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-07-25 | %lu for u_long arg | Jason Wright | |
2003-05-13 | nuke common: ifnet_addrs | Jason Wright | |
2003-05-03 | string fixes; tedu ok | Theo de Raadt | |
2003-05-03 | just as a safety measure, set m_flags to 0 for mbufs allocated on stack. | Jun-ichiro itojun Hagino | |
dhartmei ok | |||
2003-03-24 | Tree patches from c.pascoe at itee dot uq dot edu dot au: | Jason Wright | |
- mask of vlan tag to ensure upper bit isn't present from hardware - avoid mbuf leak on error - make sure sizeof(ether_header) bytes are present in the firest mbuf before passing it up to ether_input() | |||
2003-02-01 | from Chris Pascoe <c.pascoe@itee.uq.edu.au>: | Chris Cappuccio | |
Fix multicast bug; internal multicast members' list was not initialized correctly. Also, begin to make vlan less ether specific - TR and FDDI could also be supported. | |||
2003-01-07 | remove the altq classifier code which is replaced by pf and no longer used. | Kenjiro Cho | |
ok henning@, deraadt@ | |||
2002-06-12 | import of netbsd's vlan multicast code | Chris Cappuccio | |
this works better than what we have now, although i have not been able to extensively test it. several folks thought it should be added | |||
2002-03-24 | deref of NULL in out of mbuf situation, ok jason@ | Niklas Hallqvist | |
2002-02-13 | Be -really- careful not to modify the payload when replacing the ethernet | Jason Wright | |
header with the 802.1Q header. The reason for this is if_vlan is called by the bridge (via if_start). It cannot modify the mbuf because it might be shared copy. | |||
2001-12-11 | Use queue.h macros. | Jason Wright | |
2001-10-05 | Fix bug in if_vlan which could cause crashes in timeouts and 'ifconfig -a' | Dale Rahn | |
ok niklas@ | |||
2001-10-01 | Make number of vlan interfaces configurable from UKC. | Niklas Hallqvist | |
ok jason@, chris@, deraadt@ | |||
2001-09-01 | Inherit baudrate from parent. Now MRTG will show vlan interfaces ;) | Chris Cappuccio | |
2001-08-03 | Use IFCAP_VLAN_MTU and IFCAP_VLAN_HWTAGGING capabilities: | Chris Cappuccio | |
LINK0 disappears; we now set IFCAP_VLAN_HWTAGGING at ifnet->if_capabilities in the Ethernet driver for cards/drivers which support hardware tagging. MTU ambiguity disppears; we now set IFCAP_VLAN_MTU in the Ethernet driver when we know the chip will not truncate/discard vlan-sized frames. Only allow the MTU to be changed within the scope of the parent interface's MTU. (Here we also take into account IFCAP_VLAN_MTU) Propagate hardware-assisted IP/TCP/UDP checksumming flags to the vlan interface if the card supports hardware tagging (from NetBSD) | |||
2001-06-27 | introduce the ALTQ queue macros into sys/net files. | Kenjiro Cho | |
the new model removes direct references to the fields in ifp->if_snd, and defines the following macros to manipulate ifp->if_snd. IFQ_ENQUEUE(ifq, m, pktattr, err) IFQ_DEQUEUE(ifq, m) IFQ_POLL(ifq, m) IFQ_PURGE(ifq) IFQ_IS_EMPTY(ifq) the new model also enforces some rules regarding how to use these macros. details are descrined in http://www.csl.sony.co.jp/~kjc/software/altq-new-design.txt | |||
2001-06-27 | Get rid of M_COPY_* macros; either use M_MOVE_* or M_DUP_*, depending | Angelos D. Keromytis | |
on how macros should be treated. Code by fgsch@, ok by me and itojun@ | |||
2001-06-25 | No need to double-clear the mbuf flags and tags. | Angelos D. Keromytis | |
2001-06-24 | - redefine vlan_input_tag to take mbuf * and tag only | Jason Wright | |
- call ether_input_mbuf() instead of ether_input() - most work done by fgsch | |||
2001-06-23 | Ok, when cards with vlan hw tagging are used in bridged configurations | Jason Wright | |
and the tag doesn't match a child interface, reinsert the tag and call ether_input() so that bridges can still function. | |||
2001-06-23 | Use standard defined macros to access inner ifnet data structure members. | Aaron Campbell | |
2001-06-22 | KNF | Theo de Raadt | |
2001-05-27 | Initialize old mbuf chain head tags. | Angelos D. Keromytis | |
2001-03-30 | increase ierrors if m_pullup fails in vlan_input(); pointed out by chris@ | Jason Wright | |
2001-03-28 | Rework 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-26 | Fix 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_PROPVIRTUAL | Jason 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-23 | check rcvif and tag for vlan_input_tag() [Same check as in vlan_input()] | Jason Wright | |
2001-03-23 | m_freem not m_free | Jason Wright | |
2001-03-23 | check packet length in vlan_input() and pullup if necessary | Jason Wright | |
use m_adj instead of twiddling everything ourselves | |||
2001-03-22 | remove vlan_proto variable, replace with ETHERTYPE_8021Q | Jason 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-20 | for ethernet ifaces attach bpf from ether_ifattach; jason@, aaron@, itojun@ ok | Michael Shalayeff | |
2000-12-02 | vlan devices should not try to emit packets if the parent interface is | Jason 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-18 | From the NetBSD port of if_vlan, prevent a panic by not allowing | Chris Cappuccio | |
SIOCSIFADDR/SIOCADDMULTI/SIOCDELMULTI until the vlan is configured, make the loop at the top of vlan_input() easier to read | |||
2000-08-15 | Increase 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-15 | Check to make sure vlan tag is valid (12bit) in SIOCSETVLAN | Chris Cappuccio | |
2000-04-27 | Fix SIOCSIFMTU | Chris Cappuccio | |
2000-04-26 | Remove redundant superuser check in SIOCSIFMTU | Chris Cappuccio | |
(already done in if.c) and modify comments | |||
2000-04-26 | if_vlan from FreeBSD and a few modifications | Chris Cappuccio | |