/frameworks/base/services/jni/ |
com_android_server_connectivity_Vpn.cpp | 126 in6_ifreq ifr6; local 127 memset(&ifr6, 0, sizeof(ifr6)); 128 ifr6.ifr6_ifindex = index; 140 if (inet_pton(AF_INET6, address, &ifr6.ifr6_addr) != 1 || 146 ifr6.ifr6_prefixlen = prefix; 147 if (ioctl(inet6, SIOCSIFADDR, &ifr6)) {
|
/external/ipsec-tools/src/racoon/ |
grabmyaddr.c | 581 struct in6_ifreq ifr6; local 596 memset(&ifr6, 0, sizeof(ifr6)); 597 strncpy(ifr6.ifr_name, ifname, strlen(ifname)); 599 ifr6.ifr_addr = *(const struct sockaddr_in6 *)ifaddr; 601 if (ioctl(s, SIOCGIFAFLAG_IN6, &ifr6) < 0) { 610 if (ifr6.ifr_ifru.ifru_flags6 & IN6_IFF_DUPLICATED 611 || ifr6.ifr_ifru.ifru_flags6 & IN6_IFF_DETACHED 612 || ifr6.ifr_ifru.ifru_flags6 & IN6_IFF_ANYCAST)
|
/external/mdnsresponder/mDNSPosix/ |
mDNSUNP.c | 427 struct in6_ifreq ifr6; local 430 memset(&ifr6, 0, sizeof(ifr6)); 431 memcpy(&ifr6.ifr_name, &ifr->ifr_name, sizeof(ifr6.ifr_name )); 432 memcpy(&ifr6.ifr_ifru.ifru_addr, &ifr->ifr_addr, sizeof(ifr6.ifr_ifru.ifru_addr)); 433 if (ioctl(sockf6, SIOCGIFNETMASK_IN6, &ifr6) < 0) { 451 sinptr6 = (struct sockaddr_in6 *) &ifr6.ifr_ifru.ifru_addr;
|
/external/ppp/pppd/ |
sys-linux.c | 2458 struct in6_ifreq ifr6; local 2509 struct in6_ifreq ifr6; local [all...] |
/system/core/libnetutils/ |
ifc_utils.c | 608 struct in6_ifreq ifr6; local 631 memset(&ifr6, 0, sizeof(ifr6)); 632 success = ioctl(ifc_ctl_sock6, SIOCKILLADDR, &ifr6);
|