diff options
author | Robert Greenwalt <rgreenwalt@google.com> | 2013-01-09 16:22:12 -0800 |
---|---|---|
committer | Robert Greenwalt <rgreenwalt@google.com> | 2013-01-10 11:36:09 -0800 |
commit | fdd573188d08fbd3739aeda19ef0f2d03752db9f (patch) | |
tree | b779d66bbf125e440550839bc68330fd92b08d11 /include/netutils | |
parent | d7c52a458e1c93b539ebd94f341f842d32d36937 (diff) | |
download | system_core-fdd573188d08fbd3739aeda19ef0f2d03752db9f.zip system_core-fdd573188d08fbd3739aeda19ef0f2d03752db9f.tar.gz system_core-fdd573188d08fbd3739aeda19ef0f2d03752db9f.tar.bz2 |
Support 4 dns servers, up from 2
bug:5958524
Change-Id: I61c25e23d21e92653ec9b874d3d456a330d8fe05
Diffstat (limited to 'include/netutils')
-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(); |