Lines Matching refs:port
47 * delete learning emtries per port. The alternate
50 * for all ports, except the received port. I am ready to discuss :(
57 register PORT_T* port = this->owner.port;
60 if (port->operEdge) return True;
63 "flush", port->port_name, port->owner->name,
64 LT_FLASH_ONLY_THE_PORT == type ? "this port" : "other ports",
68 bret = STP_OUT_flush_lt (port->port_index, port->owner->vlan_id,
76 register PORT_T* port = this->owner.port;
79 for (tmp = port->owner->ports; tmp; tmp = tmp->next) {
80 if (tmp->port_index != port->port_index)
88 "clearFDB", port->port_name, port->owner->name,
93 STP_OUT_flush_lt (port->port_index, port->owner->vlan_id,
101 register PORT_T* port = this->owner.port;
103 if (port->sendRSTP && port->operPointToPointMac) {
104 return 2 * port->owner->rootTimes.HelloTime;
106 return port->owner->rootTimes.MaxAge;
112 register PORT_T* port = this->owner.port;
120 port->tcWhile = 0;
121 port->tc =
122 port->tcProp =
123 port->tcAck = False;
126 port->rcvdTc =
127 port->rcvdTcn =
128 port->rcvdTcAck = port->tc = port->tcProp = False;
133 port->tcWhile = newTcWhile (this);
136 stp_trace("DETECTED: tcWhile=%d on port %s",
137 port->tcWhile, port->port_name);
140 port->tc = False;
143 port->rcvdTcn = port->rcvdTc = False;
144 if (port->role == DesignatedPort) {
145 port->tcAck = True;
150 port->tcWhile = newTcWhile (this);
153 stp_trace("PROPAGATING: tcWhile=%d on port %s",
154 port->tcWhile, port->port_name);
159 port->tcProp = False;
162 port->tcWhile = 0;
165 stp_trace("ACKNOWLEDGED: tcWhile=%d on port %s",
166 port->tcWhile, port->port_name);
168 port->rcvdTcAck = False;
171 port->tcWhile = newTcWhile (this);
174 stp_trace("NOTIFIED_TCN: tcWhile=%d on port %s",
175 port->tcWhile, port->port_name);
184 register PORT_T* port = this->owner.port;
194 if (port->role == RootPort || port->role == DesignatedPort)
196 if (port->rcvdTc || port->rcvdTcn || port->rcvdTcAck ||
197 port->tc || port->tcProp)
201 if (port->role != RootPort && (port->role != DesignatedPort))
203 if (port->tc)
205 if (port->rcvdTcn)
207 if (port->rcvdTc)
209 if (port->tcProp && !port->operEdge)
211 if (port->rcvdTcAck)