Searched refs:ifam (Results 1 – 4 of 4) sorted by relevance
87 struct ifa_msghdr ifam; member133 struct ifa_msghdr *ifam; in iface_get_initial_state() local175 ifam = (struct ifa_msghdr *)next; in iface_get_initial_state()176 sa = (struct sockaddr *)(ifam + 1); in iface_get_initial_state()368 struct ifa_msghdr *ifam; in rtm_dispatch_newdeladdr() local380 ifam = &((rtmunion_t *)di->di_buf)->ifam; in rtm_dispatch_newdeladdr()382 assert(ifam->ifam_type == RTM_NEWADDR || in rtm_dispatch_newdeladdr()383 ifam->ifam_type == RTM_DELADDR); in rtm_dispatch_newdeladdr()386 ifam->ifam_type == RTM_NEWADDR ? "NEWADDR" : "DELADDR", in rtm_dispatch_newdeladdr()387 ifam->ifam_index, (ifam->ifam_index == ifindex) ? "ours" : "not ours"); in rtm_dispatch_newdeladdr()[all …]
386 struct ifaddrmsg *ifam = NULL; in ni_ifaddrs() local407 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()
124 struct ifa_msghdr *ifam = (struct ifa_msghdr *) rtm; in rtm_addr() local125 char *cp = (char *)(ifam + 1); in rtm_addr()137 if (!(ifam->ifam_addrs & (1<<i))) in rtm_addr()152 …if (!(iface = avahi_interface_monitor_get_interface(m, (AvahiIfIndex) ifam->ifam_index, avahi_af_t… in rtm_addr()159 if (!(ifam->ifam_addrs & (1<<i))) in rtm_addr()
1154 struct ifa_msghdr *ifam; in if_managelink() local1273 ifam = (struct ifa_msghdr *)(void *)p; in if_managelink()1274 ifp = if_findindex(ctx->ifaces, ifam->ifam_index); in if_managelink()1277 cp = (char *)(void *)(ifam + 1); in if_managelink()1278 get_addrs(ifam->ifam_addrs, cp, rti_info); in if_managelink()