Home
last modified time | relevance | path

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

/glibc-2.36/sysdeps/unix/sysv/linux/
Dcheck_pf.c189 struct ifaddrmsg *ifam = (struct ifaddrmsg *) NLMSG_DATA (nlmh); in make_request() local
190 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 …]
Difaddrs.c553 struct ifaddrmsg *ifam = (struct ifaddrmsg *) NLMSG_DATA (nlh); in getifaddrs_internal() local
554 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 …]