summaryrefslogtreecommitdiff
path: root/sys/net/bridgestp.c
AgeCommit message (Expand)Author
2020-07-30`struct bstp_state' stores pointer to parent `ifnet' as `bs_ifp'.mvs
2020-07-22Use interface index instead of pointer to `ifnet' in `struct bstp_port'.mvs
2019-11-07turn the linkstate hooks into a task list, like the detach hooks.David Gwynne
2019-05-13Do not check for IFF_RUNNING inside bstp_initialization().Martin Pieuchot
2019-05-03Add missing bridge_getbif(), reported by jsg@.Martin Pieuchot
2019-05-02Reset root port after last STP interface is removed.Martin Pieuchot
2019-04-28Removes the KERNEL_LOCK() from bridge(4)'s output fast-path.Martin Pieuchot
2019-03-31The KERNEL_LOCK() is still what serializes access to bridge(4) data structures.Martin Pieuchot
2018-12-07Remove useless spl protection.Martin Pieuchot
2018-10-22Rename 'bridge_iflist' variables for coherency, missed in previous.Martin Pieuchot
2017-05-16Replace remaining splsoftassert(IPL_SOFTNET) by NET_ASSERT_LOCKED().Martin Pieuchot
2017-01-24A space here, a space there. Soon we're talking real whitespaceKenneth R Westerback
2016-09-20Use splsoftassert() together with IPL_SOFTNET. On alpha and m88kAlexander Bluhm
2015-11-07Don't try to be clever testing if a queue is full before callingMartin Pieuchot
2015-11-02Some of the bridge code is running in splsoftnet now, change theReyk Floeter
2015-09-29add sizes to some of the simpler free callsTheo de Raadt
2015-07-17Pass the correct argument to bstp_notify_rtage().Martin Pieuchot
2015-07-15m_freem() can handle NULL, do not check for this condition beforehands.Theo de Raadt
2015-06-30Rename if_output() into if_enqueue() to avoid confusion with commentsMartin Pieuchot
2015-06-16Store a unique ID, an interface index, rather than a pointer to theMartin Pieuchot
2015-05-15Introduce if_output(), a function do to the last steps before enqueuingMartin Pieuchot
2015-05-12This file is only compiled when "pseudo-device bridge" is included inMartin Pieuchot
2015-05-04Use ether_input() as default input packet handler and do the necessaryMartin 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-09-08remove uneeded route.h includesJonathan Gray
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-04-19minus altq tentacles, plus missing IF_DROP here as wellHenning Brauer
2013-10-20remove irrelevant commentTheo de Raadt
2013-10-17The header file netinet/in_var.h included netinet6/in6_var.h. ThisAlexander Bluhm
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
2012-10-05Point an interface directly to its bridgeport configuration, insteadCamiel Dobbelaar
2012-09-20Don't filter spanning tree BPDUs. Either process, or forward them.Marco Pfatschbacher
2011-07-09sned BPDUs at prio 6, just like lacp and carp, ryan zinke mpfHenning Brauer
2010-11-20remove bs_list occurrences. fixes panic on destroy.Federico G. Schwindt
2010-10-31Remove unused bstp_list and bstp_attach.Marco Pfatschbacher
2010-10-28A function that only returns NULL should return void.Claudio Jeker
2008-09-10Convert timeout_add() calls using multiples of hz to timeout_add_sec()Bret Lambert
2008-08-07account spanning tree frames in if_obytes and if_omcasts.Damien Bergamini
2008-06-14Remove NBPFILTER conditional since we do not include "bpfilter.h" and theJoel Sing
2008-06-13we used to use the lowest (so it is deterministic) mac address in theHenning Brauer
2008-05-21Just clear the timeout since timeout_del() can cope withMichael Knudsen
2008-05-07enable tx mitigation when putting packets on the wire by switching fromDavid Gwynne
2007-11-26typos; ok jmc@Martynas Venckus
2007-10-30fix a typo, LIST_FOREACH(bp2, ... and then using bp instead of bp2Henning Brauer
2007-10-14'syncronize' -> 'synchronize'. From Diego Casati.Kenneth R Westerback
2007-09-15malloc sweep:Henning Brauer
2007-02-15Set topology change propagation on all ports _except_ the caller.Reyk Floeter