Lines Matching refs:bridge_softc
118 static void bstp_initialize_port(struct bridge_softc *, struct bridge_iflist *);
119 static void bstp_ifupdstatus(struct bridge_softc *, struct bridge_iflist *);
120 static void bstp_enable_port(struct bridge_softc *, struct bridge_iflist *);
121 static void bstp_disable_port(struct bridge_softc *, struct bridge_iflist *);
122 static int bstp_root_bridge(struct bridge_softc *sc);
123 static int bstp_supersedes_port_info(struct bridge_softc *,
126 static int bstp_designated_port(struct bridge_softc *, struct bridge_iflist *);
127 static int bstp_designated_for_some_port(struct bridge_softc *);
128 static void bstp_transmit_config(struct bridge_softc *, struct bridge_iflist *);
129 static void bstp_transmit_tcn(struct bridge_softc *);
130 static void bstp_received_config_bpdu(struct bridge_softc *,
133 static void bstp_received_tcn_bpdu(struct bridge_softc *, struct bridge_iflist *,
135 static void bstp_record_config_information(struct bridge_softc *,
138 static void bstp_record_config_timeout_values(struct bridge_softc *,
140 static void bstp_config_bpdu_generation(struct bridge_softc *);
141 static void bstp_send_config_bpdu(struct bridge_softc *, struct bridge_iflist *,
143 static void bstp_configuration_update(struct bridge_softc *);
144 static void bstp_root_selection(struct bridge_softc *);
145 static void bstp_designated_port_selection(struct bridge_softc *);
146 static void bstp_become_designated_port(struct bridge_softc *,
148 static void bstp_port_state_selection(struct bridge_softc *);
149 static void bstp_make_forwarding(struct bridge_softc *, struct bridge_iflist *);
150 static void bstp_make_blocking(struct bridge_softc *, struct bridge_iflist *);
153 static void bstp_set_bridge_priority(struct bridge_softc *, uint64_t);
154 static void bstp_set_port_priority(struct bridge_softc *, struct bridge_iflist *,
156 static void bstp_set_path_cost(struct bridge_softc *, struct bridge_iflist *,
159 static void bstp_topology_change_detection(struct bridge_softc *);
160 static void bstp_topology_change_acknowledged(struct bridge_softc *);
161 static void bstp_acknowledge_topology_change(struct bridge_softc *,
169 static void bstp_hold_timer_expiry(struct bridge_softc *, struct bridge_iflist *);
170 static void bstp_message_age_timer_expiry(struct bridge_softc *,
172 static void bstp_forward_delay_timer_expiry(struct bridge_softc *,
174 static void bstp_topology_change_timer_expiry(struct bridge_softc *);
175 static void bstp_tcn_timer_expiry(struct bridge_softc *);
176 static void bstp_hello_timer_expiry(struct bridge_softc *);
179 bstp_transmit_config(struct bridge_softc *sc, struct bridge_iflist *bif)
215 bstp_send_config_bpdu(struct bridge_softc *sc, struct bridge_iflist *bif,
284 bstp_root_bridge(struct bridge_softc *sc)
290 bstp_supersedes_port_info(struct bridge_softc *sc, struct bridge_iflist *bif,
316 bstp_record_config_information(struct bridge_softc *sc,
327 bstp_record_config_timeout_values(struct bridge_softc *sc,
337 bstp_config_bpdu_generation(struct bridge_softc *sc)
351 bstp_designated_port(struct bridge_softc *sc, struct bridge_iflist *bif)
358 bstp_transmit_tcn(struct bridge_softc *sc)
401 bstp_configuration_update(struct bridge_softc *sc)
408 bstp_root_selection(struct bridge_softc *sc)
466 bstp_designated_port_selection(struct bridge_softc *sc)
496 bstp_become_designated_port(struct bridge_softc *sc, struct bridge_iflist *bif)
505 bstp_port_state_selection(struct bridge_softc *sc)
528 bstp_make_forwarding(struct bridge_softc *sc,
538 bstp_make_blocking(struct bridge_softc *sc, struct bridge_iflist *bif)
560 bstp_topology_change_detection(struct bridge_softc *sc)
573 bstp_topology_change_acknowledged(struct bridge_softc *sc)
580 bstp_acknowledge_topology_change(struct bridge_softc *sc,
588 bstp_input(struct bridge_softc *sc, struct bridge_iflist *bif, struct mbuf *m)
683 bstp_received_config_bpdu(struct bridge_softc *sc, struct bridge_iflist *bif,
720 bstp_received_tcn_bpdu(struct bridge_softc *sc, struct bridge_iflist *bif,
731 bstp_hello_timer_expiry(struct bridge_softc *sc)
738 bstp_message_age_timer_expiry(struct bridge_softc *sc,
761 bstp_forward_delay_timer_expiry(struct bridge_softc *sc,
776 bstp_designated_for_some_port(struct bridge_softc *sc)
791 bstp_tcn_timer_expiry(struct bridge_softc *sc)
798 bstp_topology_change_timer_expiry(struct bridge_softc *sc)
805 bstp_hold_timer_expiry(struct bridge_softc *sc, struct bridge_iflist *bif)
812 bstp_initialization(struct bridge_softc *sc)
889 bstp_stop(struct bridge_softc *sc)
911 bstp_initialize_port(struct bridge_softc *sc, struct bridge_iflist *bif)
924 bstp_enable_port(struct bridge_softc *sc, struct bridge_iflist *bif)
931 bstp_disable_port(struct bridge_softc *sc, struct bridge_iflist *bif)
959 bstp_set_bridge_priority(struct bridge_softc *sc, uint64_t new_bridge_id)
991 bstp_set_port_priority(struct bridge_softc *sc, struct bridge_iflist *bif,
1007 bstp_set_path_cost(struct bridge_softc *sc, struct bridge_iflist *bif,
1017 bstp_ifupdstatus(struct bridge_softc *sc, struct bridge_iflist *bif)
1052 struct bridge_softc *sc = arg;