Home | History | Annotate | Download | only in dhcpcd

Lines Matching refs:ifa

294 	struct ifaddrmsg *ifa;
303 if ((size_t)len < sizeof(*ifa)) {
309 ifa = NLMSG_DATA(nlm);
310 if (if_indextoname(ifa->ifa_index, ifn) == NULL)
315 rta = (struct rtattr *) IFA_RTA(ifa);
316 len = NLMSG_PAYLOAD(nlm, sizeof(*ifa));
319 inet_cidrtoaddr(ifa->ifa_prefixlen, &net);
481 struct ifaddrmsg ifa;
508 if (!(nlm->ifa.ifa_index = if_nametoindex(iface->name))) {
513 nlm->ifa.ifa_family = AF_INET;
514 nlm->ifa.ifa_prefixlen = inet_ntocidr(*netmask);