Lines Matching defs:ifi
344 struct ifinfomsg *ifi;
357 if ((size_t)len < sizeof(*ifi)) {
361 ifi = NLMSG_DATA(nlm);
362 if (ifi->ifi_flags & IFF_LOOPBACK)
364 rta = (struct rtattr *) ((char *)ifi + NLMSG_ALIGN(sizeof(*ifi)));
365 len = NLMSG_PAYLOAD(nlm, sizeof(*ifi));
372 ifi->ifi_change == 0)
391 if (ifi->ifi_flags & IFF_MASTER && !(ifi->ifi_flags & IFF_LOWER_UP)) {
396 handle_carrier(ifi->ifi_flags & IFF_RUNNING ? 1 : -1,
397 ifi->ifi_flags, ifn);