• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/quagga/ospf6d/

Lines Matching refs:drouter

528   if ((a == NULL || ! IS_ELIGIBLE (a) || a->drouter == a->router_id) &&
529 (b == NULL || ! IS_ELIGIBLE (b) || b->drouter == b->router_id))
531 else if (a == NULL || ! IS_ELIGIBLE (a) || a->drouter == a->router_id)
533 else if (b == NULL || ! IS_ELIGIBLE (b) || b->drouter == b->router_id)
558 if ((a == NULL || ! IS_ELIGIBLE (a) || a->drouter != a->router_id) &&
559 (b == NULL || ! IS_ELIGIBLE (b) || b->drouter != b->router_id))
561 else if (a == NULL || ! IS_ELIGIBLE (a) || a->drouter != a->router_id)
563 else if (b == NULL || ! IS_ELIGIBLE (b) || b->drouter != b->router_id)
566 if (a->drouter == a->router_id && b->drouter != b->router_id)
568 if (a->drouter != a->router_id && b->drouter == b->router_id)
589 struct ospf6_neighbor *on, *drouter, *bdrouter, myself;
593 drouter = bdrouter = NULL;
601 myself.drouter = oi->drouter;
615 drouter = better_drouter (drouter, on);
617 best_drouter = drouter;
618 drouter = better_drouter (best_drouter, &myself);
619 if (drouter == NULL)
620 drouter = bdrouter;
623 if ((drouter == &myself && myself.drouter != myself.router_id) ||
624 (drouter != &myself && myself.drouter == myself.router_id) ||
628 myself.drouter = (drouter ? drouter->router_id : htonl (0));
635 drouter = better_drouter (best_drouter, &myself);
636 if (drouter == NULL)
637 drouter = bdrouter;
641 if (drouter && drouter == &myself)
654 if (oi->drouter != (drouter ? drouter->router_id : htonl (0)) ||
659 (drouter ? drouter->name : "0.0.0.0"),
671 oi->drouter = (drouter ? drouter->router_id : htonl (0));
841 oi->drouter = oi->prev_drouter = htonl(0);
855 char strbuf[64], drouter[32], bdrouter[32];
931 inet_ntop (AF_INET, &oi->drouter, drouter, sizeof (drouter));
933 vty_out (vty, " DR: %s BDR: %s%s", drouter, bdrouter, VNL);