Lines Matching refs:router
75 klrou_t *router; in router_recurse() local
96 router = (klrou_t *)NODE_OFFSET_TO_K0(NASID_GET(brd), brd->brd_compts[0]); in router_recurse()
97 if (router == router_b) { in router_recurse()
102 router_recurse(router, router_b, depth + 1); in router_recurse()
113 klrou_t *router, *router_a = NULL, *router_b = NULL; in compute_node_distance() local
135 router = (klrou_t *)NODE_OFFSET_TO_K0(NASID_GET(brd), brd->brd_compts[0]); in compute_node_distance()
136 router->rou_rflag = 0; in compute_node_distance()
139 if (router->rou_port[port].port_nasid == INVALID_NASID) in compute_node_distance()
143 router->rou_port[port].port_nasid, in compute_node_distance()
144 router->rou_port[port].port_offset); in compute_node_distance()
148 router_a = router; in compute_node_distance()
150 router_b = router; in compute_node_distance()
204 klrou_t *router; in dump_topology() local
237 router = (klrou_t *)NODE_OFFSET_TO_K0(NASID_GET(brd), brd->brd_compts[0]); in dump_topology()
240 if (router->rou_port[port].port_nasid == INVALID_NASID) in dump_topology()
244 router->rou_port[port].port_nasid, in dump_topology()
245 router->rou_port[port].port_offset); in dump_topology()