Searched refs:max_age (Results 1 – 9 of 9) sorted by relevance
/titanic_50/usr/src/lib/librstp/common/ |
H A D | stp_in.h | 80 (2 * (cfg.forward_delay - 1) >= cfg.max_age && \ 81 cfg.max_age >= 2 * (cfg.hello_time + 1)) 94 #define SMALL_MAXAGE(cfg) (cfg.max_age < 2 * (cfg.hello_time + 1)) 99 (cfg.max_age > 2 * (MAX_BR_HELLOT + 1) ? MAX_BR_HELLOT : \ 100 (cfg.max_age / 2 - 1)) 102 #define MIN_FWDELAY(cfg) (cfg.max_age / 2 + 1)
|
H A D | stp_in.c | 166 if (uid_cfg->max_age < MIN_BR_MAXAGE) { in _check_stpm_config() 167 stp_trace ("%d max_age small", (int) uid_cfg->max_age); in _check_stpm_config() 171 if (uid_cfg->max_age > MAX_BR_MAXAGE) { in _check_stpm_config() 172 stp_trace ("%d max_age large", (int) uid_cfg->max_age); in _check_stpm_config() 186 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() 270 uid_cfg->max_age = this->BrTimes.MaxAge; in STP_IN_stpm_get_cfg() 443 entry->max_age = this->rootTimes.MaxAge; in STP_IN_stpm_get_state() 719 old.max_age = uid_cfg->max_age; in STP_IN_stpm_set_cfg() 779 this->BrTimes.MaxAge = old.max_age; in STP_IN_stpm_set_cfg()
|
H A D | times.c | 51 v->MaxAge = ntohs (*((unsigned short*) b->max_age)) >> 8; in STP_get_times() 67 STP_SET_TIME(v->MaxAge, b->max_age); in STP_set_times()
|
H A D | uid_stp.h | 74 int max_age; member 96 int max_age; member
|
H A D | stp_bpdu.h | 78 unsigned char max_age[2]; member
|
H A D | stpmgmt.c | 48 this->BrTimes.MaxAge = init_cfg.max_age; in STP_IN_stpm_create()
|
H A D | portinfo.c | 277 _stp_dump ("max_age", bpdu->body.max_age, 2); in STP_info_rx_bpdu()
|
/titanic_50/usr/src/lib/libdladm/common/ |
H A D | libdlbridge.c | 428 cfg->max_age = DEF_BR_MAXAGE; in dladm_bridge_get_properties() 476 cfg->max_age = value / IEEE_TIMER_SCALE; in dladm_bridge_get_properties() 956 "max-age", cfg->max_age * IEEE_TIMER_SCALE)) in dladm_bridge_configure()
|
/titanic_50/usr/src/cmd/dladm/ |
H A D | dladm.c | 7730 cfg.max_age = DEF_BR_MAXAGE; in create_modify_add_bridge() 7793 if (!str2int(optarg, &cfg.max_age) || in create_modify_add_bridge() 7794 cfg.max_age < MIN_BR_MAXAGE || in create_modify_add_bridge() 7795 cfg.max_age > MAX_BR_MAXAGE) in create_modify_add_bridge() 7836 cfg.max_age = cfg_old.max_age; in create_modify_add_bridge() 8116 smfcfg.max_age, runcfg.max_age, in print_bridge() 8152 sizeof (bbuf->bridge_maxage), "%d", stpstate.max_age); in print_bridge()
|