cvs commit: src/sys/net bridge.c

Sam Leffler sam at
Tue Sep 16 17:50:34 PDT 2003

sam         2003/09/16 17:50:33 PDT

  FreeBSD src repository

  Modified files:
    sys/net              bridge.c 
  Minor overhaul and add locking.
  o replace magic constants with #defines (e.g. ETHER_ADDR_LEN)
  o move mib variables to 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
  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

More information about the cvs-src mailing list