Lines Matching refs:sd_dhcp6_client
31 …_cleanup_(sd_dhcp6_client_unrefp) _unused_ sd_dhcp6_client *_dont_destroy_##client = sd_dhcp6_clie…
33 static int client_start_transaction(sd_dhcp6_client *client, DHCP6State state);
36 sd_dhcp6_client *client, in sd_dhcp6_client_set_callback()
48 int sd_dhcp6_client_set_ifindex(sd_dhcp6_client *client, int ifindex) { in sd_dhcp6_client_set_ifindex()
57 int sd_dhcp6_client_set_ifname(sd_dhcp6_client *client, const char *ifname) { in sd_dhcp6_client_set_ifname()
67 int sd_dhcp6_client_get_ifname(sd_dhcp6_client *client, const char **ret) { in sd_dhcp6_client_get_ifname()
83 sd_dhcp6_client *client, in sd_dhcp6_client_set_local_address()
97 sd_dhcp6_client *client, in sd_dhcp6_client_set_mac()
127 sd_dhcp6_client *client, in sd_dhcp6_client_set_prefix_delegation_hint()
157 int sd_dhcp6_client_add_vendor_option(sd_dhcp6_client *client, sd_dhcp6_option *v) { in sd_dhcp6_client_add_vendor_option()
178 static int client_ensure_duid(sd_dhcp6_client *client) { in client_ensure_duid()
193 sd_dhcp6_client *client, in dhcp6_client_set_duid_internal()
235 sd_dhcp6_client *client, in sd_dhcp6_client_set_duid()
243 sd_dhcp6_client *client, in sd_dhcp6_client_set_duid_llt()
249 sd_dhcp6_client *client, in sd_dhcp6_client_duid_as_string()
283 int sd_dhcp6_client_set_iaid(sd_dhcp6_client *client, uint32_t iaid) { in sd_dhcp6_client_set_iaid()
294 static int client_ensure_iaid(sd_dhcp6_client *client) { in client_ensure_iaid()
317 int sd_dhcp6_client_get_iaid(sd_dhcp6_client *client, uint32_t *iaid) { in sd_dhcp6_client_get_iaid()
329 void dhcp6_client_set_test_mode(sd_dhcp6_client *client, bool test_mode) { in dhcp6_client_set_test_mode()
336 sd_dhcp6_client *client, in sd_dhcp6_client_set_fqdn()
350 int sd_dhcp6_client_set_information_request(sd_dhcp6_client *client, int enabled) { in sd_dhcp6_client_set_information_request()
359 int sd_dhcp6_client_get_information_request(sd_dhcp6_client *client, int *enabled) { in sd_dhcp6_client_get_information_request()
372 int sd_dhcp6_client_set_request_option(sd_dhcp6_client *client, uint16_t option) { in sd_dhcp6_client_set_request_option()
395 int sd_dhcp6_client_set_request_mud_url(sd_dhcp6_client *client, const char *mudurl) { in sd_dhcp6_client_set_request_mud_url()
405 int sd_dhcp6_client_set_request_user_class(sd_dhcp6_client *client, char * const *user_class) { in sd_dhcp6_client_set_request_user_class()
426 int sd_dhcp6_client_set_request_vendor_class(sd_dhcp6_client *client, char * const *vendor_class) { in sd_dhcp6_client_set_request_vendor_class()
447 int sd_dhcp6_client_get_prefix_delegation(sd_dhcp6_client *client, int *delegation) { in sd_dhcp6_client_get_prefix_delegation()
456 int sd_dhcp6_client_set_prefix_delegation(sd_dhcp6_client *client, int delegation) { in sd_dhcp6_client_set_prefix_delegation()
465 int sd_dhcp6_client_get_address_request(sd_dhcp6_client *client, int *request) { in sd_dhcp6_client_get_address_request()
474 int sd_dhcp6_client_set_address_request(sd_dhcp6_client *client, int request) { in sd_dhcp6_client_set_address_request()
483 int dhcp6_client_set_transaction_id(sd_dhcp6_client *client, uint32_t transaction_id) { in dhcp6_client_set_transaction_id()
494 int sd_dhcp6_client_get_lease(sd_dhcp6_client *client, sd_dhcp6_lease **ret) { in sd_dhcp6_client_get_lease()
506 int sd_dhcp6_client_add_option(sd_dhcp6_client *client, sd_dhcp6_option *v) { in sd_dhcp6_client_add_option()
520 static void client_set_state(sd_dhcp6_client *client, DHCP6State state) { in client_set_state()
532 static void client_notify(sd_dhcp6_client *client, int event) { in client_notify()
539 static void client_stop(sd_dhcp6_client *client, int error) { in client_stop()
563 sd_dhcp6_client *client, in client_append_common_options_in_managed_mode()
619 static DHCP6MessageType client_message_type_from_state(sd_dhcp6_client *client) { in client_message_type_from_state()
638 static int client_append_oro(sd_dhcp6_client *client, uint8_t **opt, size_t *optlen) { in client_append_oro()
683 int dhcp6_client_send_message(sd_dhcp6_client *client) { in dhcp6_client_send_message()
801 sd_dhcp6_client *client = ASSERT_PTR(userdata); in client_timeout_resend()
886 static int client_start_transaction(sd_dhcp6_client *client, DHCP6State state) { in client_start_transaction()
942 sd_dhcp6_client *client = ASSERT_PTR(userdata); in client_timeout_expire()
963 sd_dhcp6_client *client = ASSERT_PTR(userdata); in client_timeout_t2()
976 sd_dhcp6_client *client = ASSERT_PTR(userdata); in client_timeout_t1()
987 static int client_enter_bound_state(sd_dhcp6_client *client) { in client_enter_bound_state()
1061 static int log_invalid_message_type(sd_dhcp6_client *client, const DHCP6Message *message) { in log_invalid_message_type()
1077 sd_dhcp6_client *client, in client_process_information()
1111 sd_dhcp6_client *client, in client_process_reply()
1139 sd_dhcp6_client *client, in client_process_advertise_or_rapid_commit_reply()
1209 sd_dhcp6_client *client = ASSERT_PTR(userdata); in client_receive_message()
1304 int sd_dhcp6_client_stop(sd_dhcp6_client *client) { in sd_dhcp6_client_stop()
1316 int sd_dhcp6_client_is_running(sd_dhcp6_client *client) { in sd_dhcp6_client_is_running()
1322 int sd_dhcp6_client_start(sd_dhcp6_client *client) { in sd_dhcp6_client_start()
1392 int sd_dhcp6_client_attach_event(sd_dhcp6_client *client, sd_event *event, int64_t priority) { in sd_dhcp6_client_attach_event()
1412 int sd_dhcp6_client_detach_event(sd_dhcp6_client *client) { in sd_dhcp6_client_detach_event()
1421 sd_event *sd_dhcp6_client_get_event(sd_dhcp6_client *client) { in sd_dhcp6_client_get_event()
1427 static sd_dhcp6_client *dhcp6_client_free(sd_dhcp6_client *client) { in dhcp6_client_free()
1455 DEFINE_TRIVIAL_REF_UNREF_FUNC(sd_dhcp6_client, sd_dhcp6_client, dhcp6_client_free);
1457 int sd_dhcp6_client_new(sd_dhcp6_client **ret) { in sd_dhcp6_client_new()
1458 _cleanup_(sd_dhcp6_client_unrefp) sd_dhcp6_client *client = NULL; in sd_dhcp6_client_new()
1462 client = new(sd_dhcp6_client, 1); in sd_dhcp6_client_new()
1466 *client = (sd_dhcp6_client) { in sd_dhcp6_client_new()