summaryrefslogtreecommitdiffstats
path: root/sys/net/bridgestp.h
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2006-07-31 20:24:46 +0000
committerthompsa <thompsa@FreeBSD.org>2006-07-31 20:24:46 +0000
commit643801c6b91cc768837423ab9d777aa07eb18690 (patch)
tree3ee13b17b6b37925375b1efba7a58656806c19ff /sys/net/bridgestp.h
parent73ebfe88f61c7a436472f5c6b29ba96f06ba7d59 (diff)
downloadFreeBSD-src-643801c6b91cc768837423ab9d777aa07eb18690.zip
FreeBSD-src-643801c6b91cc768837423ab9d777aa07eb18690.tar.gz
Add some statistics that are needed to support RFC4188 as part of the SoC2006
work on a bridge monitoring module for BSNMP. Submitted by: shteryana (SoC 2006)
Diffstat (limited to 'sys/net/bridgestp.h')
-rw-r--r--sys/net/bridgestp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/net/bridgestp.h b/sys/net/bridgestp.h
index 61f2317..0905653 100644
--- a/sys/net/bridgestp.h
+++ b/sys/net/bridgestp.h
@@ -201,6 +201,7 @@ struct bstp_port {
uint8_t bp_config_pending;
uint8_t bp_change_detection_enabled;
uint8_t bp_priority;
+ uint32_t bp_forward_transitions;
};
/*
@@ -229,6 +230,7 @@ struct bstp_state {
struct bstp_timer bs_tcn_timer;
struct callout bs_bstpcallout; /* STP callout */
struct bstp_timer bs_link_timer;
+ struct timeval bs_last_tc_time;
LIST_HEAD(, bstp_port) bs_bplist;
};
OpenPOWER on IntegriCloud