Searched refs:ifam (Results 1 – 3 of 3) sorted by relevance
236 struct ifa_msghdr *ifam; in arp_EtherAddr() local272 ifam = (struct ifa_msghdr *)ptr; /* Next ifa_msghdr (alias) */ in arp_EtherAddr()273 if (ifam->ifam_type != RTM_NEWADDR) /* finished ? */ in arp_EtherAddr()275 ptr += ifam->ifam_msglen; in arp_EtherAddr()276 if (skip || (ifam->ifam_addrs & (RTA_NETMASK|RTA_IFA)) != in arp_EtherAddr()281 ptr == (char *)ifm + ifm->ifm_msglen + ifam->ifam_msglen) in arp_EtherAddr()285 iface_ParseHdr(ifam, sa); in arp_EtherAddr()
98 struct ifa_msghdr *ifam; in iface_Create() local161 for (; ptr < end; ptr += ifam->ifam_msglen) { in iface_Create()162 ifam = (struct ifa_msghdr *)ptr; /* Next if address */ in iface_Create()164 if (ifam->ifam_type != RTM_NEWADDR) /* finished this if */ in iface_Create()167 if (iface != NULL && ifam->ifam_addrs & RTA_IFA) { in iface_Create()169 iface_ParseHdr(ifam, sa); in iface_Create()716 iface_ParseHdr(struct ifa_msghdr *ifam, struct sockaddr *sa[RTAX_MAX]) in iface_ParseHdr() argument721 wp = (char *)(ifam + 1); in iface_ParseHdr()724 if (ifam->ifam_addrs & (1 << rtax)) { in iface_ParseHdr()
320 struct ifa_msghdr *ifam; in manage_link() local412 ifam = (struct ifa_msghdr *)(void *)p; in manage_link()413 if (!if_indextoname(ifam->ifam_index, ifname)) in manage_link()415 cp = (char *)(void *)(ifam + 1); in manage_link()416 get_addrs(ifam->ifam_addrs, cp, rti_info); in manage_link()