Home
last modified time | relevance | path

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

/external/libwebsockets/lib/roles/netlink/
Dops-netlink.c106 struct ifaddrmsg *ifam; in rops_handle_POLLIN_netlink() local
179 ifam = (struct ifaddrmsg *)NLMSG_DATA(h); in rops_handle_POLLIN_netlink()
182 robj.dest_len = ifam->ifa_prefixlen; in rops_handle_POLLIN_netlink()
183 robj.if_idx = (int)ifam->ifa_index; in rops_handle_POLLIN_netlink()
184 robj.scope = ifam->ifa_scope; in rops_handle_POLLIN_netlink()
185 robj.ifa_flags = ifam->ifa_flags; in rops_handle_POLLIN_netlink()
186 robj.dest.sa4.sin_family = ifam->ifa_family; in rops_handle_POLLIN_netlink()
189 ra = (struct rtattr *)IFA_RTA(ifam); in rops_handle_POLLIN_netlink()
/external/iputils/ninfod/
Dni_ifaddrs.c386 struct ifaddrmsg *ifam = NULL; in ni_ifaddrs() local
407 ifam = (struct ifaddrmsg *) NLMSG_DATA(nlh); in ni_ifaddrs()
408 nlm_struct_size = sizeof(*ifam); in ni_ifaddrs()
409 nlm_family = ifam->ifa_family; in ni_ifaddrs()
410 nlm_scope = ifam->ifa_scope; in ni_ifaddrs()
411 nlm_index = ifam->ifa_index; in ni_ifaddrs()
412 nlm_flags = ifam->ifa_flags; in ni_ifaddrs()
/external/openthread/src/posix/platform/
Dnetif.cpp1166 struct ifa_msghdr *ifam; in processNetifAddrEvent() local
1183 ifam = reinterpret_cast<struct ifa_msghdr *>(rtm); in processNetifAddrEvent()
1185 VerifyOrExit(ifam->ifam_index == static_cast<unsigned int>(gNetifIndex)); in processNetifAddrEvent()
1187 addrbuf = (uint8_t *)&ifam[1]; in processNetifAddrEvent()
1188 addrmask = (unsigned int)ifam->ifam_addrs; in processNetifAddrEvent()