diff options
author | Martin Xu <martin.xu@intel.com> | 2009-12-30 16:24:11 +0800 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-12-30 00:54:04 -0800 |
commit | 87edbec1ae4b6971640d77d50ecfdc67693d5bcd (patch) | |
tree | ef02e8e5de665e6f226860f46e0e4823254ea358 /include | |
parent | fc17fb73a580904fcce7c37b5a9ec2364715f9e7 (diff) | |
download | connman-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.h | 3 |
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 } |