Lines Matching refs:Link
71 bool link_ipv4ll_enabled(Link *link) { in link_ipv4ll_enabled()
107 bool link_ipv6_enabled(Link *link) { in link_ipv6_enabled()
129 bool link_is_ready_to_configure(Link *link, bool allow_unmanaged) { in link_is_ready_to_configure()
159 void link_ntp_settings_clear(Link *link) { in link_ntp_settings_clear()
163 void link_dns_settings_clear(Link *link) { in link_dns_settings_clear()
182 static void link_free_engines(Link *link) { in link_free_engines()
203 static Link *link_free(Link *link) { in link_free()
246 DEFINE_TRIVIAL_REF_UNREF_FUNC(Link, link, link_free);
248 int link_get_by_index(Manager *m, int ifindex, Link **ret) { in link_get_by_index()
249 Link *link; in link_get_by_index()
263 int link_get_by_name(Manager *m, const char *ifname, Link **ret) { in link_get_by_name()
264 Link *link; in link_get_by_name()
278 int link_get_by_hw_addr(Manager *m, const struct hw_addr_data *hw_addr, Link **ret) { in link_get_by_hw_addr()
279 Link *link; in link_get_by_hw_addr()
293 int link_get_master(Link *link, Link **ret) { in link_get_master()
304 void link_set_state(Link *link, LinkState state) { in link_set_state()
320 int link_stop_engines(Link *link, bool may_keep_dhcp) { in link_stop_engines()
380 void link_enter_failed(Link *link) { in link_enter_failed()
393 void link_check_ready(Link *link) { in link_check_ready()
513 static int link_request_static_configs(Link *link) { in link_request_static_configs()
559 static int link_request_stacked_netdevs(Link *link) { in link_request_stacked_netdevs()
581 static int link_acquire_dynamic_ipv6_conf(Link *link) { in link_acquire_dynamic_ipv6_conf()
601 static int link_acquire_dynamic_ipv4_conf(Link *link) { in link_acquire_dynamic_ipv4_conf()
636 static int link_acquire_dynamic_conf(Link *link) { in link_acquire_dynamic_conf()
677 int link_ipv6ll_gained(Link *link) { in link_ipv6ll_gained()
695 int link_handle_bound_to_list(Link *link) { in link_handle_bound_to_list()
698 Link *l; in link_handle_bound_to_list()
725 static int link_handle_bound_by_list(Link *link) { in link_handle_bound_by_list()
726 Link *l; in link_handle_bound_by_list()
745 static int link_put_carrier(Link *link, Link *carrier, Hashmap **h) { in link_put_carrier()
766 static int link_new_bound_by_list(Link *link) { in link_new_bound_by_list()
768 Link *carrier; in link_new_bound_by_list()
799 static int link_new_bound_to_list(Link *link) { in link_new_bound_to_list()
801 Link *carrier; in link_new_bound_to_list()
832 static void link_free_bound_to_list(Link *link) { in link_free_bound_to_list()
834 Link *bound_to; in link_free_bound_to_list()
849 static void link_free_bound_by_list(Link *link) { in link_free_bound_by_list()
851 Link *bound_by; in link_free_bound_by_list()
868 static int link_append_to_master(Link *link) { in link_append_to_master()
869 Link *master; in link_append_to_master()
887 static void link_drop_from_master(Link *link) { in link_drop_from_master()
888 Link *master; in link_drop_from_master()
901 static void link_drop_requests(Link *link) { in link_drop_requests()
912 static Link *link_drop(Link *link) { in link_drop()
947 static int link_drop_foreign_config(Link *link) { in link_drop_foreign_config()
984 static int link_drop_managed_config(Link *link) { in link_drop_managed_config()
1011 static void link_foreignize_config(Link *link) { in link_foreignize_config()
1022 static int link_configure(Link *link) { in link_configure()
1150 static int link_get_network(Link *link, Network **ret) { in link_get_network()
1204 static int link_reconfigure_impl(Link *link, bool force) { in link_reconfigure_impl()
1293 static int link_reconfigure_handler_internal(sd_netlink *rtnl, sd_netlink_message *m, Link *link, b… in link_reconfigure_handler_internal()
1311 static int link_reconfigure_handler(sd_netlink *rtnl, sd_netlink_message *m, Link *link) { in link_reconfigure_handler()
1315 static int link_force_reconfigure_handler(sd_netlink *rtnl, sd_netlink_message *m, Link *link) { in link_force_reconfigure_handler()
1319 static int link_reconfigure_after_sleep_handler(sd_netlink *rtnl, sd_netlink_message *m, Link *link… in link_reconfigure_after_sleep_handler()
1354 static int link_reconfigure_internal(Link *link, link_netlink_message_handler_t callback) { in link_reconfigure_internal()
1373 int link_reconfigure(Link *link, bool force) { in link_reconfigure()
1377 int link_reconfigure_after_sleep(Link *link) { in link_reconfigure_after_sleep()
1381 static int link_initialized_and_synced(Link *link) { in link_initialized_and_synced()
1412 static int link_initialized_handler(sd_netlink *rtnl, sd_netlink_message *m, Link *link) { in link_initialized_handler()
1426 static int link_initialized(Link *link, sd_device *device) { in link_initialized()
1453 static int link_check_initialized(Link *link) { in link_check_initialized()
1492 Link *link = NULL; in manager_udev_process_link()
1541 static int link_carrier_gained(Link *link) { in link_carrier_gained()
1599 static int link_carrier_lost_impl(Link *link) { in link_carrier_lost_impl()
1624 Link *link = userdata; in link_carrier_lost_handler()
1638 static int link_carrier_lost(Link *link) { in link_carrier_lost()
1696 static int link_admin_state_up(Link *link) { in link_admin_state_up()
1721 static int link_admin_state_down(Link *link) { in link_admin_state_down()
1735 static bool link_is_enslaved(Link *link) { in link_is_enslaved()
1758 void link_update_operstate(Link *link, bool also_update_master) { in link_update_operstate()
1783 Link *slave; in link_update_operstate()
1905 Link *master; in link_update_operstate()
1917 static int link_update_flags(Link *link, sd_netlink_message *message) { in link_update_flags()
2019 static int link_update_master(Link *link, sd_netlink_message *message) { in link_update_master()
2055 static int link_update_driver(Link *link, sd_netlink_message *message) { in link_update_driver()
2099 static int link_update_permanent_hardware_address(Link *link, sd_netlink_message *message) { in link_update_permanent_hardware_address()
2134 static int link_update_hardware_address(Link *link, sd_netlink_message *message) { in link_update_hardware_address()
2215 static int link_update_mtu(Link *link, sd_netlink_message *message) { in link_update_mtu()
2274 static int link_update_alternative_names(Link *link, sd_netlink_message *message) { in link_update_alternative_names()
2306 static int link_update_name(Link *link, sd_netlink_message *message) { in link_update_name()
2402 static int link_update(Link *link, sd_netlink_message *message) { in link_update()
2443 static Link *link_drop_or_unref(Link *link) { in link_drop_or_unref()
2451 DEFINE_TRIVIAL_CLEANUP_FUNC(Link*, link_drop_or_unref);
2453 static int link_new(Manager *manager, sd_netlink_message *message, Link **ret) { in link_new()
2455 _cleanup_(link_drop_or_unrefp) Link *link = NULL; in link_new()
2500 link = new(Link, 1); in link_new()
2504 *link = (Link) { in link_new()
2545 Link *link = NULL; in manager_rtnl_process_link()
2644 int link_getlink_handler_internal(sd_netlink *rtnl, sd_netlink_message *m, Link *link, const char *… in link_getlink_handler_internal()
2681 int link_call_getlink(Link *link, link_netlink_message_handler_t callback) { in link_call_getlink()