diff options
author | thompsa <thompsa@FreeBSD.org> | 2006-11-26 18:43:48 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2006-11-26 18:43:48 +0000 |
commit | 8f2b5bd800be4781a09beff0785b6de9f437d176 (patch) | |
tree | 830196d4f4c7ae5711bcf53cc4a89909662fc904 /sys/net/bridgestp.h | |
parent | 48f2c3ea925ca18fa73b6355af0e6d31b2251e76 (diff) | |
download | FreeBSD-src-8f2b5bd800be4781a09beff0785b6de9f437d176.zip FreeBSD-src-8f2b5bd800be4781a09beff0785b6de9f437d176.tar.gz |
use two stage creation of stp ports, this means that the stp variables can be
set before the port is marked STP and they will no longer be overwrittten
Diffstat (limited to 'sys/net/bridgestp.h')
-rw-r--r-- | sys/net/bridgestp.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/net/bridgestp.h b/sys/net/bridgestp.h index 20c1eff..8e09cf9 100644 --- a/sys/net/bridgestp.h +++ b/sys/net/bridgestp.h @@ -367,9 +367,10 @@ void bstp_attach(struct bstp_state *, bstp_state_cb_t, bstp_rtage_cb_t); void bstp_detach(struct bstp_state *); void bstp_init(struct bstp_state *); void bstp_stop(struct bstp_state *); -int bstp_add(struct bstp_state *, struct bstp_port *, struct ifnet *); -void bstp_delete(struct bstp_port *); -void bstp_drain(struct bstp_port *); +int bstp_create(struct bstp_state *, struct bstp_port *, struct ifnet *); +int bstp_enable(struct bstp_port *); +void bstp_disable(struct bstp_port *); +void bstp_destroy(struct bstp_port *); void bstp_linkstate(struct ifnet *, int); int bstp_set_htime(struct bstp_state *, int); int bstp_set_fdelay(struct bstp_state *, int); |