Lines Matching refs:ifr6
1082 struct in6_ifreq ifr6; in if_addrflags6() local
1087 memset(&ifr6, 0, sizeof(ifr6)); in if_addrflags6()
1088 strlcpy(ifr6.ifr_name, ifp->name, sizeof(ifr6.ifr_name)); in if_addrflags6()
1089 ifr6.ifr_addr.sin6_family = AF_INET6; in if_addrflags6()
1090 ifr6.ifr_addr.sin6_addr = *addr; in if_addrflags6()
1091 ifa_scope(&ifr6.ifr_addr, ifp->index); in if_addrflags6()
1092 if (ioctl(s, SIOCGIFAFLAG_IN6, &ifr6) != -1) in if_addrflags6()
1093 flags = ifr6.ifr_ifru.ifru_flags6; in if_addrflags6()
1103 struct in6_ifreq ifr6; in if_getlifetime6() local
1108 memset(&ifr6, 0, sizeof(ifr6)); in if_getlifetime6()
1109 strlcpy(ifr6.ifr_name, ia->iface->name, sizeof(ifr6.ifr_name)); in if_getlifetime6()
1110 ifr6.ifr_addr.sin6_family = AF_INET6; in if_getlifetime6()
1111 ifr6.ifr_addr.sin6_addr = ia->addr; in if_getlifetime6()
1112 ifa_scope(&ifr6.ifr_addr, ia->iface->index); in if_getlifetime6()
1113 if (ioctl(s, SIOCGIFALIFETIME_IN6, &ifr6) != -1) { in if_getlifetime6()
1118 lifetime = &ifr6.ifr_ifru.ifru_lifetime; in if_getlifetime6()