Searched refs:ifr6 (Results 1 – 1 of 1) sorted by relevance
128 in6_ifreq ifr6; in set_addresses() local129 memset(&ifr6, 0, sizeof(ifr6)); in set_addresses()130 ifr6.ifr6_ifindex = index; in set_addresses()142 if (inet_pton(AF_INET6, address, &ifr6.ifr6_addr) != 1 || in set_addresses()148 ifr6.ifr6_prefixlen = prefix; in set_addresses()149 if (ioctl(inet6, SIOCSIFADDR, &ifr6)) { in set_addresses()