Home
last modified time | relevance | path

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

/external/libppp/src/
Darp.c236 struct ifa_msghdr *ifam; in arp_EtherAddr() local
272 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()
Diface.c98 struct ifa_msghdr *ifam; in iface_Create() local
161 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() argument
721 wp = (char *)(ifam + 1); in iface_ParseHdr()
724 if (ifam->ifam_addrs & (1 << rtax)) { in iface_ParseHdr()
/external/dhcpcd/
Dif-bsd.c320 struct ifa_msghdr *ifam; in manage_link() local
412 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()