Lines Matching refs:ifi
508 int ifi; in move_network_interfaces() local
510 ifi = rtnl_resolve_interface_or_warn(&rtnl, *i); in move_network_interfaces()
511 if (ifi < 0) in move_network_interfaces()
512 return ifi; in move_network_interfaces()
514 r = sd_rtnl_message_new_link(rtnl, &m, RTM_SETLINK, ifi); in move_network_interfaces()
546 int ifi; in setup_macvlan() local
548 ifi = rtnl_resolve_interface_or_warn(&rtnl, *i); in setup_macvlan()
549 if (ifi < 0) in setup_macvlan()
550 return ifi; in setup_macvlan()
560 r = sd_netlink_message_append_u32(m, IFLA_LINK, ifi); in setup_macvlan()
631 int ifi; in setup_ipvlan() local
633 ifi = rtnl_resolve_interface_or_warn(&rtnl, *i); in setup_ipvlan()
634 if (ifi < 0) in setup_ipvlan()
635 return ifi; in setup_ipvlan()
641 r = sd_netlink_message_append_u32(m, IFLA_LINK, ifi); in setup_ipvlan()