Lines Matching refs:this
34 register STPM_T* this; in STP_IN_stpm_create() local
45 this = stp_in_stpm_create (vlan_id, name, &err_code); in STP_IN_stpm_create()
46 if (this) { in STP_IN_stpm_create()
47 this->BrId.prio = init_cfg.bridge_priority; in STP_IN_stpm_create()
48 this->BrTimes.MaxAge = init_cfg.max_age; in STP_IN_stpm_create()
49 this->BrTimes.HelloTime = init_cfg.hello_time; in STP_IN_stpm_create()
50 this->BrTimes.ForwardDelay = init_cfg.forward_delay; in STP_IN_stpm_create()
51 this->ForceVersion = (PROTOCOL_VERSION_T) init_cfg.force_version; in STP_IN_stpm_create()
61 register STPM_T* this; in STP_IN_stpm_delete() local
65 this = stpapi_stpm_find (vlan_id); in STP_IN_stpm_delete()
67 if (! this) { /* it had not yet been created :( */ in STP_IN_stpm_delete()
71 if (STP_ENABLED == this->admin_state) { in STP_IN_stpm_delete()
72 if (0 != STP_stpm_enable (this, STP_DISABLED)) {/* can't disable :( */ in STP_IN_stpm_delete()
79 STP_stpm_delete (this); in STP_IN_stpm_delete()
109 STPM_T* this; in STP_IN_get_is_stpm_enabled() local
113 this = stpapi_stpm_find (vlan_id); in STP_IN_get_is_stpm_enabled()
115 if (this) { in STP_IN_get_is_stpm_enabled()
116 if (this->admin_state == STP_ENABLED) { in STP_IN_get_is_stpm_enabled()