diff options
author | Robert Greenwalt <rgreenwalt@google.com> | 2013-01-11 15:38:59 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2013-01-11 15:38:59 -0800 |
commit | c93d30f50d15ff0c5c2d2b364019743d6cdaa88f (patch) | |
tree | 2ffd9048d054b16ca25c9d49f645af0c52477843 /include/netutils/dhcp.h | |
parent | 60efde774d96493483bd948805547680dfd7f41a (diff) | |
parent | fdd573188d08fbd3739aeda19ef0f2d03752db9f (diff) | |
download | system_core-c93d30f50d15ff0c5c2d2b364019743d6cdaa88f.zip system_core-c93d30f50d15ff0c5c2d2b364019743d6cdaa88f.tar.gz system_core-c93d30f50d15ff0c5c2d2b364019743d6cdaa88f.tar.bz2 |
Merge "Support 4 dns servers, up from 2"
Diffstat (limited to 'include/netutils/dhcp.h')
-rw-r--r-- | include/netutils/dhcp.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/include/netutils/dhcp.h b/include/netutils/dhcp.h index d25e58f..bd2c957 100644 --- a/include/netutils/dhcp.h +++ b/include/netutils/dhcp.h @@ -27,11 +27,18 @@ extern int dhcp_do_request(const char *ifname, char *ipaddr, char *gateway, uint32_t *prefixLength, - char *dns1, - char *dns2, + char *dns[], char *server, uint32_t *lease, char *vendorInfo); +extern int dhcp_do_request_renew(const char *ifname, + char *ipaddr, + char *gateway, + uint32_t *prefixLength, + char *dns[], + char *server, + uint32_t *lease, + char *vendorInfo); extern int dhcp_stop(const char *ifname); extern int dhcp_release_lease(const char *ifname); extern char *dhcp_get_errmsg(); |