Lines Matching refs:nd_defrouter
69 static int rtpref(struct nd_defrouter *);
70 static struct nd_defrouter *defrtrlist_update(struct nd_defrouter *);
71 static int prelist_update(struct nd_prefixctl *, struct nd_defrouter *,
75 struct nd_defrouter *);
76 static void pfxrtr_add(struct nd_prefix *, struct nd_defrouter *);
80 static void defrouter_delreq(struct nd_defrouter *);
218 struct nd_defrouter *dr;
264 struct nd_defrouter dr0;
480 defrouter_addreq(struct nd_defrouter *new)
507 struct nd_defrouter *
510 struct nd_defrouter *dr;
526 defrouter_delreq(struct nd_defrouter *dr)
557 struct nd_defrouter *dr;
569 defrtrlist_del(struct nd_defrouter *dr)
571 struct nd_defrouter *deldr = NULL;
620 * We assume nd_defrouter is sorted by router preference value.
632 struct nd_defrouter *dr, *selected_dr = NULL, *installed_dr = NULL;
712 rtpref(struct nd_defrouter *dr)
734 static struct nd_defrouter *
735 defrtrlist_update(struct nd_defrouter *new)
737 struct nd_defrouter *dr, *n;
780 n = (struct nd_defrouter *)malloc(sizeof(*n), M_IP6NDP, M_NOWAIT);
810 pfxrtr_lookup(struct nd_prefix *pr, struct nd_defrouter *dr)
823 pfxrtr_add(struct nd_prefix *pr, struct nd_defrouter *dr)
863 nd6_prelist_add(struct nd_prefixctl *pr, struct nd_defrouter *dr,
965 prelist_update(struct nd_prefixctl *new, struct nd_defrouter *dr,
1343 struct nd_defrouter *dr;