Lines Matching defs:ifra
604 struct in6_aliasreq ifra;
607 /* init ifra */
608 bzero(&ifra, sizeof(ifra));
609 strncpy(ifra.ifra_name, if_name(rpp->rp_ifp), sizeof(ifra.ifra_name));
610 ifra.ifra_addr.sin6_family = ifra.ifra_prefixmask.sin6_family =
612 ifra.ifra_addr.sin6_len = ifra.ifra_prefixmask.sin6_len =
613 sizeof(ifra.ifra_addr);
615 bit_copy((char *)&ifra.ifra_addr.sin6_addr,
616 sizeof(ifra.ifra_addr.sin6_addr) << 3,
620 bit_copy((char *)&ifra.ifra_addr.sin6_addr,
621 sizeof(ifra.ifra_addr.sin6_addr) << 3,
624 in6_prefixlen2mask(&ifra.ifra_prefixmask.sin6_addr, rpp->rp_plen);
632 ifra.ifra_lifetime.ia6t_vltime = rpp->rp_vltime;
633 ifra.ifra_lifetime.ia6t_pltime = rpp->rp_pltime;
635 ia6 = in6ifa_ifpwithaddr(rpp->rp_ifp, &ifra.ifra_addr.sin6_addr);
666 ip6_sprintf(&ifra.ifra_addr.sin6_addr), rpp->rp_plen,
673 ifra.ifra_flags |= IN6_IFF_ANYCAST;
674 error = in6_control(so, SIOCAIFADDR_IN6, (caddr_t)&ifra, rpp->rp_ifp,
679 ip6_sprintf(&ifra.ifra_addr.sin6_addr), rpp->rp_plen,