예제 #1
0
파일: br_stp.c 프로젝트: cilynx/dd-wrt
/* called under bridge lock */
void br_config_bpdu_generation(struct net_bridge *br)
{
	struct net_bridge_port *p;

	p = br->port_list;
	while (p != NULL) {
		if (p->state != BR_STATE_DISABLED &&
		    br_is_designated_port(p))
			br_transmit_config(p);

		p = p->next;
	}
}
예제 #2
0
파일: br_stp.c 프로젝트: cilynx/dd-wrt
/* called under bridge lock */
static void br_topology_change_acknowledge(struct net_bridge_port *p)
{
	p->topology_change_ack = 1;
	br_transmit_config(p);
}
예제 #3
0
파일: br_stp.c 프로젝트: cilynx/dd-wrt
/* called under bridge lock */
static void br_reply(struct net_bridge_port *p)
{
	br_transmit_config(p);
}
예제 #4
0
/* called under bridge lock */
static void br_hold_timer_expired(struct net_bridge_port *p)
{
	if (p->config_pending)
		br_transmit_config(p);
}