github.com/dim13/unifi@v0.0.0-20230308161331-9b04946f5e93/stp.go (about) 1 // Copyright (c) 2014 The unifi Authors. All rights reserved. 2 // Use of this source code is governed by ISC-style license 3 // that can be found in the LICENSE file. 4 5 package unifi 6 7 type STP int 8 9 //go:generate stringer -type=STP 10 11 // Spanning-Tree states 12 const ( 13 StpDisabled STP = 0 14 StpBlocking STP = 1 15 StpListening STP = 2 16 StpLearning STP = 3 17 StpForwarding STP = 4 18 StpUnknown STP = 9 19 )