summaryrefslogtreecommitdiffstats
path: root/libnetutils
Commit message (Collapse)AuthorAgeFilesLines
...
| * DHCP changes from masterIrfan Sheriff2011-04-301-10/+92
| | | | | | | | | | | | | | Pick dhcp changes from master for the renewal fixes Bug: 3344732 Change-Id: Ie49cd11f74cf89e9edf2d1c788a699ce0996190d
* | Use DHCP server as gateway when it is absentIrfan Sheriff2011-04-151-3/+9
| | | | | | | | | | | | | | Some routers can return 0.0.0.0 as gateway address, use DHCP server as gateway in such instances Change-Id: I7e8db8e619475efce53ce391f77f2c13c3b7268c
* | Add missing function required to load Crespo RIL library.Jake Hamby2011-04-111-0/+10
| | | | | | | | | | | | | | | | ifc_set_mask() function was removed in a previous change. This function is called by the Crespo RIL, so we can't remove it yet. Bug: 4268537 Change-Id: I634580ee8d2a1aff069178837cc121c89c5e73f9
* | am e9fa47ca: am 0dd572a5: Merge "Kill IPv6 sockets as well as IPv4 sockets." ↵Lorenzo Colitti2011-03-301-1/+18
|\ \ | |/ | | | | | | | | | | into honeycomb-LTE * commit 'e9fa47ca664577e4ca7ed270f1f72a2d43fb3423': Kill IPv6 sockets as well as IPv4 sockets.
| * Kill IPv6 sockets as well as IPv4 sockets.Lorenzo Colitti2011-03-171-1/+18
| | | | | | | | Change-Id: Ib9e070e510d1a762295faf4dc673c9a6e8207a8d
* | Add per interface dhcp client supportTK MUN2011-03-231-7/+81
|/ | | | | | | | 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>
* Stop using netmask in the frameworkRobert Greenwalt2011-02-022-31/+48
| | | | | | | This pushes prefixLength down as far as we can. bug:2542681 Change-Id: I94b7cde9d10e97ee2c071d92f25555cff5934f0b
* Merge "libnetutils: Clean all IPs assigned to the interface on cleaning"Dmitry Shmidt2011-01-271-0/+26
|\
| * libnetutils: Clean all IPs assigned to the interface on cleaningDmitry Shmidt2011-01-271-0/+26
| | | | | | | | | | Change-Id: Ic285bbb4b224fc4e62e88e76b8b448edbe814a17 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* | Change our dhcp interface to be IPv6 compat.Robert Greenwalt2011-01-251-46/+51
|/ | | | | | | | Doesn't do IPv6, but removes v4-specific structures from the framework (netmask, ints for addrs) bug:2542681 Change-Id: I1110e6f32d42a472b104835a4298e18b391db0a7
* libnetutils: Fix warningDmitry Shmidt2011-01-241-5/+6
| | | | | Change-Id: I2a914314a027e0e542d45dff0c2e6029e9f40615 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* Reduce polling interval to 200msIrfan Sheriff2010-12-211-3/+3
| | | | | | | | 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
* fix undefined behavior with certain left-shift count valuesStan Chesnutt2010-12-161-0/+5
| | | | Change-Id: I1b71de28312a56a3b1d27fcfaf0a7b71d5777e6c
* Add missing headers for compilation on x86 targetsOlivier Bailly2010-11-171-0/+1
| | | | Change-Id: I5f4dc797b353a0f01fa00d38375ec303bf863254
* am 705ab8db: Fix sim build - remove unncesessary header.Robert Greenwalt2010-08-261-1/+0
|\ | | | | | | | | | | | | Merge commit '705ab8db827b0f7f3389463af67d173c8a94fc8a' into gingerbread-plus-aosp * commit '705ab8db827b0f7f3389463af67d173c8a94fc8a': Fix sim build - remove unncesessary header.
| * Fix sim build - remove unncesessary header.Robert Greenwalt2010-08-251-1/+0
| | | | | | | | Change-Id: Ibeba75848eaf732b7d0c7aecc9e7be8dbd509a1c
* | Manual mergeJean-Baptiste Queru2010-08-251-22/+189
|\ \ | |/ | | | | Change-Id: Ic71ed9c392c5dee4a5a9be184d071eb688741f6f
| * Add API to add a route to IPv4/IPv6 host/gateway.Banavathu, Srinivas Naik2010-08-171-22/+189
| | | | | | | | | | | | | | Add API to create a route to an IPv4/IPv6 host/gateway through a particular interface. Change-Id: I0ab5d2d211e0fc05f65ee6bb202b7f435cccae2a
* | - creates proper ifc.h and dhcp.h headers for libnetutilsSzymon Jakubczak2010-08-254-74/+42
| | | | | | | | | | | | | | | | | | | | | | | | - 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
* | Revert "- creates proper ifc.h and dhcp.h headers for libnetutils"Jean-Baptiste Queru2010-08-184-42/+74
| | | | | | | | This reverts commit c88e09cb98fb3690c3cf49f5a825532e0d9bf300.
* | merge from froyo-plus-aospThe Android Open Source Project2010-06-214-74/+42
|\ \ | |/ | | | | Change-Id: Ie231effb4d9dfd63aa98ec08b269c31ce32aa1c0
| * merge from open-source masterThe Android Open Source Project2010-06-154-74/+42
| |\ | | | | | | | | | Change-Id: I8cfc9c0b699eceef77a905ca2f8cbdb1ab06bf1d
| | * - creates proper ifc.h and dhcp.h headers for libnetutilsSzymon Jakubczak2010-06-094-74/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | | Get rid of warnings when compiled with -Wformat-securityNick Kralevich2010-05-131-1/+1
|/ / | | | | | | Change-Id: Ib38b2c152474ed83be1a5716457d0b374c0e5c68
* | dhcp: Add hostname supportDmitry Shmidt2009-12-141-3/+11
|/ | | | Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* libnetutils: Add ifc_enable(), for enabling a network interface.Mike Lockwood2009-07-101-0/+10
| | | | Signed-off-by: Mike Lockwood <lockwood@android.com>
* Automated import from //branches/master/...@140824,140824Dianne Hackborn2009-03-241-0/+190
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-039-0/+1725
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-039-1725/+0
|
* auto import from //branches/cupcake/...@131421The Android Open Source Project2009-02-131-0/+5
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-0/+16
|
* Initial ContributionThe Android Open Source Project2008-10-219-0/+1704