return;
}
+ g_dhcpv6_client_clear_retransmit(dhcp_client);
+
option = g_dhcp_client_get_option(dhcp_client, G_DHCPV6_DNS_SERVERS);
entries = g_list_length(option);
g_dhcpv6_client_reset_rebind(dhcp_client);
g_dhcpv6_client_reset_renew(dhcp_client);
+ g_dhcpv6_client_clear_retransmit(dhcp_client);
re_cb(dhcp_client, user_data);
}
dhcp->timeout = g_timeout_add(dhcp->RT, timeout_rebind, dhcp);
+ g_dhcpv6_client_set_retransmit(dhcp->dhcp_client);
+
g_dhcp_client_start(dhcp->dhcp_client, NULL);
return FALSE;
{
DBG("");
+ g_dhcpv6_client_clear_retransmit(dhcp_client);
+
re_cb(dhcp_client, user_data);
}
DBG("request RT timeout %d msec", dhcp->RT);
dhcp->timeout = g_timeout_add(dhcp->RT, timeout_request, dhcp);
+ g_dhcpv6_client_set_retransmit(dhcp->dhcp_client);
+
g_dhcp_client_start(dhcp->dhcp_client, NULL);
return FALSE;
DBG("");
g_dhcpv6_client_reset_renew(dhcp_client);
+ g_dhcpv6_client_clear_retransmit(dhcp_client);
re_cb(dhcp_client, user_data);
}
dhcp->timeout = g_timeout_add(dhcp->RT, timeout_renew, dhcp);
+ g_dhcpv6_client_set_retransmit(dhcp->dhcp_client);
+
g_dhcp_client_start(dhcp->dhcp_client, NULL);
return FALSE;
dhcp->timeout = g_timeout_add(dhcp->RT, timeout_info_req, dhcp);
+ g_dhcpv6_client_set_retransmit(dhcp->dhcp_client);
+
g_dhcp_client_start(dhcp->dhcp_client, NULL);
return FALSE;
clear_timer(dhcp);
+ g_dhcpv6_client_clear_retransmit(dhcp_client);
+
if (g_dhcpv6_client_get_status(dhcp_client) != 0) {
if (dhcp->callback != NULL)
dhcp->callback(dhcp->network, FALSE);
clear_timer(dhcp);
set_addresses(dhcp_client, dhcp);
+
+ g_dhcpv6_client_clear_retransmit(dhcp_client);
}
static gboolean timeout_solicitation(gpointer user_data)
dhcp->timeout = g_timeout_add(dhcp->RT, timeout_solicitation, dhcp);
+ g_dhcpv6_client_set_retransmit(dhcp->dhcp_client);
+
g_dhcp_client_start(dhcp->dhcp_client, NULL);
return FALSE;