summaryrefslogtreecommitdiffstats
path: root/sys/net/bridgestp.h
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2006-11-26 18:43:48 +0000
committerthompsa <thompsa@FreeBSD.org>2006-11-26 18:43:48 +0000
commit8f2b5bd800be4781a09beff0785b6de9f437d176 (patch)
tree830196d4f4c7ae5711bcf53cc4a89909662fc904 /sys/net/bridgestp.h
parent48f2c3ea925ca18fa73b6355af0e6d31b2251e76 (diff)
downloadFreeBSD-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.h7
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);
OpenPOWER on IntegriCloud