Lines Matching refs:ifi
56 struct ifinfomsg *ifi; in veth_parse() local
59 ifi = nla_data(nla_peer); in veth_parse()
61 peer->l_family = ifi->ifi_family; in veth_parse()
62 peer->l_arptype = ifi->ifi_type; in veth_parse()
63 peer->l_index = ifi->ifi_index; in veth_parse()
64 peer->l_flags = ifi->ifi_flags; in veth_parse()
65 peer->l_change = ifi->ifi_change; in veth_parse()
121 struct ifinfomsg ifi; in veth_put_attrs() local
124 memset(&ifi, 0, sizeof ifi); in veth_put_attrs()
125 ifi.ifi_family = peer->l_family; in veth_put_attrs()
126 ifi.ifi_type = peer->l_arptype; in veth_put_attrs()
127 ifi.ifi_index = peer->l_index; in veth_put_attrs()
128 ifi.ifi_flags = peer->l_flags; in veth_put_attrs()
129 ifi.ifi_change = peer->l_change; in veth_put_attrs()
135 if (nlmsg_append(msg, &ifi, sizeof(ifi), NLMSG_ALIGNTO) < 0) in veth_put_attrs()