summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMartin Xu <martin.xu@intel.com>2009-12-30 16:24:11 +0800
committerMarcel Holtmann <marcel@holtmann.org>2009-12-30 00:54:04 -0800
commit87edbec1ae4b6971640d77d50ecfdc67693d5bcd (patch)
treeef02e8e5de665e6f226860f46e0e4823254ea358 /include
parentfc17fb73a580904fcce7c37b5a9ec2364715f9e7 (diff)
downloadconnman-87edbec1ae4b6971640d77d50ecfdc67693d5bcd.tar.gz
connman-87edbec1ae4b6971640d77d50ecfdc67693d5bcd.tar.bz2
connman-87edbec1ae4b6971640d77d50ecfdc67693d5bcd.zip
Add INET functions for setting gateway address and gateway interface
Diffstat (limited to 'include')
-rw-r--r--include/inet.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/inet.h b/include/inet.h
index d8be5b79..412cf116 100644
--- a/include/inet.h
+++ b/include/inet.h
@@ -44,7 +44,8 @@ connman_bool_t connman_inet_is_mac80211(int index);
int connman_inet_set_address(int index, struct connman_ipaddress *ipaddress);
int connman_inet_clear_address(int index);
-int connman_inet_set_gateway(int index, struct in_addr gateway);
+int connman_inet_set_gateway_interface(int index);
+int connman_inet_set_gateway_address(int index, const char *gateway);
#ifdef __cplusplus
}