int connman_ipaddress_set_ipv6(struct connman_ipaddress *ipaddress,
const char *address, const char *gateway,
unsigned char prefix_length);
-struct connman_ipconfig *connman_ipconfig_get_ipv6config(
- struct connman_ipconfig *ipconfig);
int connman_ipconfig_set_method(struct connman_ipconfig *ipconfig,
enum connman_ipconfig_method method);
void connman_ipconfig_bind(struct connman_ipconfig *ipconfig,
ipconfig->ops = ops;
}
-struct connman_ipconfig *connman_ipconfig_get_ipv6config(
- struct connman_ipconfig *ipconfig)
-{
- if (ipconfig == NULL || ipconfig->type != CONNMAN_IPCONFIG_TYPE_IPV6)
- return NULL;
-
- return ipconfig;
-}
-
/**
* connman_ipconfig_set_method:
* @ipconfig: ipconfig structure