Searched refs:ifr6 (Results 1 - 4 of 4) sorted by relevance
/external/mdnsresponder/mDNSPosix/ |
H A D | mDNSUNP.c | 434 struct in6_ifreq ifr6; local 437 memset(&ifr6, 0, sizeof(ifr6)); 438 memcpy(&ifr6.ifr_name, &ifr->ifr_name, sizeof(ifr6.ifr_name )); 439 memcpy(&ifr6.ifr_ifru.ifru_addr, &ifr->ifr_addr, sizeof(ifr6.ifr_ifru.ifru_addr)); 440 if (ioctl(sockf6, SIOCGIFNETMASK_IN6, &ifr6) < 0) { 458 sinptr6 = (struct sockaddr_in6 *) &ifr6.ifr_ifru.ifru_addr;
|
/external/dhcpcd-6.8.2/ |
H A D | if-bsd.c | 1082 struct in6_ifreq ifr6; local 1087 memset(&ifr6, 0, sizeof(ifr6)); 1088 strlcpy(ifr6.ifr_name, ifp->name, sizeof(ifr6.ifr_name)); 1089 ifr6.ifr_addr.sin6_family = AF_INET6; 1090 ifr6.ifr_addr.sin6_addr = *addr; 1091 ifa_scope(&ifr6.ifr_addr, ifp->index); 1092 if (ioctl(s, SIOCGIFAFLAG_IN6, &ifr6) != -1) 1093 flags = ifr6 1103 struct in6_ifreq ifr6; local [all...] |
/external/ipsec-tools/src/racoon/ |
H A D | 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/ppp/pppd/ |
H A D | sys-linux.c | 2523 struct in6_ifreq ifr6; local 2540 memset(&ifr6, 0, sizeof(ifr6)); 2541 IN6_LLADDR_FROM_EUI64(ifr6.ifr6_addr, our_eui64); 2542 ifr6.ifr6_ifindex = ifr.ifr_ifindex; 2543 ifr6.ifr6_prefixlen = 10; 2545 if (ioctl(sock6_fd, SIOCSIFADDR, &ifr6) < 0) { 2574 struct in6_ifreq ifr6; local 2588 memset(&ifr6, 0, sizeof(ifr6)); [all...] |
Completed in 1559 milliseconds