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