summaryrefslogtreecommitdiffstats
path: root/sys/net/bridgestp.h
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2007-08-04 21:09:04 +0000
committerthompsa <thompsa@FreeBSD.org>2007-08-04 21:09:04 +0000
commite37a2c24c62b18a1823ed73ed03f26d47c97b7d0 (patch)
tree423b0cb9ca749d1467237bdf3bb9681f5218a291 /sys/net/bridgestp.h
parent7f5da49f3d7689cd8caa7579d037af65f16a1076 (diff)
downloadFreeBSD-src-e37a2c24c62b18a1823ed73ed03f26d47c97b7d0.zip
FreeBSD-src-e37a2c24c62b18a1823ed73ed03f26d47c97b7d0.tar.gz
- Ensure the path cost does not exceed 65535 in legacy STP mode.
- If the path cost is calculated when the link is down, set a pending flag so it is calculated again when it comes back up. - To not use 00:00:00:00:00:00 as the bridge id, all interfaces are scanned and the lowest number wins. All zeros is too low. Approved by: re (rwatson)
Diffstat (limited to 'sys/net/bridgestp.h')
-rw-r--r--sys/net/bridgestp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net/bridgestp.h b/sys/net/bridgestp.h
index 0f00311..d320b65 100644
--- a/sys/net/bridgestp.h
+++ b/sys/net/bridgestp.h
@@ -110,6 +110,7 @@
#define BSTP_PORT_AUTOEDGE 0x0010
#define BSTP_PORT_AUTOPTP 0x0020
#define BSTP_PORT_ADMEDGE 0x0040
+#define BSTP_PORT_PNDCOST 0x0080
/* BPDU priority */
#define BSTP_PDU_SUPERIOR 1
OpenPOWER on IntegriCloud