summaryrefslogtreecommitdiff
path: root/sys/net/if_trunk.c
AgeCommit message (Expand)Author
2017-05-28Add missing NET_UNLOCK() in error path.Martin Pieuchot
2017-05-28trunk_port_destroy() needs the NET_LOCK().Martin Pieuchot
2017-05-28Remove useless splnet()/splx() dances.Martin Pieuchot
2017-01-22move counting if_opackets next to counting if_obytes in if_enqueue.David Gwynne
2016-09-16Reconfigure interface capabilities after switching trunkproto; ok mpiMike Belopuhov
2016-04-13We're always ready! So send IFQ_SET_READY() to the bitbucket.Martin Pieuchot
2015-12-31Move tr_port_destroy down; fixes 'lacp_compose_key protection fault trap'Stuart Henderson
2015-11-21dont check IFF_OACTIVE to see if the port is busy.David Gwynne
2015-11-20dont play with IFF_OACTIVE needlessly.David Gwynne
2015-11-12Prefix flowid with ph_ and print it in m_print().Martin Pieuchot
2015-10-25arp_ifinit() is no longer required.Martin Pieuchot
2015-10-08Make sure that when trunk_port_ioctl is called to set a newMike Belopuhov
2015-10-08if the mbuf has a valid flowid, use it instead of using siphash24David Gwynne
2015-10-05Factor LACP frame processing out to a separate taskMike Belopuhov
2015-09-29add sizes to some of the simpler free callsTheo de Raadt
2015-09-28Remove "if_tp" from the "struct ifnet".Martin Pieuchot
2015-09-24add a comment explaining how we serialize when switching trunkproto;Mike Belopuhov
2015-09-24Avoid a theoretical m_pullup(9) mishandling by delegating the mbufMike Belopuhov
2015-09-23Serialize trunk changes with input handler insertion and removal.Mike Belopuhov
2015-09-23Keep track of an active port in the failover trunk to avoid listMike Belopuhov
2015-09-23Remove trunk watchdog code since it doesn't do anything usefulMike Belopuhov
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