Lines Matching refs:nd_prefix
95 static struct in6_ifaddr *in6_ifadd(struct nd_prefix *,
97 static struct nd_pfxrouter *pfxrtr_lookup(struct nd_prefix *,
99 static void pfxrtr_add(struct nd_prefix *, struct nd_defrouter *);
101 static struct nd_pfxrouter *find_pfxlist_reachable_router(struct nd_prefix *);
105 static void in6_init_address_ltimes(struct nd_prefix *ndpr,
327 struct nd_prefix pr;
635 struct nd_prefix *pr;
656 for (pr = nd_prefix.lh_first; pr; pr = pr->ndpr_next) {
825 struct nd_prefix *pr,
841 struct nd_prefix *pr,
868 struct nd_prefix *
870 struct nd_prefix *pr)
872 struct nd_prefix *search;
875 for (search = nd_prefix.lh_first; search; search = search->ndpr_next) {
893 ndpr_hold(struct nd_prefix *pr, boolean_t locked)
909 ndpr_rele(struct nd_prefix *pr, boolean_t locked)
927 struct nd_prefix *pr, *pr_next;
933 for (pr = nd_prefix.lh_first; pr; pr = pr_next) {
960 struct nd_prefix *pr,
962 struct nd_prefix **newp)
964 struct nd_prefix *new = NULL;
975 new = (struct nd_prefix *)_MALLOC(sizeof(*new), M_IP6NDP, M_NOWAIT);
991 /* link ndpr_entry to nd_prefix list */
993 LIST_INSERT_HEAD(&nd_prefix, new, ndpr_entry);
1024 struct nd_prefix *pr, int nd6locked)
1056 /* unlink ndpr_entry from nd_prefix list */
1082 struct nd_prefix *new,
1089 struct nd_prefix *pr;
1151 struct nd_prefix *newpr = NULL;
1383 struct nd_prefix *pr)
1420 struct nd_prefix *pr;
1430 for (pr = nd_prefix.lh_first; pr; pr = pr->ndpr_next) {
1441 for (pr = nd_prefix.lh_first; pr; pr = pr->ndpr_next) {
1462 for (pr = nd_prefix.lh_first; pr; pr = pr->ndpr_next) {
1482 for (pr = nd_prefix.lh_first; pr; pr = pr->ndpr_next) {
1566 struct nd_prefix *pr, int rtlocked, int nd6locked)
1571 struct nd_prefix *opr;
1595 for (opr = nd_prefix.lh_first; opr; opr = opr->ndpr_next) {
1696 struct nd_prefix *pr)
1700 struct nd_prefix *opr;
1739 for (opr = nd_prefix.lh_first; opr; opr = opr->ndpr_next) {
1790 struct nd_prefix *pr,
2046 in6_init_prefix_ltimes(struct nd_prefix *ndpr)
2071 in6_init_address_ltimes(__unused struct nd_prefix *new, struct in6_addrlifetime *lt6)