Lines Matching defs:pr0
474 struct nd_prefix pr0, *pr;
580 bzero(&pr0, sizeof(pr0));
581 pr0.ndpr_ifp = ifp;
583 pr0.ndpr_plen = in6_mask2len(&ifra.ifra_prefixmask.sin6_addr, NULL);
584 pr0.ndpr_mask = ifra.ifra_prefixmask.sin6_addr;
585 pr0.ndpr_prefix = ifra.ifra_addr;
588 pr0.ndpr_prefix.sin6_addr.s6_addr32[i] &=
595 pr0.ndpr_raf_onlink = 1;
596 pr0.ndpr_raf_auto = 1; /* probably meaningless */
597 pr0.ndpr_vltime = ND6_INFINITE_LIFETIME;
598 pr0.ndpr_pltime = ND6_INFINITE_LIFETIME;
606 if ((pr = nd6_prefix_lookup(&pr0)) == NULL) {
607 if ((error = nd6_prelist_add(&pr0, NULL, &pr)) != 0)