Lines Matching defs:ifi
740 struct ifinfomsg *ifi;
758 if ((size_t)len < sizeof(*ifi)) {
762 ifi = NLMSG_DATA(nlm);
763 if (ifi->ifi_flags & IFF_LOOPBACK)
765 rta = (struct rtattr *)(void *)((char *)ifi +NLMSG_ALIGN(sizeof(*ifi)));
766 len = NLMSG_PAYLOAD(nlm, sizeof(*ifi));
775 ifi->ifi_change == 0)
797 if (ifi->ifi_flags & IFF_MASTER && !hwaddr) {
803 if (handle_rename(ctx, (unsigned int)ifi->ifi_index, ifn))
816 if (!(ifi->ifi_flags & IFF_UP) && hwaddr) {
819 l = l2addr_len(ifi->ifi_type);
825 ifi->ifi_flags & IFF_RUNNING ? LINK_UP : LINK_DOWN,
826 ifi->ifi_flags, ifn);