| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Change-Id: I3031e9ee38583648350f2c46baa7a9a714b9ea1e
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The interface/config-file arguments passed to the dhcpcd invocation
when a hostname isn't provided were swapped, causing requests to be made
for interface <config-file-name> instead of <interface-name>, and
failing all calls to start dhcpcd through netutils with the following error:
E/DhcpStateMachine( 3214): DHCP failed on wlan0: Timed out waiting for dhcpcd to start
because...
<3>[ 582.717015] init: no such service 'dhcpcd_/system/etc/dhcpcd/dhcpcd.conf:-f wlan0 wlan0'
Change-Id: Ic2e026ae8ebebdc9a27f5d7a6274e1c5c8a2f95e
|
| |
|
|
|
|
|
|
|
|
| |
This reverts commit 826d75fb6dcefe8a6c6d4d54a7d215553945812a.
Breaking build with 4.2
bionic/libc/include/string.h:105:33: error: call to '__memcpy_dest_size_error' declared with attribute error: memcpy called with size bigger than destination
bionic/libc/include/string.h:109:32: error: call to '__memcpy_src_size_error' declared with attribute error: memcpy called with size bigger than source
Change-Id: I777e5f5cd87fb972c833ef6bd81b23cd29878e9b
|
| |\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
https://android.googlesource.com/platform/system/core into mr1
Conflicts:
adb/Android.mk
adb/usb_vendors.c
include/private/android_filesystem_config.h
include/system/audio.h
include/system/camera.h
init/property_service.c
libnetutils/ifc_utils.c
mkbootimg/mkbootimg.c
rootdir/init.rc
Change-Id: Ie42f0c14808e9f8cabd24854bfe15b6667955229
|
| | |\
| | |
| | |
| | |
| | | |
* commit 'd2e826b5192f3b964c893b8230cee1d8bdb84071':
Fixed an unused param warning
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
libnetutils had a single warning. Fixed it to make it clean.
Change-Id: I9297e556657a38dbdd7d1d0ac4bc3574801d5ac9
Author: Edwin Vane <edwin.vane@intel.com>
Reviewed-by: Kevin P Schoedel <kevin.p.schoedel@intel.com>
|
| | | |
| | |
| | |
| | |
| | | |
Signed-off-by: Chris Dearman <chris@mips.com>
Change-Id: Ibc288458baf2f75c5b19a46e4c97ee59521cc9a5
|
| | |\ \ |
|
| | | |/
| | |
| | |
| | |
| | |
| | |
| | | |
Code using ifc_reset_connections api needs to have access to
predefined masks for reset_mask parameter
Change-Id: I90bc5e1b62ae4a88501c8ad4e353c0d93d319579
|
| | |/
| |
| |
| |
| | |
Change-Id: Idd5c8734fafd27c76f61820f223627af4c71a271
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Adding an API to libnetutils to retrieve mtu size of an interface
Made few utility functions from ifc_utils public
Change-Id: Iddec2dcd9f241b146d7f362e2df0724cf740d1f2
(cherry picked from commit 108cded7d96cc347f36b5b78c404c5ebccce13d7)
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix aliasing violtations that caused a need for the
code to be compiled with -fno-strict-aliasing
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
libnetutils: Fix aliasing violations
This allows us to build it with more compiler optimizations
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
libcutils: Fix aliasing violation
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
core: Fix build in ISO C++11 mode
Fix compatibility with ISO C++11 compilers
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
Change-Id: I8f9aa775b5681d4d8c5202a1a1935acb4efa4171
adb: Don't force -O2
Don't force -O2 over -O3 -- the O2 hardcode is there to force
optimizations, not to reduce them...
Change-Id: Ic75eeb767db4926f519580fba8f5f7b8e593df4f
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
|
| |/
|
|
|
|
|
|
|
| |
- Add /data/radio
- Set gateway property after DNS
- Allow radio users to set properties associated with
all rmnet interfaces. Not just rmnet0
Change-Id: Ia60fcb8f90aa73ffd40e839b93356ee50a9e5072
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
| |
Bug: 6344821
Change-Id: Iebce3e1b36175fc88f44e18db647c43b1245f18f
|
| |
|
|
|
| |
Bug: 5449033
Change-Id: Ibcffdcf620ebae1c389446ce8e9d908f11ac039c
|
| |
|
|
|
| |
Bug: 5449033
Change-Id: I1e070511b6a538e9f1c94657356437a457d58882
|
| |
|
|
|
| |
Bug: 5449033
Change-Id: I9244d927f14c750cd359ebffb1fc1c355a755d5a
|
| |\ |
|
| | |
| |
| |
| | |
Change-Id: Ia99b2c10ff6cf8c75c23db49f1e9cf7a043141cc
|
| |/
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Provide a function to add and delete IPv4/IPv6 addresses
using netlink.
- Provide a function that clears all IP addresses on an
interface that can be used by netd.
Also, a couple of cleanups:
- Update the header file to match reality, and include the
header file in the implementation. Also fix a caller that
has an incorrect method signature.
- Fix whitespace in Android.mk.
Change-Id: Ifba9d60cdfffb0b7e5c3b9c6ab328f5f77d259c4
|
| |
|
|
| |
Change-Id: Ib71f3f17d56ba614436bcb18f9100196fd7e7ee6
|
| |
|
|
|
| |
Bug: 5002384
Change-Id: I4ee4f80e2bc2966aa30d1344182d90f30117fbae
|
| |
|
|
| |
Change-Id: Iffe2ca52333df4ef393c5305a5b66582006e4699
|
| |
|
|
|
|
| |
Bug: 5010576
Change-Id: I2fcf31af681d92880e5d31a46d5f6777f7ca1977
|
| |\
| |
| |
| |
| | |
* commit '436deea5bbd43ae402ca8ee5bbc7fed3daaf3fce':
Add reset_mask as parameter to ifc_reset_connections
|
| | |
| |
| |
| |
| |
| |
| |
| | |
The reset_mask allows either IPv4 and or IPv6 connections
of an interface to be reset.
Bug: 4981919
Change-Id: Id2d9ab90e30091d3d0764c66d4b01b73c0edbfcc
|
| | |
| |
| |
| |
| | |
bug:4476009
Change-Id: I93c492eebe24d9744b8ef79378c73301d167f5a3
|
| |\|
| |
| |
| |
| |
| |
| | |
honeycomb-LTE
* commit '61e33b338cbb90c34cb3e07fe55edcc08c6ce3b8':
Add v4/v6 route add/removal support
|
| | |
| |
| |
| | |
Change-Id: I259a3be4fe473dff75336139c9584d2c5ab27b2d
|
| | |
| |
| |
| |
| |
| |
| | |
Pick dhcp changes from master for the renewal fixes
Bug: 3344732
Change-Id: Ie49cd11f74cf89e9edf2d1c788a699ce0996190d
|
| | |
| |
| |
| |
| |
| |
| | |
Some routers can return 0.0.0.0 as gateway address,
use DHCP server as gateway in such instances
Change-Id: I7e8db8e619475efce53ce391f77f2c13c3b7268c
|
| | |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |\|
| |
| |
| |
| |
| |
| | |
into honeycomb-LTE
* commit 'e9fa47ca664577e4ca7ed270f1f72a2d43fb3423':
Kill IPv6 sockets as well as IPv4 sockets.
|
| | |
| |
| |
| | |
Change-Id: Ib9e070e510d1a762295faf4dc673c9a6e8207a8d
|
| |/
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
| |
This pushes prefixLength down as far as we can.
bug:2542681
Change-Id: I94b7cde9d10e97ee2c071d92f25555cff5934f0b
|
| |\ |
|
| | |
| |
| |
| |
| | |
Change-Id: Ic285bbb4b224fc4e62e88e76b8b448edbe814a17
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
| |/
|
|
|
|
|
|
| |
Doesn't do IPv6, but removes v4-specific structures from the framework
(netmask, ints for addrs)
bug:2542681
Change-Id: I1110e6f32d42a472b104835a4298e18b391db0a7
|
| |
|
|
|
| |
Change-Id: I2a914314a027e0e542d45dff0c2e6029e9f40615
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
Change-Id: I1b71de28312a56a3b1d27fcfaf0a7b71d5777e6c
|
| |
|
|
| |
Change-Id: I5f4dc797b353a0f01fa00d38375ec303bf863254
|
| |\
| |
| |
| |
| |
| |
| | |
Merge commit '705ab8db827b0f7f3389463af67d173c8a94fc8a' into gingerbread-plus-aosp
* commit '705ab8db827b0f7f3389463af67d173c8a94fc8a':
Fix sim build - remove unncesessary header.
|
| | |
| |
| |
| | |
Change-Id: Ibeba75848eaf732b7d0c7aecc9e7be8dbd509a1c
|
| |\|
| |
| |
| | |
Change-Id: Ic71ed9c392c5dee4a5a9be184d071eb688741f6f
|
| | |
| |
| |
| |
| |
| |
| | |
Add API to create a route to an IPv4/IPv6 host/gateway through a particular
interface.
Change-Id: I0ab5d2d211e0fc05f65ee6bb202b7f435cccae2a
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- 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
|