/titanic_50/usr/src/lib/librstp/common/ |
H A D | rolesel.c | 38 void stp_dbg_break_point (PORT_T * port, STPM_T* stpm) 65 setRoleSelected (char* reason, STPM_T* stpm, PORT_T* port, in setRoleSelected() argument 112 reason, stpm->name, port->port_name, (int) newRole); in setRoleSelected() 122 reason, stpm->name, port->port_name, new_role_name); in setRoleSelected() 151 register STPM_T *stpm; in updtRootPrio() local 154 stpm = this->owner.stpm; in updtRootPrio() 156 for (port = stpm->ports; port; port = port->next) { in updtRootPrio() 175 if (STP_VECT_compare_vector (&rootPathPrio, &stpm->rootPrio) < 0) { in updtRootPrio() 176 STP_VECT_copy (&stpm->rootPrio, &rootPathPrio); in updtRootPrio() 177 STP_copy_times (&stpm->rootTimes, &port->portTimes); in updtRootPrio() [all …]
|
H A D | stpmgmt.c | 89 register STPM_T* stpm; in STP_IN_stpm_get_vlan_id_by_name() local 93 for (stpm = STP_stpm_get_the_list (); stpm; stpm = stpm->next) { in STP_IN_stpm_get_vlan_id_by_name() 94 if (stpm->name && ! strcmp (stpm->name, name)) { in STP_IN_stpm_get_vlan_id_by_name() 95 *vlan_id = stpm->vlan_id; in STP_IN_stpm_get_vlan_id_by_name() 132 register STPM_T* stpm; in STP_IN_stop_all() local 136 for (stpm = STP_stpm_get_the_list (); stpm; stpm = stpm->next) { in STP_IN_stop_all() 137 if (STP_DISABLED != stpm->admin_state) { in STP_IN_stop_all() 138 STP_OUT_set_hardware_mode (stpm->vlan_id, STP_DISABLED); in STP_IN_stop_all() 139 (void) STP_stpm_enable (stpm, STP_DISABLED); in STP_IN_stop_all() 150 register STPM_T* stpm; in STP_IN_delete_all() local [all …]
|
H A D | stp_in.c | 69 register STPM_T* stpm; in _stp_in_stpm_enable() local 71 for (stpm = STP_stpm_get_the_list (); stpm; stpm = stpm->next) { in _stp_in_stpm_enable() 72 if (STP_DISABLED != stpm->admin_state) { in _stp_in_stpm_enable() 73 STP_OUT_set_hardware_mode (stpm->vlan_id, STP_DISABLED); in _stp_in_stpm_enable() 74 (void) STP_stpm_enable (stpm, STP_DISABLED); in _stp_in_stpm_enable() 198 _stp_in_enable_port_on_stpm (STPM_T* stpm, int port_index, Bool enable) in _stp_in_enable_port_on_stpm() argument 202 port = _stpapi_port_find (stpm, port_index); in _stp_in_enable_port_on_stpm() 224 STP_port_init (port, stpm, False); in _stp_in_enable_port_on_stpm() 462 register STPM_T* stpm; in STP_IN_stpm_get_name_by_vlan_id() local 466 for (stpm = STP_stpm_get_the_list (); stpm; stpm = stpm->next) { in STP_IN_stpm_get_name_by_vlan_id() [all …]
|
H A D | port.c | 45 STP_port_create (STPM_T* stpm, int port_index) in STP_port_create() argument 53 for (this = stpm->ports; this; this = this->next) { in STP_port_create() 59 STP_NEW_IN_LIST(this, PORT_T, stpm->ports, "port create"); in STP_port_create() 61 this->owner = stpm; in STP_port_create() 67 STP_OUT_get_init_port_cfg (stpm->vlan_id, port_index, &port_cfg); in STP_port_create() 133 STP_port_init (PORT_T* this, STPM_T* stpm, Bool check_link) in STP_port_init() argument 138 &stpm->BrId, in STP_port_init() 140 &stpm->BrId, in STP_port_init() 143 STP_copy_times (&this->designTimes, &stpm->rootTimes); in STP_port_init() 166 STPM_T* stpm; in STP_port_delete() local [all …]
|
H A D | roletrns.c | 106 register STPM_T* stpm; in STP_roletrns_enter_state() local 108 stpm = port->owner; in STP_roletrns_enter_state() 122 port->rrWhile = stpm->rootTimes.ForwardDelay; in STP_roletrns_enter_state() 123 port->fdWhile = stpm->rootTimes.ForwardDelay; in STP_roletrns_enter_state() 136 port->fdWhile = stpm->rootTimes.ForwardDelay; in STP_roletrns_enter_state() 142 port->rbWhile = 2 * stpm->rootTimes.HelloTime; in STP_roletrns_enter_state() 172 port->rrWhile = stpm->rootTimes.ForwardDelay; in STP_roletrns_enter_state() 186 port->fdWhile = stpm->rootTimes.ForwardDelay; in STP_roletrns_enter_state() 236 port->fdWhile = stpm->rootTimes.ForwardDelay; in STP_roletrns_enter_state() 244 port->fdWhile = stpm->rootTimes.ForwardDelay; in STP_roletrns_enter_state() [all …]
|
H A D | statmch.c | 112 *this->owner.stpm->name ? this->owner.stpm->name : "Glbl", in STP_hop_2_state()
|
H A D | port.h | 165 STP_port_create (struct stpm_t* stpm, int port_index); 174 STP_port_init (PORT_T* this, struct stpm_t* stpm, Bool check_link);
|
H A D | statmch.h | 48 struct stpm_t* stpm; member
|
H A D | ChangeLog | 5 - Fixed two unreachable statements (statmch.c and stpm.c).
|
H A D | README.files | 36 stpm.c - the RSTP instance (some reflection of Port0)
|
/titanic_50/usr/src/lib/librstp/ |
H A D | Makefile.com | 30 roletrns.o statmch.o stp_in.o stpm.o stpmgmt.o sttrans.o \
|
/titanic_50/exception_lists/ |
H A D | hdrchk | 217 usr/src/lib/librstp/common/stpm.h
|
H A D | cstyle | 744 usr/src/lib/librstp/common/stpm.c 745 usr/src/lib/librstp/common/stpm.h
|