Searched defs:port_index (Results 1 - 18 of 18) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/
H A Dglobal.h47 int port_index; member in struct:portdata
H A Devents.c182 int port_index; local
216 port_index = posn + 1;
229 port->port_index = port_index;
417 pdp->port_index);
477 if ((rc = STP_IN_enable_port(port->port_index, !bc.bc_failed)) != 0)
551 rc = STP_IN_rx_bpdu(port->vlan_id, port->port_index,
H A Drstp.c61 flush_lt(int port_index, int vlan_id, LT_FLASH_TYPE_T type, char *reason) argument
67 if (port_index > nextport || port_index < 0)
70 if (port_index == 0) {
75 pd = allports[port_index - 1];
103 get_port_mac(int port_index, unsigned char *mac) argument
107 if (port_index > nextport || port_index <= 0)
110 pd = allports[port_index - 1];
116 get_port_oper_speed(unsigned int port_index) argument
125 get_port_link_status(int port_index) argument
140 get_duplex(int port_index) argument
174 set_port_state(int port_index, int vlan_id, RSTP_PORT_STATE state) argument
235 tx_bpdu(int port_index, int vlan_id, unsigned char *bpdu, size_t bpdu_len) argument
258 get_port_name(int port_index) argument
277 get_init_port_cfg(int vlan_id, int port_index, UID_STP_PORT_CFG_T *cfg) argument
[all...]
/illumos-gate/usr/src/lib/librstp/common/
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 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 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 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 Dport.h155 int port_index; member in struct:port_t
165 STP_port_create (struct stpm_t* stpm, int port_index);
/illumos-gate/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 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
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_hba_fru.c403 attrs->hba_fru_details.port_index = 0;
406 attrs->hba_fru_details.port_index = ha->fru_port_index;
573 * port_index - pointer to the integer which
584 uint32_t *port_index)
616 *port_index = 0;
621 *port_index = stoi(&devstr);
622 if (*port_index == 0) {
624 "port_index\n", ha->devpath);
658 uint32_t basedev_len, port_index; local
675 if (ql_get_basedev_len(ha, &basedev_len, &port_index) !
583 ql_get_basedev_len(ql_adapter_state_t *ha, uint32_t *basedev_len, uint32_t *port_index) argument
[all...]
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_fcio.h239 uint32_t port_index; member in struct:FCIO_WQ_DESC
H A Demlxs_dfc.h316 uint32_t port_index; member in struct:dfc_hbainfo
H A Demlxs_fc.h255 uint32_t port_index; member in struct:emlxs_vpd
1432 uint16_t port_index; member in struct:WQ_DESC
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibcm/
H A Dibcm_impl.c60 uint8_t port_index);
62 uint8_t port_index);
927 int port_index, i; local
1011 for (port_index = 0; port_index < hcap->hca_num_ports; port_index++) {
1012 if ((status = ibcm_hca_fini_port(hcap, port_index)) !=
1016 port_index + 1);
1023 for (i = 0; i < port_index; i++) {
1027 " port_num %d", port_index
2013 uint8_t port_index = port - 1; local
2063 uint8_t port_index = port - 1; local
2121 ibcm_hca_init_port(ibcm_hca_info_t *hcap, uint8_t port_index) argument
2191 ibcm_hca_reinit_port(ibcm_hca_info_t *hcap, uint8_t port_index) argument
2217 ibcm_hca_fini_port(ibcm_hca_info_t *hcap, uint8_t port_index) argument
[all...]
/illumos-gate/usr/src/uts/common/io/comstar/port/fct/
H A Dfct.c871 uint32_t *port_index = (uint32_t *)abuf; local
884 *port_index, port_attr, &fctio->fctio_errno);
/illumos-gate/usr/src/uts/common/sys/fibre-channel/impl/
H A Dfctl.h219 uint32_t port_index; member in struct:fca_hba_fru_details
/illumos-gate/usr/src/uts/common/io/fibre-channel/impl/
H A Dfctl.c5550 if (new_fru->port_index <
5551 stored_fru->port_index) {
6290 if (fru->high == 0 && fru->low == 0 && fru->port_index == 0) {
6377 fctl_get_adapter_port_by_index(fc_local_port_t *port, uint32_t port_index) argument
6392 if (fru->port_index == port_index) {
6399 if (fru->high == 0 && fru->low == 0 && fru->port_index == 0) {
6429 /* Check for the matching port_index */
6431 (fru->port_index == port_index)) {
[all...]

Completed in 96 milliseconds