Searched refs:port_index (Results 1 - 15 of 15) sorted by relevance

/osnet-11/usr/src/lib/librstp/common/
H A Dstp_vectors.h41 int (*flush_lt)(IN int port_index, IN int vlan_id,
45 void (*get_port_mac) (IN int port_index, OUT unsigned char* mac);
50 int (*get_port_link_status) (IN int port_index);
53 int (*get_duplex) (IN int port_index);
56 int (*set_learning) (IN int port_index, IN int vlan_id, IN int enable);
57 int (*set_forwarding) (IN int port_index, IN int vlan_id,
64 int (*set_port_state) (IN int port_index, IN int vlan_id,
69 int (*tx_bpdu) (IN int port_index, IN int vlan_id,
72 const char *(*get_port_name) (IN int port_index);
76 IN int port_index,
[all...]
H A Dstp_in.h149 STP_IN_port_add (int vlan_id, int port_index);
152 STP_IN_port_remove (int vlan_id, int port_index);
181 STP_IN_port_get_cfg (int vlan_id, int port_index, UID_STP_PORT_CFG_T* uid_cfg);
196 STP_IN_port_set_cfg (int vlan_id, int port_index,
201 int vlan_id, int port_index);
210 STP_IN_enable_port (int port_index, Bool enable);
213 STP_IN_changed_port_speed (int port_index, long speed);
216 STP_IN_changed_port_duplex (int port_index);
222 STP_IN_rx_bpdu (int vlan_id, int port_index, BPDU_T* bpdu, size_t len);
H A Dsttrans.c45 return STP_OUT_set_learning (port->port_index, port->owner->vlan_id, False);
53 return STP_OUT_set_learning (port->port_index, port->owner->vlan_id, True);
61 return STP_OUT_set_forwarding (port->port_index, port->owner->vlan_id, False);
69 return STP_OUT_set_forwarding (port->port_index, port->owner->vlan_id, True);
87 STP_OUT_set_port_state (port->port_index, port->owner->vlan_id, UID_PORT_DISCARDING);
95 STP_OUT_set_port_state (port->port_index, port->owner->vlan_id, UID_PORT_LEARNING);
104 STP_OUT_set_port_state (port->port_index, port->owner->vlan_id, UID_PORT_FORWARDING);
H A Dtransmit.c96 build_bpdu_header (int port_index, argument
102 STP_OUT_get_port_mac (port_index, bpdu_packet.mac.src_mac);
121 register int port_index, vlan_id; local
134 port_index = this->owner.port->port_index;
137 pkt_len = build_bpdu_header (port_index,
145 return STP_OUT_tx_bpdu (port_index, vlan_id,
176 register int port_index, vlan_id; local
190 port_index = port->port_index;
214 register int port_index, vlan_id; local
[all...]
H A Dport.c45 STP_port_create (STPM_T* stpm, int port_index) argument
54 if (this->port_index == port_index) {
63 this->port_index = port_index;
64 this->port_name = strdup (STP_OUT_get_port_name (port_index));
67 STP_OUT_get_init_port_cfg (stpm->vlan_id, port_index, &port_cfg);
75 this->port_id = (port_prio << 8) + port_index;
136 this->adminEnable = STP_OUT_get_port_link_status (this->port_index);
159 this->operSpeed = STP_OUT_get_port_oper_speed (this->port_index);
[all...]
H A Dstp_in.c124 _stpapi_port_find (STPM_T* this, int port_index) argument
129 if (port_index == port->port_index) {
198 _stp_in_enable_port_on_stpm (STPM_T* stpm, int port_index, Bool enable) argument
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) argument
302 port = _stpapi_port_find (this, port_index);
481 STP_IN_enable_port (int port_index, Bool enable) argument
489 "clearFDB", (int) port_index, "this port", "disable port");
491 STP_OUT_flush_lt (port_index,
506 STP_IN_changed_port_speed(int port_index, long speed) argument
532 STP_IN_changed_port_duplex(int port_index) argument
601 STP_IN_rx_bpdu(int vlan_id, int port_index, BPDU_T* bpdu, size_t len) argument
807 STP_IN_port_set_cfg(IN int vlan_id, IN int port_index, IN UID_STP_PORT_CFG_T* uid_cfg) argument
936 STP_IN_port_add(int vlan_id, int port_index) argument
968 STP_IN_port_remove(int vlan_id, int port_index) argument
[all...]
H A Dstpm.c295 int port_index = 0; local
298 if (! port_index || port->port_index < port_index) {
300 port_index = port->port_index;
306 STP_OUT_get_port_mac (min_num_port->port_index, this->BrId.addr);
H A Dp2p.c48 return STP_OUT_get_duplex (port->port_index);
H A Dport.h155 int port_index; member in struct:port_t
165 STP_port_create (struct stpm_t* stpm, int port_index);
H A Dtopoch.c68 bret = STP_OUT_flush_lt (port->port_index, port->owner->vlan_id,
80 if (tmp->port_index != port->port_index)
93 STP_OUT_flush_lt (port->port_index, port->owner->vlan_id,
H A Dpcost.c87 port->operSpeed = STP_OUT_get_port_oper_speed (port->port_index);
H A Droletrns.c79 if (port->port_index == this->port_index) continue;
94 if (port->port_index == this->port_index) continue;
/osnet-11/usr/src/lib/sun_fc/common/
H A DFCHBAPort.h83 HBA_UINT32 port_index,
81 sendRPL(uint64_t destWWN, HBA_UINT32 agent_domain, HBA_UINT32 port_index, void *pRspBuffer, HBA_UINT32 *pRspBufferSize) argument
H A DHBAPort.h72 HBA_UINT32 port_index,
H A DTgtFCHBAPort.h78 HBA_UINT32 port_index,
76 sendRPL(uint64_t destWWN, HBA_UINT32 agent_domain, HBA_UINT32 port_index, void *pRspBuffer, HBA_UINT32 *pRspBufferSize) argument

Completed in 53 milliseconds