Lines Matching defs:ifam
147 struct ifa_msghdr *ifam, *ifam_end;
152 ifam = (struct ifa_msghdr *) ((char *) iter->buf + iter->pos);
155 if (ifam->ifam_type == RTM_IFINFO) {
156 struct if_msghdr *ifm = (struct if_msghdr *) ifam;
171 if ((ifam->ifam_flags & IFF_UP) != 0)
174 if ((ifam->ifam_flags & IFF_POINTOPOINT) != 0)
177 if ((ifam->ifam_flags & IFF_LOOPBACK) != 0)
185 } else if (ifam->ifam_type == RTM_NEWADDR) {
192 struct sockaddr *sa = (struct sockaddr *)(ifam + 1);
197 if ((ifam->ifam_addrs & (1 << i)) == 0)
272 struct ifa_msghdr *ifam;
275 ifam = (struct ifa_msghdr *) ((char *) iter->buf + iter->pos);
277 iter->pos += ifam->ifam_msglen;