Lines Matching defs:ifam
701 struct ifa_msghdr *ifam, *ifam_lim, *ifam2;
745 for (ifam = (struct ifa_msghdr *)sysctl_buf;
746 ifam < ifam_lim;
747 ifam = ifam2) {
749 ifam2 = (struct ifa_msghdr*)((char*)ifam + ifam->ifam_msglen);
752 if (ifam->ifam_type == RTM_OIFINFO)
755 if (ifam->ifam_type == RTM_IFINFO) {
758 memcpy(&ifm, ifam, sizeof ifm);
775 ((struct if_msghdr *)ifam + 1);
781 if (ifam->ifam_type != RTM_NEWADDR) {
785 rt_xaddrs(&info, (struct sockaddr *)(ifam+1),
787 ifam->ifam_addrs);
923 ifs.int_metric = ifam->ifam_metric;