Searched refs:ifaddr (Results 1 – 1 of 1) sorted by relevance
159 struct ifaddrmsg *ifaddr = (struct ifaddrmsg *) NLMSG_DATA(nh); in parseIfAddrMessage() local164 if (!checkRtNetlinkLength(nh, sizeof(*ifaddr))) in parseIfAddrMessage()179 for (rta = IFA_RTA(ifaddr); RTA_OK(rta, len); rta = RTA_NEXT(rta, len)) { in parseIfAddrMessage()187 if (ifaddr->ifa_family == AF_INET) { in parseIfAddrMessage()195 } else if (ifaddr->ifa_family == AF_INET6) { in parseIfAddrMessage()204 SLOGE("Unknown address family %d\n", ifaddr->ifa_family); in parseIfAddrMessage()209 if (!if_indextoname(ifaddr->ifa_index, ifname)) { in parseIfAddrMessage()210 SLOGE("Unknown ifindex %d in %s", ifaddr->ifa_index, msgtype); in parseIfAddrMessage()239 ifaddr->ifa_prefixlen); in parseIfAddrMessage()241 asprintf(&mParams[2], "FLAGS=%u", ifaddr->ifa_flags); in parseIfAddrMessage()[all …]