summaryrefslogtreecommitdiff
path: root/sys/net/if_vlan.c
AgeCommit message (Expand)Author
2015-07-20Implemented MPLS pseudowire (mpw(4)) to be used with VPLS and VPWS.Rafael Zalamena
2015-07-02By design if_input_process() needs to hold a reference on the receivingMartin Pieuchot
2015-06-30Rename if_output() into if_enqueue() to avoid confusion with commentsMartin Pieuchot
2015-06-29count if_ibytes in if_input like we do for if_ipackets.David Gwynne
2015-06-24Increment if_ipackets in if_input().Martin Pieuchot
2015-06-23Adapt bridge(4) to the new if_input() framework.Martin Pieuchot
2015-06-16Store a unique ID, an interface index, rather than a pointer to theMartin Pieuchot
2015-06-08Merge multiple copies of the code doing VLAN tag insertion back intoMartin Pieuchot
2015-05-27check if the packet is for us or if we're promisc before we cut theDavid Gwynne
2015-05-26Now that the Ethernet header is always passed as part of the mbuf, killMartin Pieuchot
2015-05-26make vlans inherit their parents hardmtu as well as mtu.David Gwynne
2015-05-23Call if_input() instead of setting the "rcvif" pointer ourself.Martin Pieuchot
2015-05-20Keep track of the ifih corresponding to a vlan instance to ease itsMartin Pieuchot
2015-05-20Do not increment if_opackets in if_output(). It might make sense to doMartin Pieuchot
2015-05-19We cannot check for M_BCAST or M_MCAST now that vlan_input() is ranMartin Pieuchot
2015-05-19Take vlan(4) out of ether_input().Martin Pieuchot
2015-05-15Introduce if_output(), a function do to the last steps before enqueuingMartin Pieuchot
2015-04-22Add missing header for NBRIDGE chunk, found the hardway and diff fromMartin Pieuchot
2015-04-15Add the necessary glue to keep vlan(4) working while other pseudo-driversMartin Pieuchot
2015-04-13Move one "#ifdef NVLAN" chunk needed only if you're running bridge(4) onMartin Pieuchot
2015-04-10dont inherit the parent interfaces hardmtu as the vlan interfacesDavid Gwynne
2015-04-07Do not pass an `ifp' argument to interface input handlers since itMartin Pieuchot
2015-03-31let vlan(4) mtu be limited by the parents hardmtu, not current mtu.David Gwynne
2015-02-06IEEE sez that 0 is bigger than 1, and IEEE is always right.Henning Brauer
2014-12-19unifdef INET in net code as a precursor to removing the pretend option.Ted Unangst
2014-11-23length argument for some free() calls; ok dougTheo de Raadt
2014-10-07when running bpf on an outgoing vlan interface that doesnt have aDavid Gwynne
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-07-11switch from bpf_mtap to the shiny new bpf_mtap_stripvlan.Henning Brauer
2014-07-09bpf code surgery / shuffling / simplification.Henning Brauer
2014-05-14improve style - basically, what my fingers did at Marrakesh airport whenHenning Brauer
2014-05-05remove dead code: calling ether_attach which sets if_type to IFT_ETHER,Henning Brauer
2014-04-22we used to handle the vlan tag etc insertion very very very late,Henning Brauer
2014-03-10if_lladdr -> if_sadl, no functional change.Martin Pieuchot
2013-11-08To make sure detach hooks are executed in reverse order they were added,Martin Pieuchot
2013-11-07Now that it is safe to disestablish a hook from itself, do not leak theMartin Pieuchot
2013-10-19Bring back the if_detachhook. We're going to have more users now.Reyk Floeter
2013-09-17Change vlan(4) detach procedure to not use a hook but a list of vlansMartin Pieuchot
2013-06-20Revert previous and unbreak asr, the new include should be protected.Martin Pieuchot
2013-06-20Allocate the various hook head descriptors as part of the ifnetMartin Pieuchot
2013-04-02Instead of storing the link-level address of every interface in a globalMartin Pieuchot
2013-03-28no need for a lot of code to include proc.hTed Unangst
2012-09-30There is no need to set IFF_OACTIVE in vlan, since there is no DMA ringClaudio Jeker
2012-09-19defina an IFCAP_CSUM_MASK, covering IFCAP_CSUM_*, and use it in if_vlan.cHenning Brauer
2011-11-27Kill old comment, we already do 802.1p tagging.Christiano F. Haesbaert
2011-11-26Tie the 802.1p (CoS) value in vlan(4) with the new prio scheme in pf.Christiano F. Haesbaert
2011-09-18Fix various format string types to as a minimum match the width of theMiod Vallat
2011-08-20Fix packet accounting in error cases.Ryan Thomas McBride
2011-02-18when changing the vlandev of a running vlan(4) interface, we also need toReyk Floeter
2011-01-03Allow to change vlan options of existing vlan(4)/svlan(4) devices atReyk Floeter