Lines Matching defs:ifm
166 ifs->ifs_now.x = ifm.y; \
233 struct if_msghdr ifm;
260 for (next = buf; next < lim; next += ifm.ifm_msglen) {
261 bcopy(next, &ifm, sizeof ifm);
262 if (ifm.ifm_version != RTM_VERSION ||
263 ifm.ifm_type != RTM_IFINFO ||
264 !(ifm.ifm_addrs & RTA_IFP))
266 if (ifm.ifm_index >= nifs) {
267 if ((newstats = reallocarray(ifstats, ifm.ifm_index + 4,
271 for (; nifs < ifm.ifm_index + 4; nifs++)
274 ifs = &ifstats[ifm.ifm_index];
279 ifm.ifm_addrs, info);
320 ifs->ifs_cur.ifc_flags = ifm.ifm_flags;
321 ifs->ifs_cur.ifc_state = ifm.ifm_data.ifi_link_state;