Change-Id: Ia9688dbfa5bd0b2e5f917003c6d5825e2e4c7b5f
if (getenv("CONNMAN_DHCPV6_DEBUG"))
if (getenv("CONNMAN_DHCPV6_DEBUG"))
g_dhcp_client_set_debug(dhcp_client, dhcpv6_debug, "DHCPv6");
service = connman_service_lookup_from_network(dhcp->network);
g_dhcp_client_set_debug(dhcp_client, dhcpv6_debug, "DHCPv6");
service = connman_service_lookup_from_network(dhcp->network);
if (getenv("CONNMAN_DHCPV6_DEBUG"))
if (getenv("CONNMAN_DHCPV6_DEBUG"))
g_dhcp_client_set_debug(dhcp_client, dhcpv6_debug, "DHCPv6");
service = connman_service_lookup_from_network(dhcp->network);
g_dhcp_client_set_debug(dhcp_client, dhcpv6_debug, "DHCPv6");
service = connman_service_lookup_from_network(dhcp->network);
if (getenv("CONNMAN_DHCPV6_DEBUG"))
if (getenv("CONNMAN_DHCPV6_DEBUG"))
g_dhcp_client_set_debug(dhcp_client, dhcpv6_debug, "DHCPv6:PD");
service = connman_service_lookup_from_network(dhcp->network);
g_dhcp_client_set_debug(dhcp_client, dhcpv6_debug, "DHCPv6:PD");
service = connman_service_lookup_from_network(dhcp->network);
struct connman_ipaddress *append_addr = NULL;
const char *str;
struct connman_ipaddress *append_addr = NULL;
const char *str;
if (ipconfig->type != CONNMAN_IPCONFIG_TYPE_IPV4)
return;
if (ipconfig->type != CONNMAN_IPCONFIG_TYPE_IPV4)
return;
struct connman_ipaddress *append_addr = NULL;
const char *str, *privacy;
struct connman_ipaddress *append_addr = NULL;
const char *str, *privacy;
if (ipconfig->type != CONNMAN_IPCONFIG_TYPE_IPV6)
return;
if (ipconfig->type != CONNMAN_IPCONFIG_TYPE_IPV6)
return;
{
const char *str, *privacy;
{
const char *str, *privacy;
str = __connman_ipconfig_method2string(ipconfig->method);
if (!str)
return;
str = __connman_ipconfig_method2string(ipconfig->method);
if (!str)
return;
str = __connman_ipconfig_method2string(ipconfig->method);
if (!str)
return;
str = __connman_ipconfig_method2string(ipconfig->method);
if (!str)
return;
reply = dbus_message_new_method_return(msg);
if (!reply)
reply = dbus_message_new_method_return(msg);
if (!reply)
* We do stateful/stateless DHCPv6 if router advertisement says so.
*/
if (reply->nd_ra_flags_reserved & ND_RA_FLAG_MANAGED) {
* We do stateful/stateless DHCPv6 if router advertisement says so.
*/
if (reply->nd_ra_flags_reserved & ND_RA_FLAG_MANAGED) {
+#if defined TIZEN_EXT
+ DBG("IPv6 ND_RA_FLAG_MANAGED");
+#endif
__connman_dhcpv6_start(network, prefixes, dhcpv6_callback);
} else {
if (reply->nd_ra_flags_reserved & ND_RA_FLAG_OTHER)
__connman_dhcpv6_start(network, prefixes, dhcpv6_callback);
} else {
if (reply->nd_ra_flags_reserved & ND_RA_FLAG_OTHER)
+#if defined TIZEN_EXT
+ {
+ DBG("IPv6 ND_RA_FLAG_OTHER");
+#endif
__connman_dhcpv6_start_info(network,
dhcpv6_info_callback);
__connman_dhcpv6_start_info(network,
dhcpv6_info_callback);
+#if defined TIZEN_EXT
+ }
+#endif
g_slist_free_full(prefixes, g_free);
network->connecting = false;
g_slist_free_full(prefixes, g_free);
network->connecting = false;
DBusMessageIter *iter = user_data;
if (!service || !service->path) {
DBusMessageIter *iter = user_data;
if (!service || !service->path) {
DBG("service %p or path is NULL", service);
DBG("service %p or path is NULL", service);
return;
}
if (g_hash_table_lookup(services_notify->add, service->path)) {
return;
}
if (g_hash_table_lookup(services_notify->add, service->path)) {
DBG("new %s", service->path);
DBG("new %s", service->path);
append_struct(service, iter);
g_hash_table_remove(services_notify->add, service->path);
} else {
append_struct(service, iter);
g_hash_table_remove(services_notify->add, service->path);
} else {
DBG("changed %s", service->path);
DBG("changed %s", service->path);
append_struct_service(iter, NULL, service);
}
append_struct_service(iter, NULL, service);
}