Lines Matching defs:ipr
181 search_matched_prefix(struct ifnet *ifp, struct in6_prefixreq *ipr)
188 ifpr = in6_prefixwithifp(ifp, ipr->ipr_plen,
189 &ipr->ipr_prefix.sin6_addr);
203 if (ipr->ipr_plen <=
204 in6_matchlen(&ipr->ipr_prefix.sin6_addr, IFA_IN6(ifa)))
1098 struct in6_prefixreq *ipr = (struct in6_prefixreq *)data;
1107 if (ipr->ipr_origin <= PR_ORIG_RA)
1108 ipr->ipr_origin = PR_ORIG_STATIC;
1138 rpp = search_matched_prefix(ifp, ipr);
1142 ipr->ipr_origin = rpp->rp_origin;
1143 ipr->ipr_plen = rpp->rp_plen;
1144 ipr->ipr_vltime = rpp->rp_vltime;
1145 ipr->ipr_pltime = rpp->rp_pltime;
1146 ipr->ipr_flags = rpp->rp_flags;
1147 ipr->ipr_prefix = rpp->rp_prefix;
1152 if (ipr->ipr_pltime > ipr->ipr_vltime) {
1156 (u_long)ipr->ipr_pltime, (u_long)ipr->ipr_vltime);
1164 rp_tmp.rp_plen = ipr->ipr_plen;
1165 rp_tmp.rp_prefix = ipr->ipr_prefix;
1166 rp_tmp.rp_vltime = ipr->ipr_vltime;
1167 rp_tmp.rp_pltime = ipr->ipr_pltime;
1168 rp_tmp.rp_flags = ipr->ipr_flags;
1169 rp_tmp.rp_origin = ipr->ipr_origin;
1213 rpp = search_matched_prefix(ifp, ipr);
1218 error = delete_each_prefix(rpp, ipr->ipr_origin);