summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2011-01-26 15:46:44 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2011-01-26 15:46:44 +0100
commita089c11d2e4cd8149a179f605c19c4fde5a55756 (patch)
tree2e764b251f2c2fef147f0d7b33a4ec033e8b101d /include
parent034e022c01d625f0cd9fac7aaa96eee980f1cb3e (diff)
downloadconnman-a089c11d2e4cd8149a179f605c19c4fde5a55756.tar.gz
connman-a089c11d2e4cd8149a179f605c19c4fde5a55756.tar.bz2
connman-a089c11d2e4cd8149a179f605c19c4fde5a55756.zip
inet: IPv6 network route setting API
Diffstat (limited to 'include')
-rw-r--r--include/inet.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/inet.h b/include/inet.h
index 5fb3a53f..94d1951c 100644
--- a/include/inet.h
+++ b/include/inet.h
@@ -60,8 +60,12 @@ 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);
+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,
const char *gateway);
+int connman_inet_del_ipv6_network_route(int index, const char *host,
+ unsigned char prefix_len);
int connman_inet_del_ipv6_host_route(int index, const char *host);
int connman_inet_set_ipv6_gateway_address(int index, const char *gateway);
int connman_inet_clear_ipv6_gateway_address(int index, const char *gateway);