Lines Matching refs:rp
489 struct rr_prefix rp;
495 /* init rp */
496 bzero(&rp, sizeof(rp));
497 rp.rp_type = IN6_PREFIX_RR;
498 rp.rp_ifp = ia->ia_ifp;
499 rp.rp_plen = pplen;
500 rp.rp_prefix.sin6_len = sizeof(rp.rp_prefix);
501 rp.rp_prefix.sin6_family = AF_INET6;
502 bit_copy((char *)RP_IN6(&rp), sizeof(*RP_IN6(&rp)) << 3,
506 rp.rp_vltime = rp.rp_pltime = RR_INFINITE_LIFETIME;
507 rp.rp_raf_onlink = 1;
508 rp.rp_raf_auto = 1;
510 rp.rp_rrf_decrvalid = rp.rp_rrf_decrprefd = 0;
511 rp.rp_origin = PR_ORIG_RR; /* can be renumbered */
514 error = link_stray_ia6s(&rp);
516 free_rp_entries(&rp);
523 error = add_each_prefix(&so, &rp);
526 free_rp_entries(&rp);
885 /* init rp */
957 struct rr_prefix rp;
969 if ((error = init_newprefix(irr, ifpr, &rp)) != 0)
971 error = add_each_prefix(so, &rp);
976 free_rp_entries(&rp);