Lines Matching refs:stpm
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
153 for (stpm = STP_stpm_get_the_list (); stpm; stpm = stpm->next) { in STP_IN_delete_all()
154 (void) STP_stpm_enable (stpm, STP_DISABLED); in STP_IN_delete_all()
155 STP_stpm_delete (stpm); in STP_IN_delete_all()