cvs commit: src/sys/net bridge.c

From: Sam Leffler <sam_at_FreeBSD.org>
Date: Tue, 16 Sep 2003 17:50:33 -0700 (PDT)
sam         2003/09/16 17:50:33 PDT

  FreeBSD src repository

  Modified files:
    sys/net              bridge.c 
  Log:
  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
  
  Revision  Changes    Path
  1.68      +404 -300  src/sys/net/bridge.c
Received on Tue Sep 16 2003 - 17:50:34 UTC