Lines Matching defs:state
174 set_port_state(int port_index, int vlan_id, RSTP_PORT_STATE state)
185 syslog(LOG_DEBUG, "setting port state on port %d (%s) to %d",
186 port_index, pd->name, state);
187 switch (state) {
200 syslog(LOG_ERR, "cannot set STP state on %s from %s to %s: %m",
201 pd->name, bls_state(pd->state), bls_state(bss.bss_state));
205 * the kernel will be forced to destroy the bridge state and
208 if (pd->state == BLS_FORWARDING &&
214 pd->state = bss.bss_state;
424 syslog(LOG_DEBUG, "resetting state machine");
498 * Restore state when reenabling STP engine, set fixed state when
504 bss.bss_state = port->state = BLS_BLOCKLISTEN;
509 bss.bss_state = port->state;
512 syslog(LOG_ERR, "cannot set STP state on %s: %m", port->name);
529 /* return to default debug state */