History log of /system/core/libnetutils/dhcp_utils.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
be06210c508d5878dcc7d185e5613f4c7e38dfe8 25-Jul-2013 Dmitry Shmidt <dimitrysh@google.com> libnetutils: Get mtu together with dhcp session results

Change-Id: I517fd1f62d451b07466a21a2b770d9ce389dac19
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
/system/core/libnetutils/dhcp_utils.c
0a0a8768cbc9ce36d3c9a0cc712dc8c309811565 11-Jun-2013 Colin Cross <ccross@android.com> resolved conflicts for merge of c0df50af to stage-aosp-master

Change-Id: I949cce9e1f14cd33162b81fbc6728c64e2b09b7c
897df50f4cdc55339261a9fde83d650e7d85f081 05-Jun-2013 Michael Wu <michaelstay@gmail.com> fix bad return value in dhcp_do_request_*

1. bad return status make it return uninitialized prefixLength with a magic
number in android_net_utils_runDhcpCommon()
2. it will make DhcpInfoInternal.makeLinkAddress() to throw
IllegalArgumentException when try to connect a Wifi AP
3. the exception will make system reboot, of cource it random.

Change-Id: Iabc0cd5b69c1316f4eeae0aa1b8a91444dca4562
Signed-off-by: Michael Wu <michaelstay@gmail.com>
/system/core/libnetutils/dhcp_utils.c
c93d30f50d15ff0c5c2d2b364019743d6cdaa88f 12-Jan-2013 Robert Greenwalt <rgreenwalt@google.com> Merge "Support 4 dns servers, up from 2"
fdd573188d08fbd3739aeda19ef0f2d03752db9f 10-Jan-2013 Robert Greenwalt <rgreenwalt@google.com> Support 4 dns servers, up from 2

bug:5958524
Change-Id: I61c25e23d21e92653ec9b874d3d456a330d8fe05
/system/core/libnetutils/dhcp_utils.c
273f504c14ebbcead6c4adfa630135dd77bea8d1 07-Jan-2013 Elliott Hughes <enh@google.com> am bab2ba3e: am 6d9589c3: Merge "Fix dhcpcd startup when net.hostname is not set"

* commit 'bab2ba3e730d610883added31ff806da352cbb07':
Fix dhcpcd startup when net.hostname is not set
ba2ba5c011a3fb13cba538296b70888dd0fb129b 04-Jan-2013 Matt Gumbel <matthew.k.gumbel@intel.com> Fix dhcpcd startup when net.hostname is not set

Commit 62d6f74 swapped p2p_interface and DHCP_CONFIG_PATH
erroneously. This reverts them to their correct ordering and makes dhcpcd
startup work again.

Change-Id: Iea033a7e0dad98bb2a63fb39755330675cfbb0ab
Signed-off-by: Matt Gumbel <matthew.k.gumbel@intel.com>
/system/core/libnetutils/dhcp_utils.c
94cecfc4a00237cfd08e4327a836c67104ff2e20 07-Dec-2012 Irfan Sheriff <isheriff@google.com> Handle empty gateways

Change-Id: Icbc1859125bae0bc222685bfbc18af38273d6827
/system/core/libnetutils/dhcp_utils.c
35c625194bd1d2efb1a8230fd63c7febfbd98f31 06-Dec-2012 Irfan Sheriff <isheriff@google.com> Remove dead code

Remove unnecessary DHCP properties

Change-Id: I27b5d0a2d8fd67c911d04bb2d18dc1b3f10e7c2a
/system/core/libnetutils/dhcp_utils.c
6ecbdca4c19bc6f8eb371dd2c7a85fac06e1854d 13-Nov-2012 Robert Greenwalt <rgreenwalt@google.com> Read domain name from dhcp system prop

This property is set by the dhcpcd daemon.

bug:6799630
Change-Id: I21002e286819cff420ec72e3857764e5f58ecfe4
/system/core/libnetutils/dhcp_utils.c
62d6f7486323fd2bd27299940a28f3c6de73f65d 24-Jul-2012 Dmitry Shmidt <dimitrysh@google.com> dhcp_utils: Add -f dhcpcd.conf processing

Change-Id: Idd5c8734fafd27c76f61820f223627af4c71a271
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
/system/core/libnetutils/dhcp_utils.c
89f58cf827ecac8e67f5bcdb1dc7a9ed43e69cef 23-May-2012 Irfan Sheriff <isheriff@google.com> Reuse system properties for p2p

p2p interfaces keep increasing. Reuse a single "p2p" phrase to track all
p2p specific properties.

Longer term, we will remove the use of system properties for dhcp

Also, fixed some warnings

Bug: 6522164
Change-Id: Ibe9a68a1b5db9d5b0fe88c854d9f94b1b9930970
/system/core/libnetutils/dhcp_utils.c
0fb8ec8e9a056cd219216b1f5724d289b50dc993 19-Apr-2012 Jeff Sharkey <jsharkey@android.com> Pipe DHCP vendor info towards framework.

Bug: 6344821
Change-Id: Iebce3e1b36175fc88f44e18db647c43b1245f18f
/system/core/libnetutils/dhcp_utils.c
da96a66b88520d8414f30d0eab9eaf1630d374f7 09-Nov-2011 Irfan Sheriff <isheriff@google.com> Merge "Fix dhcp comments"
35c28608bf3dc31bab8cd6c2579739643e0145d8 09-Nov-2011 Irfan Sheriff <isheriff@google.com> Fix dhcp comments

Change-Id: Ia99b2c10ff6cf8c75c23db49f1e9cf7a043141cc
/system/core/libnetutils/dhcp_utils.c
ed21633a5e81f7bb9688da98bc9ea9b08b6bce20 13-Oct-2011 tk.mun <tk.mun@samsung.com> Wimax: wimax related changes for libnetutils

- Modified dhcp renew code for the new conenctivity changes in ICS

Change-Id: I614dfc62a875b79dbd8b7c46f4d87f366a3c3661
Signed-off-by: tk.mun <tk.mun@samsung.com>
bug:5486930
/system/core/libnetutils/dhcp_utils.c
a329b4296cab06ea0b6e95065d8eabb82d3fd76d 29-Jul-2011 repo sync <isheriff@google.com> Update dhcp for p2p

Bug: 5002384
Change-Id: I4ee4f80e2bc2966aa30d1344182d90f30117fbae
/system/core/libnetutils/dhcp_utils.c
bdaaec1ba0a7cf832ad7fe475a7c541ed9973e52 16-Apr-2011 Irfan Sheriff <isheriff@google.com> Use DHCP server as gateway when it is absent

Some routers can return 0.0.0.0 as gateway address,
use DHCP server as gateway in such instances

Change-Id: I7e8db8e619475efce53ce391f77f2c13c3b7268c
/system/core/libnetutils/dhcp_utils.c
9d157870345fa18ee7e639a85f6bcc4afb50c648 23-Feb-2011 TK MUN <tk.mun@samsung.com> Add per interface dhcp client support

Added when using dhcp on both wimax and wifi. But should be useful across multiple
services running dhcp now. Also adds a renewal api

Change-Id: Ic850a612dd429cd675b5b0224ff58895f9d8e4d9
Signed-off-by: TK MUN <tk.mun@samsung.com>
/system/core/libnetutils/dhcp_utils.c
faab26d542740f03cbe12e44f6af1f97e8e7c12e 14-Jan-2011 Robert Greenwalt <rgreenwalt@google.com> Change our dhcp interface to be IPv6 compat.

Doesn't do IPv6, but removes v4-specific structures from the framework
(netmask, ints for addrs)
bug:2542681

Change-Id: I1110e6f32d42a472b104835a4298e18b391db0a7
/system/core/libnetutils/dhcp_utils.c
b1723b68921512f26562384898b9600f8f11d25e 21-Dec-2010 Irfan Sheriff <isheriff@google.com> Reduce polling interval to 200ms

DHCP success can take up to 2 seconds to
be reported to the statemachine. Move wait
time after check and reduce it to 200ms

Change-Id: I6b2546f80435a84ee6f44f4d91f348bacfdc8433
/system/core/libnetutils/dhcp_utils.c
b93e5812faffd3b6c5fb349072413aace31918d8 17-Nov-2010 Olivier Bailly <olivier@google.com> Add missing headers for compilation on x86 targets

Change-Id: I5f4dc797b353a0f01fa00d38375ec303bf863254
/system/core/libnetutils/dhcp_utils.c
8c85a00db6da092ec3766facd49132fa4fc319a1 09-Jun-2010 Szymon Jakubczak <szym@google.com> - creates proper ifc.h and dhcp.h headers for libnetutils
- adds ifc_set_hwaddr
- adds hwaddr command to netcfg
- code reuse: dhcp_configure calls ifc_configure; inet_ntoa is used for printing
- consistency: use net.XXX.dnsX properties in favor of dhcp.XXX.dnsX properties
(see related change to WifiStateTracker)
- updated system/core/nexus to use new headers, although not sure if
anybody still uses nexus

Change-Id: Idd70c0ac6e89b38e86816578c33eff805d30cac4
/system/core/libnetutils/dhcp_utils.c
58b64acef07e6426914a8cb2d972778fbe138655 18-Aug-2010 Jean-Baptiste Queru <jbq@google.com> Revert "- creates proper ifc.h and dhcp.h headers for libnetutils"

This reverts commit c88e09cb98fb3690c3cf49f5a825532e0d9bf300.
/system/core/libnetutils/dhcp_utils.c
1adbb607d2b6a74b7871a8cecd7c5690c8c5cf6d 15-Jun-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: I8cfc9c0b699eceef77a905ca2f8cbdb1ab06bf1d
c88e09cb98fb3690c3cf49f5a825532e0d9bf300 09-Jun-2010 Szymon Jakubczak <szym@google.com> - creates proper ifc.h and dhcp.h headers for libnetutils
- adds ifc_set_hwaddr
- adds hwaddr command to netcfg
- code reuse: dhcp_configure calls ifc_configure; inet_ntoa is used for printing
- consistency: use net.XXX.dnsX properties in favor of dhcp.XXX.dnsX properties
(see related change to WifiStateTracker)
- updated system/core/nexus to use new headers, although not sure if
anybody still uses nexus

Change-Id: Idd70c0ac6e89b38e86816578c33eff805d30cac4
/system/core/libnetutils/dhcp_utils.c
9363b7d5da7e17842432251384f8dc46902ac323 15-Dec-2009 Dmitry Shmidt <dimitrysh@google.com> dhcp: Add hostname support

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
/system/core/libnetutils/dhcp_utils.c
dd7bc3319deb2b77c5d07a51b7d6cd7e11b5beb0 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/system/core/libnetutils/dhcp_utils.c
e54eebbf1a908d65ee8cf80bab62821c05666d70 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/system/core/libnetutils/dhcp_utils.c
1b8e5a6b14ca850920e19b3dfae41e6494475c1a 13-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@131421
/system/core/libnetutils/dhcp_utils.c
35237d135807af84bf9b0e5b8d7f8633e58db6f5 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/system/core/libnetutils/dhcp_utils.c
4f6e8d7a00cbeda1e70cc15be9c4af1018bdad53 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/system/core/libnetutils/dhcp_utils.c