cvs commit: src/sys/net bridgestp.c bridgestp.h if_bridge.c if_bridgevar.h

Shteryana Shopova syrinx at FreeBSD.org
Mon Dec 4 06:45:03 PST 2006


syrinx      2006-12-04 14:45:03 UTC

  FreeBSD src repository

  Modified files:
    sys/net              bridgestp.c bridgestp.h if_bridge.c 
                         if_bridgevar.h 
  Log:
  Add two new flags to if_bridge(4) indicating whether the edge flag
  of the bridge port and path cost have been administratively set or
  calculated automatically by RSTP.
  
  Make sure to transition from non-edge to edge when the port goes down
  and the edge flag was manually set before.
  This is needed to comply with the condition
          ((!portEnabled && AdminEdge) || ....)
  in the Bridge Detection State Machine (IEE802.1D-2004, p. 171).
  
  Reviewed by:    thompsa
  Approved by:    bz (mentor)
  
  Revision  Changes    Path
  1.32      +9 -2      src/sys/net/bridgestp.c
  1.11      +1 -0      src/sys/net/bridgestp.h
  1.91      +4 -0      src/sys/net/if_bridge.c
  1.19      +4 -1      src/sys/net/if_bridgevar.h


More information about the cvs-src mailing list