Searched refs:ifam (Results 1 – 2 of 2) sorted by relevance
189 struct ifaddrmsg *ifam = (struct ifaddrmsg *) NLMSG_DATA (nlmh); in make_request() local190 struct rtattr *rta = IFA_RTA (ifam); in make_request()191 size_t len = nlmh->nlmsg_len - NLMSG_LENGTH (sizeof (*ifam)); in make_request()193 if (ifam->ifa_family != AF_INET in make_request()194 && ifam->ifa_family != AF_INET6) in make_request()219 if (ifam->ifa_family == AF_INET) in make_request()245 info->flags = (((ifam->ifa_flags in make_request()248 | ((ifam->ifa_flags & IFA_F_HOMEADDRESS) in make_request()250 info->prefixlen = ifam->ifa_prefixlen; in make_request()251 info->index = ifam->ifa_index; in make_request()[all …]
553 struct ifaddrmsg *ifam = (struct ifaddrmsg *) NLMSG_DATA (nlh); in getifaddrs_internal() local554 struct rtattr *rta = IFA_RTA (ifam); in getifaddrs_internal()562 int idx = map_newlink (ifam->ifa_index - 1, ifas, in getifaddrs_internal()601 sa->sa_family = ifam->ifa_family; in getifaddrs_internal()603 switch (ifam->ifa_family) in getifaddrs_internal()621 = ifam->ifa_index; in getifaddrs_internal()648 = ifam->ifa_family; in getifaddrs_internal()650 switch (ifam->ifa_family) in getifaddrs_internal()668 ifam->ifa_index; in getifaddrs_internal()689 = ifam->ifa_family; in getifaddrs_internal()[all …]