summaryrefslogtreecommitdiff
path: root/sys/net/if_vlan.c
AgeCommit message (Expand)Author
2016-03-18refactor the vlan multicast list handling.David Gwynne
2016-03-13i forgot to rename p to ifp0 in vlan_configDavid Gwynne
2016-03-13consistencly name ifnet pointers like we did in carpDavid Gwynne
2016-03-03factor out the injection of a vlan shim into an ethernet frameDavid Gwynne
2016-01-13dont propagate any of the parent interfaces offload features on svlanDavid Gwynne
2015-12-08vlan doenst have to handle SIOCGIFADDR cos the stack does it.David Gwynne
2015-12-05remove old lint annotationsTed Unangst
2015-12-03Use SRPL_HEAD() and SRPL_ENTRY() to be consistent with and allow toMartin Pieuchot
2015-11-10dont use IF_DROP when there was some arbitary problem sending a packet.David Gwynne
2015-10-25arp_ifinit() is no longer required.Martin Pieuchot
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