Home
last modified time | relevance | path

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

/external/mdnsresponder/mDNSPosix/
DmDNSUNP.c434 struct in6_ifreq ifr6; in get_ifi_info() local
437 memset(&ifr6, 0, sizeof(ifr6)); in get_ifi_info()
438 memcpy(&ifr6.ifr_name, &ifr->ifr_name, sizeof(ifr6.ifr_name )); in get_ifi_info()
439 memcpy(&ifr6.ifr_ifru.ifru_addr, &ifr->ifr_addr, sizeof(ifr6.ifr_ifru.ifru_addr)); in get_ifi_info()
440 if (ioctl(sockf6, SIOCGIFNETMASK_IN6, &ifr6) < 0) { in get_ifi_info()
458 sinptr6 = (struct sockaddr_in6 *) &ifr6.ifr_ifru.ifru_addr; in get_ifi_info()
/external/ipsec-tools/src/racoon/
Dgrabmyaddr.c599 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/ppp/pppd/
Dsys-linux.c2523 struct in6_ifreq ifr6; in sif6addr() local
2540 memset(&ifr6, 0, sizeof(ifr6)); in sif6addr()
2541 IN6_LLADDR_FROM_EUI64(ifr6.ifr6_addr, our_eui64); in sif6addr()
2542 ifr6.ifr6_ifindex = ifr.ifr_ifindex; in sif6addr()
2543 ifr6.ifr6_prefixlen = 10; in sif6addr()
2545 if (ioctl(sock6_fd, SIOCSIFADDR, &ifr6) < 0) { in sif6addr()
2574 struct in6_ifreq ifr6; in cif6addr() local
2588 memset(&ifr6, 0, sizeof(ifr6)); in cif6addr()
2589 IN6_LLADDR_FROM_EUI64(ifr6.ifr6_addr, our_eui64); in cif6addr()
2590 ifr6.ifr6_ifindex = ifr.ifr_ifindex; in cif6addr()
[all …]