Lines Matching refs:port_index

124 _stpapi_port_find (STPM_T* this, int port_index)
129 if (port_index == port->port_index) {
198 _stp_in_enable_port_on_stpm (STPM_T* stpm, int port_index, Bool enable)
202 port = _stpapi_port_find (stpm, port_index);
289 STP_IN_port_get_cfg (int vlan_id, int port_index, UID_STP_PORT_CFG_T* uid_cfg)
302 port = _stpapi_port_find (this, port_index);
481 STP_IN_enable_port (int port_index, Bool enable)
489 "clearFDB", (int) port_index, "this port", "disable port");
491 STP_OUT_flush_lt (port_index, 0, LT_FLASH_ONLY_THE_PORT, "disable port");
497 _stp_in_enable_port_on_stpm (stpm, port_index, enable);
506 STP_IN_changed_port_speed (int port_index, long speed)
515 port = _stpapi_port_find (stpm, port_index);
532 STP_IN_changed_port_duplex (int port_index)
541 port = _stpapi_port_find (stpm, port_index);
601 STP_IN_rx_bpdu (int vlan_id, int port_index, BPDU_T* bpdu, size_t len)
625 port = _stpapi_port_find (this, port_index);
628 stp_trace ("RX bpdu vlan_id=%d port=%d port is absent in the stpm :(", (int) vlan_id, (int) port_index);
659 STP_OUT_get_port_link_status (port->port_index)) {
660 _stp_in_enable_port_on_stpm (this, port->port_index, True);
807 STP_IN_port_set_cfg (IN int vlan_id, IN int port_index,
821 port = _stpapi_port_find (this, port_index);
836 port->port_id = (uid_cfg->port_priority << 8) + port_index;
936 STP_IN_port_add(int vlan_id, int port_index)
952 if (! STP_port_create (this, port_index)) {
954 stp_trace ("can't create port %d", port_index);
968 STP_IN_port_remove(int vlan_id, int port_index)
981 port = _stpapi_port_find (this, port_index);