Lines Matching refs:ifa
424 struct ifaddrmsg *ifa;
430 ifa = NLMSG_DATA(m->hdr);
432 if ((ifa->ifa_family == AF_INET && prefixlen > 32) ||
433 (ifa->ifa_family == AF_INET6 && prefixlen > 128))
436 ifa->ifa_prefixlen = prefixlen;
442 struct ifaddrmsg *ifa;
448 ifa = NLMSG_DATA(m->hdr);
450 ifa->ifa_flags = flags;
456 struct ifaddrmsg *ifa;
462 ifa = NLMSG_DATA(m->hdr);
464 ifa->ifa_scope = scope;
470 struct ifaddrmsg *ifa;
477 ifa = NLMSG_DATA(m->hdr);
479 *family = ifa->ifa_family;
485 struct ifaddrmsg *ifa;
492 ifa = NLMSG_DATA(m->hdr);
494 *prefixlen = ifa->ifa_prefixlen;
500 struct ifaddrmsg *ifa;
507 ifa = NLMSG_DATA(m->hdr);
509 *scope = ifa->ifa_scope;
515 struct ifaddrmsg *ifa;
522 ifa = NLMSG_DATA(m->hdr);
524 *flags = ifa->ifa_flags;
530 struct ifaddrmsg *ifa;
537 ifa = NLMSG_DATA(m->hdr);
539 *ifindex = ifa->ifa_index;
547 struct ifaddrmsg *ifa;
564 ifa = NLMSG_DATA((*ret)->hdr);
566 ifa->ifa_index = index;
567 ifa->ifa_family = family;
569 ifa->ifa_prefixlen = 32;
571 ifa->ifa_prefixlen = 128;
665 struct ifaddrmsg *ifa;
667 ifa = NLMSG_DATA(m->hdr);
669 *family = ifa->ifa_family;