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