summaryrefslogtreecommitdiff
path: root/sys/net/if_vlan.c
AgeCommit message (Expand)Author
2015-10-05Revert if_oqdrops accounting changes done in kernel, per request from mpi@.Masao Uebayashi
2015-10-05Don't count IF_DROP()'ed packets as if_oerrors too.Masao Uebayashi
2015-09-29add sizes to some of the simpler free callsTheo de Raadt
2015-09-13replace hand rolled reference counting with refcnts.David Gwynne
2015-09-13reintroduce mpsafe vlan_input.David Gwynne
2015-09-13back out mpsafe vlans while i chase down a panic when operationsDavid Gwynne
2015-09-12make vlan_input mpsafe by using srp lists in the vlan tag hash buckets.David Gwynne
2015-09-10if_put after if_getDavid Gwynne
2015-09-10pass a cookie argument to interface input handlers that can be usedMike Belopuhov
2015-09-10move the if input handler list to an SRP list.David Gwynne
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