Class STP
In: lib/l3/stp.rb  (CVS)
Parent: RacketPart

$Id: stp.rb 14 2008-03-02 05:42:30Z warchild $

Copyright (c) 2008, Jon Hart All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

    * Redistributions of source code must retain the above copyright
      notice, this list of conditions and the following disclaimer.
    * Redistributions in binary form must reproduce the above copyright
      notice, this list of conditions and the following disclaimer in the
      documentation and/or other materials provided with the distribution.
    * Neither the name of the <organization> nor the
      names of its contributors may be used to endorse or promote products
      derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY Jon Hart ``AS IS’’ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL Jon Hart BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Spanning Tree Protocol

en.wikipedia.org/wiki/Spanning_tree_protocol

Attributes

bpdu_flag_agreement    BPDU Flag — Agreement
bpdu_flag_change    BPDU Flag — Topology Change
bpdu_flag_change_ack    BPDU Flag — Topology Change Acknowledgement
bpdu_flag_forwarding    BPDU Flag — Forwarding
bpdu_flag_learning    BPDU Flag — Learning
bpdu_flag_port_role    BPDU Flag — Port Role
bpdu_flag_proposal    BPDU Flag — Proposal
bpdu_type    BPDU type
bridge_id    Bridge Identifier
bridge_wtf    Bridge WTF? Not sure what this is XXX
forward_delay    Forward delay
hello_time    Hello time
max_age    Max age
msg_age    Message age
payload    Payload
port_id    Port Identifier
protocol    Protocol identifier
root_cost    Root Path Cost
root_id    Root Identifier
root_wtf    Root wtf? Not sure what this is XXX
v1_len    Version 1 Length
version    Protocol version

[Validate]