Home
last modified time | relevance | path

Searched refs:BrId (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/lib/librstp/common/
H A Drolesel.c47 (&port->portPrio.design_bridge, &this->BrId)) { in _is_backup_port()
53 &this->BrId, True); in _is_backup_port()
206 STP_VECT_create (&stpm->rootPrio, &stpm->BrId, 0, &stpm->BrId, 0, 0); in updtRolesBridge()
219 &stpm->BrId, port->port_id, port->port_id); in updtRolesBridge()
381 STP_VECT_create (&rootPathPrio, &this->BrId, 0, &this->BrId, 0, 0); in STP_rolesel_update_stpm()
392 &this->BrId, port->port_id, port->port_id); in STP_rolesel_update_stpm()
H A Dstpm.c75 &this->BrId, in _stp_stpm_init_data()
77 &this->BrId, in _stp_stpm_init_data()
306 STP_OUT_get_port_mac (min_num_port->port_index, this->BrId.addr); in STP_compute_bridge_id()
308 return &this->BrId; in STP_compute_bridge_id()
335 ! STP_VECT_compare_bridge_id (&this->BrId, &oth->BrId)) { in STP_stpm_check_bridge_priority()
H A Dstp_in.c262 if (this->BrId.prio != DEF_BR_PRIO) { in STP_IN_stpm_get_cfg()
265 uid_cfg->bridge_priority = this->BrId.prio; in STP_IN_stpm_get_cfg()
447 _conv_br_id_2_uid (&this->BrId, &entry->bridge_id); in STP_IN_stpm_get_state()
768 prev_prio = this->BrId.prio; in STP_IN_stpm_set_cfg()
769 this->BrId.prio = old.bridge_priority; in STP_IN_stpm_set_cfg()
772 this->BrId.prio = prev_prio; in STP_IN_stpm_set_cfg()
1003 *priority = this->BrId.prio; in STP_IN_get_bridge_id()
1004 (void) memcpy(mac, this->BrId.addr, 6); in STP_IN_get_bridge_id()
H A Dport.c138 &stpm->BrId, in STP_port_init()
140 &stpm->BrId, in STP_port_init()
H A Dstpm.h62 BRIDGE_ID BrId; /* 17.17.2 */ member
H A Dstpmgmt.c47 this->BrId.prio = init_cfg.bridge_priority; in STP_IN_stpm_create()