Lines Matching refs:ifam
87 struct ifa_msghdr ifam; member
133 struct ifa_msghdr *ifam; in iface_get_initial_state() local
175 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() local
380 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()
389 if (ifam->ifam_index != ifindex) in rtm_dispatch_newdeladdr()
392 if (!(ifam->ifam_addrs & RTA_IFA)) { in rtm_dispatch_newdeladdr()
398 sa = (struct sockaddr *)(ifam + 1); in rtm_dispatch_newdeladdr()
399 SKIPRTA(ifam, RTA_DST, sa); in rtm_dispatch_newdeladdr()
400 SKIPRTA(ifam, RTA_GATEWAY, sa); in rtm_dispatch_newdeladdr()
401 SKIPRTA(ifam, RTA_NETMASK, sa); in rtm_dispatch_newdeladdr()
402 SKIPRTA(ifam, RTA_GENMASK, sa); in rtm_dispatch_newdeladdr()
403 SKIPRTA(ifam, RTA_IFP, sa); in rtm_dispatch_newdeladdr()
418 ifam->ifam_type == RTM_NEWADDR ? "NEWADDR" : "DELADDR", in rtm_dispatch_newdeladdr()
428 if (ifam->ifam_type == RTM_DELADDR && ap != NULL) { in rtm_dispatch_newdeladdr()
432 if (ifam->ifam_type == RTM_NEWADDR && ap == NULL) { in rtm_dispatch_newdeladdr()