Home
last modified time | relevance | path

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

/external/ipsec-tools/src/racoon/
Dgrabmyaddr.c581 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/
Dsys-linux.c2457 struct in6_ifreq ifr6; in sif6addr() local
2474 memset(&ifr6, 0, sizeof(ifr6)); in sif6addr()
2475 IN6_LLADDR_FROM_EUI64(ifr6.ifr6_addr, our_eui64); in sif6addr()
2476 ifr6.ifr6_ifindex = ifr.ifr_ifindex; in sif6addr()
2477 ifr6.ifr6_prefixlen = 10; in sif6addr()
2479 if (ioctl(sock6_fd, SIOCSIFADDR, &ifr6) < 0) { in sif6addr()
2508 struct in6_ifreq ifr6; in cif6addr() local
2522 memset(&ifr6, 0, sizeof(ifr6)); in cif6addr()
2523 IN6_LLADDR_FROM_EUI64(ifr6.ifr6_addr, our_eui64); in cif6addr()
2524 ifr6.ifr6_ifindex = ifr.ifr_ifindex; in cif6addr()
[all …]