Lines Matching defs:ifi
55 struct ifinfomsg *ifi;
58 ifi = nla_data(nla_peer);
60 peer->l_family = ifi->ifi_family;
61 peer->l_arptype = ifi->ifi_type;
62 peer->l_index = ifi->ifi_index;
63 peer->l_flags = ifi->ifi_flags;
64 peer->l_change = ifi->ifi_change;
120 struct ifinfomsg ifi;
123 memset(&ifi, 0, sizeof ifi);
124 ifi.ifi_family = peer->l_family;
125 ifi.ifi_type = peer->l_arptype;
126 ifi.ifi_index = peer->l_index;
127 ifi.ifi_flags = peer->l_flags;
128 ifi.ifi_change = peer->l_change;
134 if (nlmsg_append(msg, &ifi, sizeof(ifi), NLMSG_ALIGNTO) < 0)