Lines Matching defs:new
437 * add a link-local address to an interface. we will add new interface address
438 * (prefix database + new interface id).
474 * add an address to an interface. if the interface id portion is new,
475 * we will add new interface address (prefix database + new interface id).
691 rrpr_update(struct socket *so, struct rr_prefix *new)
698 ifnet_lock_exclusive(new->rp_ifp);
699 for (ifpr = TAILQ_FIRST(&new->rp_ifp->if_prefixhead); ifpr;
705 if (ifpr->ifpr_plen == new->rp_plen &&
706 in6_are_prefix_equal(IFPR_IN6(ifpr), RP_IN6(new),
717 * preferable than the new one, ignore installation request.
719 if (rpp->rp_origin > new->rp_origin) {
720 ifnet_lock_done(new->rp_ifp);
725 rpp->rp_flags.prf_ra = new->rp_flags.prf_ra;
727 rpp->rp_flags.prf_rr = new->rp_flags.prf_rr;
728 rpp->rp_vltime = new->rp_vltime;
729 rpp->rp_pltime = new->rp_pltime;
730 rpp->rp_expire = new->rp_expire;
731 rpp->rp_preferred = new->rp_preferred;
735 * add rp_addr entries in new into rpp, if they have not
739 while (!LIST_EMPTY(&new->rp_addrhead))
741 rap = LIST_FIRST(&new->rp_addrhead);
757 /* create new prefix */
763 ifnet_lock_done(new->rp_ifp);
768 *rpp = *new;
770 /* move rp_addr entries of new to rpp */
771 while (!LIST_EMPTY(&new->rp_addrhead))
773 rap = LIST_FIRST(&new->rp_addrhead);
801 ifnet_lock_done(new->rp_ifp);
803 if (!new->rp_raf_auto)