Home
last modified time | relevance | path

Searched refs:max_age (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/lib/librstp/common/
H A Dstp_in.h80 (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 Dstp_in.c166 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 Dtimes.c51 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 Duid_stp.h74 int max_age; member
96 int max_age; member
H A Dstp_bpdu.h78 unsigned char max_age[2]; member
H A Dstpmgmt.c48 this->BrTimes.MaxAge = init_cfg.max_age; in STP_IN_stpm_create()
H A Dportinfo.c277 _stp_dump ("max_age", bpdu->body.max_age, 2); in STP_info_rx_bpdu()
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlibdlbridge.c428 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()
/illumos-gate/usr/src/cmd/dladm/
H A Ddladm.c7876 cfg.max_age = DEF_BR_MAXAGE; in create_modify_add_bridge()
7939 if (!str2int(optarg, &cfg.max_age) || in create_modify_add_bridge()
7940 cfg.max_age < MIN_BR_MAXAGE || in create_modify_add_bridge()
7941 cfg.max_age > MAX_BR_MAXAGE) in create_modify_add_bridge()
7982 cfg.max_age = cfg_old.max_age; in create_modify_add_bridge()
8262 smfcfg.max_age, runcfg.max_age, in print_bridge()
8298 sizeof (bbuf->bridge_maxage), "%d", stpstate.max_age); in print_bridge()