Lines Matching refs:nd_defrouter
94 static struct nd_defrouter *defrtrlist_update(struct nd_defrouter *);
98 struct nd_defrouter *);
99 static void pfxrtr_add(struct nd_prefix *, struct nd_defrouter *);
249 struct nd_defrouter *dr;
293 struct nd_defrouter dr0;
500 struct nd_defrouter *new)
578 struct nd_defrouter *
583 struct nd_defrouter *dr;
588 for (dr = TAILQ_FIRST(&nd_defrouter); dr;
599 struct nd_defrouter *dr,
631 struct nd_defrouter *dr, int nd6locked)
633 struct nd_defrouter *deldr = NULL;
648 if (dr == TAILQ_FIRST(&nd_defrouter))
651 TAILQ_REMOVE(&nd_defrouter, dr, dr_entry);
696 struct nd_defrouter *dr, anydr;
705 for (dr = TAILQ_FIRST(&nd_defrouter); dr;
711 TAILQ_REMOVE(&nd_defrouter, dr, dr_entry);
712 TAILQ_INSERT_HEAD(&nd_defrouter, dr, dr_entry);
717 if ((dr = TAILQ_FIRST(&nd_defrouter))) {
765 static struct nd_defrouter *
767 struct nd_defrouter *new)
769 struct nd_defrouter *dr, *n;
800 n = (struct nd_defrouter *)_MALLOC(sizeof(*n), M_IP6NDP, M_NOWAIT);
813 TAILQ_INSERT_TAIL(&nd_defrouter, n, dr_entry);
814 if (TAILQ_FIRST(&nd_defrouter) == n)
826 struct nd_defrouter *dr)
842 struct nd_defrouter *dr)
961 struct nd_defrouter *dr,
1083 struct nd_defrouter *dr, /* may be NULL */
2180 if (TAILQ_FIRST(&nd_defrouter) == NULL)