diff options
author | Daniel Wagner <daniel.wagner@bmw-carit.de> | 2010-12-17 15:52:00 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2010-12-21 01:30:31 +0100 |
commit | c6dc58620400f2f21e157144253b9ed20e49539f (patch) | |
tree | 8ea5c124196fa41f5523c8a57a92e0ef67cee111 /include/inet.h | |
parent | 44098150b1db9cce6baedb242285b6c1a8c440bf (diff) | |
download | connman-c6dc58620400f2f21e157144253b9ed20e49539f.tar.gz connman-c6dc58620400f2f21e157144253b9ed20e49539f.tar.bz2 connman-c6dc58620400f2f21e157144253b9ed20e49539f.zip |
inet: Add connman_inet_[add|del]_network_route()
connman_inet_[add|del]_host_route() are now wrappers
around connman_inet_[add|del]_network_route()
Diffstat (limited to 'include/inet.h')
-rw-r--r-- | include/inet.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/inet.h b/include/inet.h index 7b349000..5fb3a53f 100644 --- a/include/inet.h +++ b/include/inet.h @@ -48,6 +48,9 @@ int connman_inet_set_address(int index, struct connman_ipaddress *ipaddress); int connman_inet_clear_address(int index, struct connman_ipaddress *ipaddress); int connman_inet_add_host_route(int index, const char *host, const char *gateway); int connman_inet_del_host_route(int index, const char *host); +int connman_inet_add_network_route(int index, const char *host, const char *gateway, + const char *netmask); +int connman_inet_del_network_route(int index, const char *host); int connman_inet_set_gateway_address(int index, const char *gateway); int connman_inet_clear_gateway_address(int index, const char *gateway); int connman_inet_set_gateway_interface(int index); |