Lines Matching refs:network

25         return link->network->dhcp6_use_address;  in link_dhcp6_with_address_enabled()
31 if (!link->network) in link_get_dhcp6_client_start_mode()
35 if (link->network->dhcp6_client_start_mode >= 0) in link_get_dhcp6_client_start_mode()
36 return link->network->dhcp6_client_start_mode; in link_get_dhcp6_client_start_mode()
251 assert(link->network); in dhcp6_address_acquired()
254 if (!link->network->dhcp6_use_address) in dhcp6_address_acquired()
280 if (link->network->dhcp6_use_hostname) { in dhcp6_address_acquired()
375 assert(link->network); in dhcp6_handler()
417 assert(link->network); in dhcp6_start_on_ra()
476 assert(link->network); in dhcp6_start()
522 if (!link->network->dhcp_send_hostname) in dhcp6_set_hostname()
524 else if (link->network->dhcp_hostname) in dhcp6_set_hostname()
525 hn = link->network->dhcp_hostname; in dhcp6_set_hostname()
549 assert(link->network); in dhcp6_set_identifier()
556 if (link->network->dhcp6_iaid_set) { in dhcp6_set_identifier()
557 r = sd_dhcp6_client_set_iaid(client, link->network->dhcp6_iaid); in dhcp6_set_identifier()
584 assert(link->network); in dhcp6_configure()
603 ORDERED_HASHMAP_FOREACH(send_option, link->network->dhcp6_client_send_options) { in dhcp6_configure()
619 if (link->network->dhcp6_mudurl) { in dhcp6_configure()
620 r = sd_dhcp6_client_set_request_mud_url(client, link->network->dhcp6_mudurl); in dhcp6_configure()
625 if (link->network->dhcp6_use_dns) { in dhcp6_configure()
631 if (link->network->dhcp6_use_domains > 0) { in dhcp6_configure()
637 if (link->network->dhcp6_use_ntp) { in dhcp6_configure()
648 SET_FOREACH(request_options, link->network->dhcp6_request_options) { in dhcp6_configure()
660 if (link->network->dhcp6_user_class) { in dhcp6_configure()
661 r = sd_dhcp6_client_set_request_user_class(client, link->network->dhcp6_user_class); in dhcp6_configure()
666 if (link->network->dhcp6_vendor_class) { in dhcp6_configure()
667 … r = sd_dhcp6_client_set_request_vendor_class(client, link->network->dhcp6_vendor_class); in dhcp6_configure()
672 ORDERED_HASHMAP_FOREACH(vendor_option, link->network->dhcp6_client_send_vendor_options) { in dhcp6_configure()
684 r = sd_dhcp6_client_set_prefix_delegation(client, link->network->dhcp6_use_pd_prefix); in dhcp6_configure()
687 enable_disable(link->network->dhcp6_use_pd_prefix)); in dhcp6_configure()
690 …r = sd_dhcp6_client_set_address_request(client, link->network->dhcp6_use_pd_prefix ? link->network in dhcp6_configure()
693 enable_disable(link->network->dhcp6_use_address)); in dhcp6_configure()
695 if (link->network->dhcp6_pd_prefix_length > 0) { in dhcp6_configure()
697 … link->network->dhcp6_pd_prefix_length, in dhcp6_configure()
698 … &link->network->dhcp6_pd_prefix_hint); in dhcp6_configure()
824 Network *network = userdata; in config_parse_dhcp6_pd_prefix_hint() local
847 network->dhcp6_pd_prefix_hint = u.in6; in config_parse_dhcp6_pd_prefix_hint()
848 network->dhcp6_pd_prefix_length = prefixlen; in config_parse_dhcp6_pd_prefix_hint()