Lines Matching defs:ifra
1795 struct in6_aliasreq ifra;
1852 bzero(&ifra, sizeof(ifra));
1857 strncpy(ifra.ifra_name, if_name(ifp), sizeof(ifra.ifra_name));
1858 ifra.ifra_addr.sin6_family = AF_INET6;
1859 ifra.ifra_addr.sin6_len = sizeof(struct sockaddr_in6);
1861 bcopy(&pr->ndpr_prefix.sin6_addr, &ifra.ifra_addr.sin6_addr,
1862 sizeof(ifra.ifra_addr.sin6_addr));
1863 ifra.ifra_addr.sin6_addr.s6_addr32[0] &= mask.s6_addr32[0];
1864 ifra.ifra_addr.sin6_addr.s6_addr32[1] &= mask.s6_addr32[1];
1865 ifra.ifra_addr.sin6_addr.s6_addr32[2] &= mask.s6_addr32[2];
1866 ifra.ifra_addr.sin6_addr.s6_addr32[3] &= mask.s6_addr32[3];
1871 ifra.ifra_addr.sin6_addr.s6_addr32[0]
1873 ifra.ifra_addr.sin6_addr.s6_addr32[1]
1875 ifra.ifra_addr.sin6_addr.s6_addr32[2]
1877 ifra.ifra_addr.sin6_addr.s6_addr32[3]
1881 ifra.ifra_prefixmask.sin6_len = sizeof(struct sockaddr_in6);
1882 ifra.ifra_prefixmask.sin6_family = AF_INET6;
1883 bcopy(&mask, &ifra.ifra_prefixmask.sin6_addr,
1884 sizeof(ifra.ifra_prefixmask.sin6_addr));
1891 ifra.ifra_lifetime.ia6t_vltime = pr->ndpr_vltime;
1892 ifra.ifra_lifetime.ia6t_pltime = pr->ndpr_pltime;
1896 ifra.ifra_flags |= IN6_IFF_AUTOCONF; /* obey autoconf */
1902 ifra.ifra_flags |= IN6_IFF_NOPFX;
1909 pr->ndpr_addr = ifra.ifra_addr.sin6_addr;
1912 if ((error = in6_update_ifa(ifp, &ifra, NULL)) != 0) {
1915 ip6_sprintf(&ifra.ifra_addr.sin6_addr), if_name(ifp),
1920 ia = in6ifa_ifpwithaddr(ifp, &ifra.ifra_addr.sin6_addr);
1934 struct in6_aliasreq ifra;
1943 bzero(&ifra, sizeof(ifra));
1944 strncpy(ifra.ifra_name, if_name(ifp), sizeof(ifra.ifra_name));
1945 ifra.ifra_addr = ia0->ia_addr;
1947 ifra.ifra_prefixmask = ia0->ia_prefixmask;
1950 ifra.ifra_addr.sin6_addr.s6_addr32[i]
1951 &= ifra.ifra_prefixmask.sin6_addr.s6_addr32[i];
1958 ifra.ifra_addr.sin6_addr.s6_addr32[2]
1959 |= (randid[0] & ~(ifra.ifra_prefixmask.sin6_addr.s6_addr32[2]));
1960 ifra.ifra_addr.sin6_addr.s6_addr32[3]
1961 |= (randid[1] & ~(ifra.ifra_prefixmask.sin6_addr.s6_addr32[3]));
1969 if (in6ifa_ifpwithaddr(ifp, &ifra.ifra_addr.sin6_addr) != NULL) {
2002 ifra.ifra_lifetime.ia6t_vltime = vltime0;
2003 ifra.ifra_lifetime.ia6t_pltime = pltime0;
2009 if (ifra.ifra_lifetime.ia6t_pltime <= ip6_temp_regen_advance)
2014 ifra.ifra_flags |= (IN6_IFF_AUTOCONF|IN6_IFF_TEMPORARY);
2017 if ((error = in6_update_ifa(ifp, &ifra, NULL)) != 0)
2020 newia = in6ifa_ifpwithaddr(ifp, &ifra.ifra_addr.sin6_addr);