Lines Matching refs:bridge_ifi
326 int r, bridge_ifi; in join_bridge() local
332 bridge_ifi = rtnl_resolve_interface(&rtnl, bridge_name); in join_bridge()
333 if (bridge_ifi < 0) in join_bridge()
334 return bridge_ifi; in join_bridge()
348 r = sd_netlink_message_append_u32(m, IFLA_MASTER, bridge_ifi); in join_bridge()
356 return bridge_ifi; in join_bridge()
397 int r, bridge_ifi; in setup_bridge() local
417 bridge_ifi = join_bridge(rtnl, veth_name, bridge_name); in setup_bridge()
418 if (bridge_ifi >= 0) in setup_bridge()
419 return bridge_ifi; in setup_bridge()
420 if (bridge_ifi != -ENODEV || !create || n > 10) in setup_bridge()
421 …return log_error_errno(bridge_ifi, "Failed to add interface %s to bridge %s: %m", veth_name, bridg… in setup_bridge()