Minor overhaul and add locking.
o replace magic constants with #defines (e.g. ETHER_ADDR_LEN) o move mib variables to net.link.ether.bridge with backwards compatible entries for well-known items maintained under BURN_BRIDGES o revamp debugging support so it is conditioanlly compiled with BRIDGE_DEBUG (on currently) and runtime controlled by net.link.ether.bridge.debug o change timeout to MPSAFE callout o optimize lookup for common case of two interfaces o optimize forwarding path to take IFNET lock only when needed o make boot-time printf dependent on bootverbose o sundry style changes (ANSI decls, extraneous spaces, etc.) Sponsored by: FreeBSD Foundation
This commit is contained in:
parent
1b666ce56f
commit
e636fe824a
712
sys/net/bridge.c
712
sys/net/bridge.c
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user