Lines Matching full:router
61 klrou_t *router; in router_recurse() local
82 router = (klrou_t *)NODE_OFFSET_TO_K0(NASID_GET(brd), brd->brd_compts[0]); in router_recurse()
83 if (router == router_b) { in router_recurse()
88 router_recurse(router, router_b, depth + 1); in router_recurse()
100 klrou_t *router, *router_a = NULL, *router_b = NULL; in compute_node_distance() local
117 router = (klrou_t *)NODE_OFFSET_TO_K0(NASID_GET(brd), brd->brd_compts[0]); in compute_node_distance()
118 router->rou_rflag = 0; in compute_node_distance()
121 if (router->rou_port[port].port_nasid == INVALID_NASID) in compute_node_distance()
125 router->rou_port[port].port_nasid, in compute_node_distance()
126 router->rou_port[port].port_offset); in compute_node_distance()
130 router_a = router; in compute_node_distance()
132 router_b = router; in compute_node_distance()
182 klrou_t *router; in dump_topology() local
208 pr_cont("Router %d:", router_num); in dump_topology()
211 router = (klrou_t *)NODE_OFFSET_TO_K0(NASID_GET(brd), brd->brd_compts[0]); in dump_topology()
214 if (router->rou_port[port].port_nasid == INVALID_NASID) in dump_topology()
218 router->rou_port[port].port_nasid, in dump_topology()
219 router->rou_port[port].port_offset); in dump_topology()