summaryrefslogtreecommitdiff
path: root/sys/net/if_trunk.c
AgeCommit message (Expand)Author
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-17Drop promiscuously received packets if the trunk(4) interface is notMartin Pieuchot
2015-07-02Unify the check for up & running between all pseudo-drivers.Martin Pieuchot
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-16Store a unique ID, an interface index, rather than a pointer to theMartin Pieuchot
2015-06-15Fix a double free in the destroy path triggered when a second process,Martin Pieuchot
2015-06-09Convert trunk(4) to if_input().Martin Pieuchot
2015-05-26Now that the Ethernet header is always passed as part of the mbuf, killMartin Pieuchot
2015-05-15Introduce if_output(), a function do to the last steps before enqueuingMartin Pieuchot
2015-05-14Allocate the input packet handler as part of the trunk_port structureMartin Pieuchot
2015-05-13Get rid of the last "#if NTRUNK" by overwriting trunk ports' outputMartin Pieuchot
2015-05-11Take trunk(4) out of ether_input().Martin Pieuchot
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2014-12-19unifdef INET in net code as a precursor to removing the pretend option.Ted Unangst
2014-12-04use siphash for trunk loadbalancing. ok deraadtTed Unangst
2014-12-01Make every interface with a watchdog register it's own slow timeoutMike Belopuhov
2014-11-18move arc4random prototype to systm.h. more appropriate for most codeTed Unangst
2014-07-22Fewer <netinet/in_systm.h> !Martin Pieuchot
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-07-09bpf code surgery / shuffling / simplification.Henning Brauer
2014-03-10if_lladdr -> if_sadl, no functional change.Martin Pieuchot
2013-11-21Remove unneeded include.Martin Pieuchot
2013-11-18Convert trunk(4) to use a detachhook, discussed at b2k13 with many.Martin 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-05-11Set trunk(4)'s MTU to that of the first trunkport. Allows trunk to work withStuart Henderson
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
2013-02-25trunk_bcast_start sent packets on all its member interfaces by copyingDavid Gwynne
2011-10-28Take more care to ensure all callbacks are initialized. In particularKenneth R Westerback
2011-01-28Fix another memory leak by replacing m_free() with m_freem() in trunk'sReyk Floeter
2010-11-12avoid pointer arithmetic on void *David Hill
2010-05-08Upon changing the MAC address of an if_trunk interface, all ports are switchedStefan Sperling
2010-04-23Use proper Queen's English in a comment. Drive-by fix, no functional change.Stefan Sperling
2010-04-20remove proc.h include from uvm_map.h. This has far reaching effects, asTed Unangst
2010-04-17use ifnewlladdr() for trunk lladdr changes, tooTheo de Raadt
2010-01-12set the length of the send queue to 1.David Gwynne
2009-11-18do not do setup that ether_ifattach() takes care of; ok jsgTheo de Raadt
2009-09-17Add an splassert check trunk_enqueue() calling this function at anythingClaudio Jeker
2009-09-09remove inline functions and move some code from the trunk_lacp_input()Reyk Floeter
2009-07-16Backout rev1.79 of if_vlan.c and rev1.66 of if_trunk.c;Thordur I. Bjornsson
2009-07-13make the send queue one slot long. this forces packets off the virtualDavid Gwynne
2009-01-27handle HW VLAN tags being passed down; from BradChristian Weisgerber
2009-01-27make the hardware/no hardware tag stripping cases consistent and don'tChristian Weisgerber
2008-12-14Allow trunk_hashmbuf() to take HW VLAN tagging into consideration.Brad Smith
2008-12-14Since trunk_hashmbuf() and thus trunk_lb_gethdr() are no longer specificBrad Smith