Lines Matching refs:port
43 register PORT_T *port = this->owner.port;
45 return STP_OUT_set_learning (port->port_index, port->owner->vlan_id, False);
51 register PORT_T *port = this->owner.port;
53 return STP_OUT_set_learning (port->port_index, port->owner->vlan_id, True);
59 register PORT_T *port = this->owner.port;
61 return STP_OUT_set_forwarding (port->port_index, port->owner->vlan_id, False);
67 register PORT_T *port = this->owner.port;
69 return STP_OUT_set_forwarding (port->port_index, port->owner->vlan_id, True);
76 register PORT_T *port = this->owner.port;
81 port->learning = False;
82 port->forwarding = False;
87 STP_OUT_set_port_state (port->port_index, port->owner->vlan_id, UID_PORT_DISCARDING);
91 port->learning = True;
95 STP_OUT_set_port_state (port->port_index, port->owner->vlan_id, UID_PORT_LEARNING);
99 port->tc = !port->operEdge;
100 port->forwarding = True;
104 STP_OUT_set_port_state (port->port_index, port->owner->vlan_id, UID_PORT_FORWARDING);
114 register PORT_T *port = this->owner.port;
120 if (port->learn) {
125 if (port->forward) {
128 if (!port->learn) {
133 if (!port->forward) {