Searched defs:ifr6 (Results 1 - 4 of 4) sorted by relevance
/external/ipsec-tools/src/racoon/ |
H A D | grabmyaddr.c | 599 struct in6_ifreq ifr6; local 617 memset(&ifr6, 0, sizeof(ifr6)); 618 strncpy(ifr6.ifr_name, ifname, strlen(ifname)); 620 ifr6.ifr_addr = *(const struct sockaddr_in6 *)ifaddr; 622 if (ioctl(s, SIOCGIFAFLAG_IN6, &ifr6) < 0) { 631 if (ifr6.ifr_ifru.ifru_flags6 & IN6_IFF_DUPLICATED 632 || ifr6.ifr_ifru.ifru_flags6 & IN6_IFF_DETACHED 633 || ifr6.ifr_ifru.ifru_flags6 & IN6_IFF_ANYCAST)
|
/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/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 170 milliseconds