Home
last modified time | relevance | path

Searched refs:uid_cfg (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/lib/librstp/common/
H A Dstp_in.c186 if (2 * (uid_cfg->forward_delay - 1) < uid_cfg->max_age) { in _check_stpm_config()
190 if (uid_cfg->max_age < 2 * (uid_cfg->hello_time + 1)) { in _check_stpm_config()
242 uid_cfg->field_mask = 0; in STP_IN_stpm_get_cfg()
268 uid_cfg->field_mask |= BR_CFG_AGE; in STP_IN_stpm_get_cfg()
282 uid_cfg->hold_time = TxHoldCount; in STP_IN_stpm_get_cfg()
308 uid_cfg->field_mask = 0; in STP_IN_port_get_cfg()
320 uid_cfg->field_mask |= PT_CFG_P2P; in STP_IN_port_get_cfg()
719 old.max_age = uid_cfg->max_age; in STP_IN_stpm_set_cfg()
750 if (! uid_cfg->field_mask) { in STP_IN_stpm_set_cfg()
787 rc = _stp_in_stpm_enable (vlan_id, uid_cfg->vlan_name, uid_cfg->stp_enabled); in STP_IN_stpm_set_cfg()
[all …]
H A Dstp_in.h175 STP_IN_stpm_get_cfg (int vlan_id, UID_STP_CFG_T* uid_cfg);
181 STP_IN_port_get_cfg (int vlan_id, int port_index, UID_STP_PORT_CFG_T* uid_cfg);
193 UID_STP_CFG_T* uid_cfg);
197 UID_STP_PORT_CFG_T* uid_cfg);
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/
H A Drstp.c53 static UID_STP_CFG_T uid_cfg; variable
271 *cfg = uid_cfg; in get_init_stpm_cfg()
415 uid_cfg.stp_enabled, new_cfg.stp_enabled); in rstp_refresh()
422 if (uid_cfg.stp_enabled && in rstp_refresh()
423 memcmp(&uid_cfg, &new_cfg, sizeof (uid_cfg)) != 0) { in rstp_refresh()
425 uid_cfg.stp_enabled = STP_DISABLED; in rstp_refresh()
426 rc = STP_IN_stpm_set_cfg(0, &uid_cfg); in rstp_refresh()
432 uid_cfg = new_cfg; in rstp_refresh()
434 rc = STP_IN_stpm_set_cfg(0, &uid_cfg); in rstp_refresh()
461 uid_cfg.stp_enabled = STP_DISABLED; in rstp_change_mac()
[all …]