Searched refs:portcfg (Results 1 – 3 of 3) sorted by relevance
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/bridged/ |
H A D | door.c | 65 UID_STP_PORT_CFG_T portcfg; in bridge_door_server() local 127 retv = STP_IN_port_get_cfg(0, pdp->port_index, &portcfg); in bridge_door_server() 131 (void) door_return((char *)&portcfg, sizeof (portcfg), NULL, 0); in bridge_door_server()
|
H A D | rstp.c | 482 UID_STP_PORT_CFG_T portcfg; in rstp_add_port() local 495 (void) get_init_port_cfg(port->vlan_id, port->port_index, &portcfg); in rstp_add_port() 505 } else if (portcfg.admin_non_stp) { in rstp_add_port() 552 if ((rc = STP_IN_port_set_cfg(0, port->port_index, &portcfg)) != 0) { in rstp_add_port()
|
/titanic_41/usr/src/lib/libdladm/common/ |
H A D | libdlbridge.c | 1356 UID_STP_PORT_CFG_T portcfg; in dladm_bridge_get_port_cfg() local 1359 status = port_door_call(handle, linkid, bdcPortGetConfig, &portcfg, in dladm_bridge_get_port_cfg() 1360 0, sizeof (portcfg)); in dladm_bridge_get_port_cfg() 1366 *valuep = portcfg.admin_port_path_cost; in dladm_bridge_get_port_cfg() 1369 *valuep = portcfg.port_priority; in dladm_bridge_get_port_cfg() 1372 *valuep = portcfg.admin_point2point; in dladm_bridge_get_port_cfg() 1375 *valuep = portcfg.admin_edge; in dladm_bridge_get_port_cfg() 1378 *valuep = !portcfg.admin_non_stp; in dladm_bridge_get_port_cfg() 1381 *valuep = (portcfg.field_mask & PT_CFG_MCHECK) ? 1 : 0; in dladm_bridge_get_port_cfg()
|