Deleted Added
full compact
bridgestp.h (164141) bridgestp.h (164626)
1/* $NetBSD: if_bridgevar.h,v 1.4 2003/07/08 07:13:50 itojun Exp $ */
2
3/*
4 * Copyright 2001 Wasabi Systems, Inc.
5 * All rights reserved.
6 *
7 * Written by Jason R. Thorpe for Wasabi Systems, Inc.
8 *

--- 53 unchanged lines hidden (view full) ---

62 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
63 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
64 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
65 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
66 * POSSIBILITY OF SUCH DAMAGE.
67 *
68 * OpenBSD: if_bridge.h,v 1.14 2001/03/22 03:48:29 jason Exp
69 *
1/* $NetBSD: if_bridgevar.h,v 1.4 2003/07/08 07:13:50 itojun Exp $ */
2
3/*
4 * Copyright 2001 Wasabi Systems, Inc.
5 * All rights reserved.
6 *
7 * Written by Jason R. Thorpe for Wasabi Systems, Inc.
8 *

--- 53 unchanged lines hidden (view full) ---

62 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
63 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
64 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
65 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
66 * POSSIBILITY OF SUCH DAMAGE.
67 *
68 * OpenBSD: if_bridge.h,v 1.14 2001/03/22 03:48:29 jason Exp
69 *
70 * $FreeBSD: head/sys/net/bridgestp.h 164141 2006-11-09 22:50:49Z thompsa $
70 * $FreeBSD: head/sys/net/bridgestp.h 164626 2006-11-26 18:43:48Z thompsa $
71 */
72
73/*
74 * Data structure and control definitions for STP interfaces.
75 */
76
77#include <sys/callout.h>
78#include <sys/queue.h>

--- 283 unchanged lines hidden (view full) ---

362extern const uint8_t bstp_etheraddr[];
363
364extern void (*bstp_linkstate_p)(struct ifnet *ifp, int state);
365
366void bstp_attach(struct bstp_state *, bstp_state_cb_t, bstp_rtage_cb_t);
367void bstp_detach(struct bstp_state *);
368void bstp_init(struct bstp_state *);
369void bstp_stop(struct bstp_state *);
71 */
72
73/*
74 * Data structure and control definitions for STP interfaces.
75 */
76
77#include <sys/callout.h>
78#include <sys/queue.h>

--- 283 unchanged lines hidden (view full) ---

362extern const uint8_t bstp_etheraddr[];
363
364extern void (*bstp_linkstate_p)(struct ifnet *ifp, int state);
365
366void bstp_attach(struct bstp_state *, bstp_state_cb_t, bstp_rtage_cb_t);
367void bstp_detach(struct bstp_state *);
368void bstp_init(struct bstp_state *);
369void bstp_stop(struct bstp_state *);
370int bstp_add(struct bstp_state *, struct bstp_port *, struct ifnet *);
371void bstp_delete(struct bstp_port *);
372void bstp_drain(struct bstp_port *);
370int bstp_create(struct bstp_state *, struct bstp_port *, struct ifnet *);
371int bstp_enable(struct bstp_port *);
372void bstp_disable(struct bstp_port *);
373void bstp_destroy(struct bstp_port *);
373void bstp_linkstate(struct ifnet *, int);
374int bstp_set_htime(struct bstp_state *, int);
375int bstp_set_fdelay(struct bstp_state *, int);
376int bstp_set_maxage(struct bstp_state *, int);
377int bstp_set_holdcount(struct bstp_state *, int);
378int bstp_set_protocol(struct bstp_state *, int);
379int bstp_set_priority(struct bstp_state *, int);
380int bstp_set_port_priority(struct bstp_port *, int);
381int bstp_set_path_cost(struct bstp_port *, uint32_t);
382int bstp_set_edge(struct bstp_port *, int);
383int bstp_set_autoedge(struct bstp_port *, int);
384struct mbuf *bstp_input(struct bstp_port *, struct ifnet *, struct mbuf *);
385
386#endif /* _KERNEL */
374void bstp_linkstate(struct ifnet *, int);
375int bstp_set_htime(struct bstp_state *, int);
376int bstp_set_fdelay(struct bstp_state *, int);
377int bstp_set_maxage(struct bstp_state *, int);
378int bstp_set_holdcount(struct bstp_state *, int);
379int bstp_set_protocol(struct bstp_state *, int);
380int bstp_set_priority(struct bstp_state *, int);
381int bstp_set_port_priority(struct bstp_port *, int);
382int bstp_set_path_cost(struct bstp_port *, uint32_t);
383int bstp_set_edge(struct bstp_port *, int);
384int bstp_set_autoedge(struct bstp_port *, int);
385struct mbuf *bstp_input(struct bstp_port *, struct ifnet *, struct mbuf *);
386
387#endif /* _KERNEL */