diff options
Diffstat (limited to 'include/inet.h')
-rw-r--r-- | include/inet.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/inet.h b/include/inet.h index 09f84540..579f7f7e 100644 --- a/include/inet.h +++ b/include/inet.h @@ -59,7 +59,7 @@ bool connman_inet_compare_ipv6_subnet(int index, const char *host); int connman_inet_set_ipv6_address(int index, struct connman_ipaddress *ipaddress); int connman_inet_clear_ipv6_address(int index, - const char *address, int prefix_len); + struct connman_ipaddress *ipaddress); int connman_inet_add_ipv6_network_route(int index, const char *host, const char *gateway, unsigned char prefix_len); int connman_inet_add_ipv6_host_route(int index, const char *host, @@ -82,6 +82,14 @@ int connman_inet_ipv6_get_dest_addr(int index, char **dest); int connman_inet_check_ipaddress(const char *host); bool connman_inet_check_hostname(const char *ptr, size_t len); bool connman_inet_is_ipv6_supported(); +bool connman_inet_is_default_route(int family, const char *host, + const char *gateway, const char *netmask); + +int connman_inet_get_route_addresses(int index, char **network, char **netmask, + char **destination); +int connman_inet_ipv6_get_route_addresses(int index, char **network, + char **netmask, + char **destination); #if defined TIZEN_EXT_WIFI_MESH char *connman_inet_ifaddr(const char *name); |