Lines Matching refs:ifi
260 struct ifinfomsg *ifi; in link_msg_parser() local
272 err = nlmsg_parse(n, sizeof(*ifi), tb, IFLA_MAX, link_policy); in link_msg_parser()
283 ifi = nlmsg_data(n); in link_msg_parser()
284 link->l_family = ifi->ifi_family; in link_msg_parser()
285 link->l_arptype = ifi->ifi_type; in link_msg_parser()
286 link->l_index = ifi->ifi_index; in link_msg_parser()
287 link->l_flags = ifi->ifi_flags; in link_msg_parser()
288 link->l_change = ifi->ifi_change; in link_msg_parser()
866 struct ifinfomsg ifi = { in rtnl_link_build_change_request() local
872 ifi.ifi_flags = old->l_flags & ~tmpl->l_flag_mask; in rtnl_link_build_change_request()
873 ifi.ifi_flags |= tmpl->l_flags; in rtnl_link_build_change_request()
880 if (nlmsg_append(msg, &ifi, sizeof(ifi), NLMSG_ALIGNTO) < 0) in rtnl_link_build_change_request()