diff options
author | Niraj Kumar Goit <niraj.g@samsung.com> | 2022-02-17 21:43:13 +0530 |
---|---|---|
committer | Niraj Kumar Goit <niraj.g@samsung.com> | 2022-02-23 21:00:32 +0530 |
commit | bf0e619ef451bde3568c1af509ccb12cbda2ff93 (patch) | |
tree | edc77ad122572a91f8ec267629fb1c4ffffabb4b /include/inet.h | |
parent | 2985b9822ac3f5acfef2933cbda98c1285e11af4 (diff) | |
parent | f89b473dfd8e916314b534b3397442f8c869c783 (diff) | |
download | connman-bf0e619ef451bde3568c1af509ccb12cbda2ff93.tar.gz connman-bf0e619ef451bde3568c1af509ccb12cbda2ff93.tar.bz2 connman-bf0e619ef451bde3568c1af509ccb12cbda2ff93.zip |
Merge tag 'upstream/1.40' into tizen.submit/tizen/20220224.061208
Change-Id: I4ed89827d776db6eeec11878bc1cd0cd6c5e1e80
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
Signed-off-by: Anjali Nijhara <a.nijhara@samsung.com>
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); |