Searched refs:uid_cfg (Results 1 – 3 of 3) sorted by relevance
/titanic_41/usr/src/lib/librstp/common/ |
H A D | stp_in.c | 144 _check_stpm_config (IN UID_STP_CFG_T* uid_cfg) in _check_stpm_config() argument 146 if (uid_cfg->bridge_priority < MIN_BR_PRIO) { in _check_stpm_config() 147 stp_trace ("%d bridge_priority small", (int) uid_cfg->bridge_priority); in _check_stpm_config() 151 if (uid_cfg->bridge_priority > MAX_BR_PRIO) { in _check_stpm_config() 152 stp_trace ("%d bridge_priority large", (int) uid_cfg->bridge_priority); in _check_stpm_config() 156 if (uid_cfg->hello_time < MIN_BR_HELLOT) { in _check_stpm_config() 157 stp_trace ("%d hello_time small", (int) uid_cfg->hello_time); in _check_stpm_config() 161 if (uid_cfg->hello_time > MAX_BR_HELLOT) { in _check_stpm_config() 162 stp_trace ("%d hello_time large", (int) uid_cfg->hello_time); in _check_stpm_config() 166 if (uid_cfg->max_age < MIN_BR_MAXAGE) { in _check_stpm_config() [all …]
|
H A D | stp_in.h | 175 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);
|
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/bridged/ |
H A D | rstp.c | 53 static UID_STP_CFG_T uid_cfg; variable 271 *cfg = uid_cfg; in get_init_stpm_cfg() 383 status = dladm_bridge_get_properties(instance_name, &uid_cfg, &protect); in rstp_init() 411 uid_cfg.stp_enabled != new_cfg.stp_enabled)) { in rstp_refresh() 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() [all …]
|