History log of /system/core/libnetutils/ifc_utils.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
30f991f251940be3ed11566fb71139852286f68a 10-Jan-2017 Mark Salyzyn <salyzyn@google.com> liblog: use log/log.h when utilizing ALOG macros

Test: compile
Bug: 30465923
Change-Id: Id6d76510819ebd88c3f5003d00d73a0dbe85e943
/system/core/libnetutils/ifc_utils.c
66ce3e08c5632a20ea66bde6dd76397041edf034 28-Sep-2016 Mark Salyzyn <salyzyn@google.com> system/core Replace cutils/log.h with android/log.h

Should use android/log.h instead of cutils/log.h as a good example
to all others. Adjust header order to comply with Android Coding
standards.

Test: Compile
Bug: 26552300
Bug: 31289077
Change-Id: I2c9cbbbd64d8dccf2d44356361d9742e4a9b9031
/system/core/libnetutils/ifc_utils.c
91bc2c9084cd02b8e7ae64696e12ee89ec597568 31-Mar-2016 Erik Kline <ek@google.com> Merge "Set IFA_BROADCAST during IPv4 RTM_NEWADDRs" am: d709914
am: 012d35b

* commit '012d35b7f046f42d97dadd831c8201ecda2daa55':
Set IFA_BROADCAST during IPv4 RTM_NEWADDRs

Change-Id: Ib4ac0486a06551dce8d79fb1e738e9c567328610
06cb8e92034274c6f803e97a17cd07fedf99bde5 30-Mar-2016 Erik Kline <ek@google.com> Set IFA_BROADCAST during IPv4 RTM_NEWADDRs

Bug: 27194345
Bug: 27732412
Bug: 27786864
Change-Id: I5a5b41422bbaab4582c268c213b788f61cb0e169
/system/core/libnetutils/ifc_utils.c
34965eb1186041639a3e17057d7414c408ddd559 12-Jan-2016 Elliott Hughes <enh@google.com> Merge "libnetutils: Check socket() return value" am: e4b332c7e4
am: be6d330c18

* commit 'be6d330c18f861fe10c0b238f74cecb2c9783205':
libnetutils: Check socket() return value
292997420c6fc385f31e568620476b0b71de97be 29-Dec-2015 Bjorn Andersson <bjorn.andersson@sonymobile.com> libnetutils: Check socket() return value

Add a check for socket() errors and make sure to preserve errno over the
subsequent close() calls.

Change-Id: If52d76cd3cb45044eaaf7fea9bfd4471dc66a078
/system/core/libnetutils/ifc_utils.c
cebcd450c6ca3de5106ef3d817d5b760f5d57fbe 01-Oct-2015 Dmitry Shmidt <dimitrysh@google.com> libnetutils: Add synchronization per socket full operation

Take and release mutex between ifc_init() and ifc_close()
calls to prevent global ifc_ctl_sock override.

Bug: 22307208

Change-Id: Iacffd329ce2a51defa550c7e33277332045a7b9b
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
/system/core/libnetutils/ifc_utils.c
9b828adfad09200f3f1bd3602187fe3dd5335774 30-Jul-2015 Elliott Hughes <enh@google.com> Use __ANDROID__ instead of HAVE_ANDROID_OS.

Change-Id: I9967f3fd758c2a5b40be5b60ae72be7e2fb75136
/system/core/libnetutils/ifc_utils.c
6d3cddb2e245738f0b78a758a83ebf2608865394 26-Feb-2015 Nick Kralevich <nnk@google.com> More SOCK_CLOEXEC

Change-Id: I3e18f34d08a6443aaf55d7c91c27867840ac1773
/system/core/libnetutils/ifc_utils.c
c463025a19aff3f9f92cffa3de6462316e8407a7 03-Feb-2015 Elliott Hughes <enh@google.com> Revert "Remove netcfg's unused options."

This reverts commit f8e83054cb8a8b13ee84a4aeeaa0a2fd8debca81.

Change-Id: Iede772f96ff9008277df433dcbb5f6603de65283
/system/core/libnetutils/ifc_utils.c
f8e83054cb8a8b13ee84a4aeeaa0a2fd8debca81 02-Feb-2015 Elliott Hughes <enh@google.com> Remove netcfg's unused options.

Only "netcfg" for a list of interfaces and "netcfg <interface> dhcp" still
seem to be used.

Change-Id: Iaf499c06b09ffe5e0925339b9cd6e502f3234a86
/system/core/libnetutils/ifc_utils.c
a5d5d8477357078a636c7e0d1e80c128cfd25262 24-Nov-2014 Andreas Gampe <agampe@google.com> Libnetutils: Remove unused functions & variables

For build-system CFLAGS clean-up, remove unused functions and
variables.

Change-Id: I40a78d5a532dc32b53beb1cfc1b7645bab8add16
/system/core/libnetutils/ifc_utils.c
17622d09d5ba54ae3c8b11644c6d7556bdc6644c 09-Sep-2014 Sreeram Ramachandran <sreeram@google.com> Support resetting connections tied to any nonexistent address.

Bug: 15414453
Change-Id: Ibf1f052e12b88838a328148e25817a96f10d50f5
/system/core/libnetutils/ifc_utils.c
e5ab3e3a4c23077ede0515320c5585a99b236671 23-Jul-2014 Sreeram Ramachandran <sreeram@google.com> Add a comment to not delete seemingly unused code.

Change-Id: I5b9d23eea7e850ab5a1f3a4e6c4f8ecdc3844864
/system/core/libnetutils/ifc_utils.c
eec232603d314e486888e5a0d2dd8d507c266be7 23-Jul-2014 Sreeram Ramachandran <sreeram@google.com> Put back some deleted code.

http://ag/507249 removed a bunch of supposedly dead (unused) code. It turns out
at least ifc_disable() is being used in some protected partner branches. Put
back that as well as ifc_enable() to keep it symmetric.

Bug: 15413389
Change-Id: Ibec83a66e5d9079876ccf36d250b95b7c0294c03
/system/core/libnetutils/ifc_utils.c
a723689eca75c71fd5260d918c18054a64e8d701 20-Jul-2014 Sreeram Ramachandran <sreeram@google.com> Cleanup: Delete dead code.

Bug: 15413389
Change-Id: I315468832ef18ffc84174e54774ab63b86d284dc
/system/core/libnetutils/ifc_utils.c
2d640c2640b957f704d86fcaea6e5a4af54dde2c 12-Nov-2013 Elliott Hughes <enh@google.com> Fix libnetutils to build with clean uapi headers.

(And old ones too.)

Bug: 11559337
Change-Id: Ie61218055bbe07655a9d53c539aa47b85098e42c
/system/core/libnetutils/ifc_utils.c
6ee3ecc03a7cf9118e6a0b2577f15c76244bc408 18-Jun-2011 Chris Dearman <chris@mips.com> Decode DHCP netmask option correctly

Signed-off-by: Chris Dearman <chris@mips.com>
Change-Id: Ibc288458baf2f75c5b19a46e4c97ee59521cc9a5
/system/core/libnetutils/ifc_utils.c
7c3d1c291ab5f9efb2efcfd5def1baeea1255917 08-Nov-2011 Alex Yakavenka <ayakav@codeaurora.org> Export flags needed for ifc_reset_connections API in netutils

Code using ifc_reset_connections api needs to have access to
predefined masks for reset_mask parameter

Change-Id: I90bc5e1b62ae4a88501c8ad4e353c0d93d319579
/system/core/libnetutils/ifc_utils.c
01dda204cd28fe181691b4a44a51be7e5666d0c8 06-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE

Bug: 5449033
Change-Id: Ibcffdcf620ebae1c389446ce8e9d908f11ac039c
/system/core/libnetutils/ifc_utils.c
ae8b56c0d17a97aff0b98e6405c7cc9811bbbc3d 05-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGE

Bug: 5449033
Change-Id: I1e070511b6a538e9f1c94657356437a457d58882
/system/core/libnetutils/ifc_utils.c
8d66c49258ac4f59bd67c23c9c914cca81f85b01 20-Dec-2011 Steve Block <steveblock@google.com> Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE

Bug: 5449033
Change-Id: I9244d927f14c750cd359ebffb1fc1c355a755d5a
/system/core/libnetutils/ifc_utils.c
47ddb515b7d59b29d83628c1b4e48642dc0e49ba 26-Sep-2011 Lorenzo Colitti <lorenzo@google.com> Support adding, deleting, and clearing IPv6 addrs.

- 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
/system/core/libnetutils/ifc_utils.c
0c613613d757c544d6ec7e5678f49a631a99d72a 21-Sep-2011 Wink Saville <wink@google.com> Reduce connectivity logging.

Change-Id: Ib71f3f17d56ba614436bcb18f9100196fd7e7ee6
/system/core/libnetutils/ifc_utils.c
7da24861ea933db3bd27509f91717b5c63fd6dde 08-Jul-2011 Wink Saville <wink@google.com> am 436deea5: am 979203ee: Add reset_mask as parameter to ifc_reset_connections

* commit '436deea5bbd43ae402ca8ee5bbc7fed3daaf3fce':
Add reset_mask as parameter to ifc_reset_connections
979203ee34084327bf4f20ad1f878450de94826e 07-Jul-2011 Wink Saville <wink@google.com> 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
/system/core/libnetutils/ifc_utils.c
b6b48ae47a44cb231d0a16ca618ac28b0024c11c 25-May-2011 Robert Greenwalt <rgreenwalt@google.com> Revert some of change 109925 to fix connectivity

bug:4476009
Change-Id: I93c492eebe24d9744b8ef79378c73301d167f5a3
/system/core/libnetutils/ifc_utils.c
ab86504f5820945f6ac9fcccdbda06efa73d15ca 19-May-2011 Robert Greenwalt <rgreenwalt@google.com> am 61e33b33: am aded02cb: Merge "Add v4/v6 route add/removal support" into honeycomb-LTE

* commit '61e33b338cbb90c34cb3e07fe55edcc08c6ce3b8':
Add v4/v6 route add/removal support
021d0a2e7cd7c65036d425b7bef775bbc1733864 10-May-2011 Robert Greenwalt <rgreenwalt@google.com> Add v4/v6 route add/removal support

Change-Id: I259a3be4fe473dff75336139c9584d2c5ab27b2d
/system/core/libnetutils/ifc_utils.c
6f49d5f266dffee103a3af07a7f6266f405d2924 12-Apr-2011 Jake Hamby <jhamby@google.com> Add missing function required to load Crespo RIL library.

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
/system/core/libnetutils/ifc_utils.c
6cf73eadc752b619bc7c38d0d1277891eccbf81d 17-Mar-2011 Lorenzo Colitti <lorenzo@google.com> Kill IPv6 sockets as well as IPv4 sockets.

Change-Id: Ib9e070e510d1a762295faf4dc673c9a6e8207a8d
/system/core/libnetutils/ifc_utils.c
09dd819d2794caf1a17cd03592c100755fb25577 02-Feb-2011 Robert Greenwalt <rgreenwalt@google.com> Stop using netmask in the framework

This pushes prefixLength down as far as we can.

bug:2542681
Change-Id: I94b7cde9d10e97ee2c071d92f25555cff5934f0b
/system/core/libnetutils/ifc_utils.c
9092b91ccaa4c6069036f72163e6473a5ca408c4 27-Jan-2011 Dmitry Shmidt <dimitrysh@google.com> libnetutils: Clean all IPs assigned to the interface on cleaning

Change-Id: Ic285bbb4b224fc4e62e88e76b8b448edbe814a17
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
/system/core/libnetutils/ifc_utils.c
7d05a80da8c210d11df657bcec8b19a6bf1e8a16 25-Jan-2011 Dmitry Shmidt <dimitrysh@google.com> libnetutils: Fix warning

Change-Id: I2a914314a027e0e542d45dff0c2e6029e9f40615
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
/system/core/libnetutils/ifc_utils.c
36f93f01201bbff4a411c73adfbaf08bd93b1ad2 16-Dec-2010 Stan Chesnutt <chesnutt@google.com> fix undefined behavior with certain left-shift count values

Change-Id: I1b71de28312a56a3b1d27fcfaf0a7b71d5777e6c
/system/core/libnetutils/ifc_utils.c
705ab8db827b0f7f3389463af67d173c8a94fc8a 25-Aug-2010 Robert Greenwalt <robdroid@android.com> Fix sim build - remove unncesessary header.

Change-Id: Ibeba75848eaf732b7d0c7aecc9e7be8dbd509a1c
/system/core/libnetutils/ifc_utils.c
8984bb9691f8d3e2665f7aae0896b9bd2ade0c19 10-Aug-2010 Banavathu, Srinivas Naik <snb@codeaurora.org> Add API to add a route to IPv4/IPv6 host/gateway.

Add API to create a route to an IPv4/IPv6 host/gateway through a particular
interface.

Change-Id: I0ab5d2d211e0fc05f65ee6bb202b7f435cccae2a
/system/core/libnetutils/ifc_utils.c
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/ifc_utils.c
feb63e9e6f2d7aed5f0f21347992218ed8acb9f4 10-Jul-2009 Mike Lockwood <lockwood@android.com> libnetutils: Add ifc_enable(), for enabling a network interface.

Signed-off-by: Mike Lockwood <lockwood@android.com>
/system/core/libnetutils/ifc_utils.c
dd7bc3319deb2b77c5d07a51b7d6cd7e11b5beb0 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/system/core/libnetutils/ifc_utils.c
e54eebbf1a908d65ee8cf80bab62821c05666d70 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/system/core/libnetutils/ifc_utils.c
4f6e8d7a00cbeda1e70cc15be9c4af1018bdad53 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/system/core/libnetutils/ifc_utils.c