Home
last modified time | relevance | path

Searched refs:stpm (Results 1 – 13 of 13) sorted by relevance

/titanic_41/usr/src/lib/librstp/common/
H A Drolesel.c38 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 Dstpmgmt.c89 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 Dstp_in.c69 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 Dport.c45 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 Droletrns.c106 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 Dstatmch.c112 *this->owner.stpm->name ? this->owner.stpm->name : "Glbl", in STP_hop_2_state()
H A Dport.h165 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 Dstatmch.h48 struct stpm_t* stpm; member
H A DChangeLog5 - Fixed two unreachable statements (statmch.c and stpm.c).
H A DREADME.files36 stpm.c - the RSTP instance (some reflection of Port0)
/titanic_41/usr/src/lib/librstp/
H A DMakefile.com30 roletrns.o statmch.o stp_in.o stpm.o stpmgmt.o sttrans.o \
/titanic_41/exception_lists/
H A Dhdrchk154 usr/src/lib/librstp/common/stpm.h
H A Dcstyle617 usr/src/lib/librstp/common/stpm.c
618 usr/src/lib/librstp/common/stpm.h