Lines Matching defs:ifra
1095 struct in6_aliasreq ifra;
1142 in6_prepare_ifra(&ifra, &pr->ndpr_prefix.sin6_addr, &mask);
1144 IN6_MASK_ADDR(&ifra.ifra_addr.sin6_addr, &mask);
1146 ifra.ifra_addr.sin6_addr.s6_addr32[0] |=
1148 ifra.ifra_addr.sin6_addr.s6_addr32[1] |=
1150 ifra.ifra_addr.sin6_addr.s6_addr32[2] |=
1152 ifra.ifra_addr.sin6_addr.s6_addr32[3] |=
1157 ifra.ifra_lifetime.ia6t_vltime = pr->ndpr_vltime;
1158 ifra.ifra_lifetime.ia6t_pltime = pr->ndpr_pltime;
1162 ifra.ifra_flags |= IN6_IFF_AUTOCONF; /* obey autoconf */
1170 &ifra.ifra_addr.sin6_addr);
1175 ip6_sprintf(ip6buf, &ifra.ifra_addr.sin6_addr));
1188 if ((error = in6_update_ifa(ifp, &ifra, NULL, updateflags)) != 0) {
1191 ip6_sprintf(ip6buf, &ifra.ifra_addr.sin6_addr),
1196 ia = in6ifa_ifpwithaddr(ifp, &ifra.ifra_addr.sin6_addr);
2207 struct in6_aliasreq ifra;
2214 in6_prepare_ifra(&ifra, &ia0->ia_addr.sin6_addr,
2217 ifra.ifra_addr = ia0->ia_addr; /* XXX: do we need this ? */
2219 IN6_MASK_ADDR(&ifra.ifra_addr.sin6_addr,
2220 &ifra.ifra_prefixmask.sin6_addr);
2229 ifra.ifra_addr.sin6_addr.s6_addr32[2] |=
2230 (randid[0] & ~(ifra.ifra_prefixmask.sin6_addr.s6_addr32[2]));
2231 ifra.ifra_addr.sin6_addr.s6_addr32[3] |=
2232 (randid[1] & ~(ifra.ifra_prefixmask.sin6_addr.s6_addr32[3]));
2241 if (in6_localip(&ifra.ifra_addr.sin6_addr) != 0) {
2278 ifra.ifra_lifetime.ia6t_vltime = vltime0;
2279 ifra.ifra_lifetime.ia6t_pltime = pltime0;
2285 if (ifra.ifra_lifetime.ia6t_pltime <= V_ip6_temp_regen_advance)
2290 ifra.ifra_flags |= (IN6_IFF_AUTOCONF|IN6_IFF_TEMPORARY);
2296 if ((error = in6_update_ifa(ifp, &ifra, NULL, updateflags)) != 0)
2299 newia = in6ifa_ifpwithaddr(ifp, &ifra.ifra_addr.sin6_addr);