Lines Matching refs:router_a
602 router_recurse(klrou_t *router_a, klrou_t *router_b, int depth) in router_recurse() argument
608 if (router_a->rou_rflag == 1) in router_recurse()
614 router_a->rou_rflag = 1; in router_recurse()
617 if (router_a->rou_port[port].port_nasid == INVALID_NASID) in router_recurse()
621 router_a->rou_port[port].port_nasid, in router_recurse()
622 router_a->rou_port[port].port_offset); in router_recurse()
635 router_a->rou_rflag = 0; in router_recurse()
645 klrou_t *router, *router_a = NULL, *router_b = NULL; in node_distance() local
676 router_a = router; in node_distance()
685 if (router_a == NULL) { in node_distance()
697 if (router_a == router_b) in node_distance()
701 router_recurse(router_a, router_b, 2); in node_distance()