Home
last modified time | relevance | path

Searched refs:ifr6 (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/services/core/jni/
Dcom_android_server_connectivity_Vpn.cpp128 in6_ifreq ifr6; in set_addresses() local
129 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()