summaryrefslogtreecommitdiffstats
path: root/libnetutils/ifc_utils.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix libnetutils to build with clean uapi headers.Elliott Hughes2013-11-121-0/+5
| | | | | | | (And old ones too.) Bug: 11559337 Change-Id: Ie61218055bbe07655a9d53c539aa47b85098e42c
* Decode DHCP netmask option correctlyChris Dearman2012-08-081-3/+2
| | | | | Signed-off-by: Chris Dearman <chris@mips.com> Change-Id: Ibc288458baf2f75c5b19a46e4c97ee59521cc9a5
* Export flags needed for ifc_reset_connections API in netutilsAlex Yakavenka2012-06-211-4/+0
| | | | | | | Code using ifc_reset_connections api needs to have access to predefined masks for reset_mask parameter Change-Id: I90bc5e1b62ae4a88501c8ad4e353c0d93d319579
* Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block2012-01-081-1/+1
| | | | | Bug: 5449033 Change-Id: Ibcffdcf620ebae1c389446ce8e9d908f11ac039c
* Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGESteve Block2012-01-051-1/+1
| | | | | Bug: 5449033 Change-Id: I1e070511b6a538e9f1c94657356437a457d58882
* Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGESteve Block2012-01-031-4/+4
| | | | | Bug: 5449033 Change-Id: I9244d927f14c750cd359ebffb1fc1c355a755d5a
* Support adding, deleting, and clearing IPv6 addrs.Lorenzo Colitti2011-09-281-3/+209
| | | | | | | | | | | | | | | | - 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
* Reduce connectivity logging.Wink Saville2011-09-201-2/+2
| | | | Change-Id: Ib71f3f17d56ba614436bcb18f9100196fd7e7ee6
* am 436deea5: am 979203ee: Add reset_mask as parameter to ifc_reset_connectionsWink Saville2011-07-081-22/+32
|\ | | | | | | | | * commit '436deea5bbd43ae402ca8ee5bbc7fed3daaf3fce': Add reset_mask as parameter to ifc_reset_connections
| * Add reset_mask as parameter to ifc_reset_connectionsWink Saville2011-07-071-22/+32
| | | | | | | | | | | | | | | | The reset_mask allows either IPv4 and or IPv6 connections of an interface to be reset. Bug: 4981919 Change-Id: Id2d9ab90e30091d3d0764c66d4b01b73c0edbfcc
* | Revert some of change 109925 to fix connectivityRobert Greenwalt2011-05-251-9/+126
| | | | | | | | | | bug:4476009 Change-Id: I93c492eebe24d9744b8ef79378c73301d167f5a3
* | am 61e33b33: am aded02cb: Merge "Add v4/v6 route add/removal support" into ↵Robert Greenwalt2011-05-191-83/+29
|\ \ | |/ | | | | | | | | | | honeycomb-LTE * commit '61e33b338cbb90c34cb3e07fe55edcc08c6ce3b8': Add v4/v6 route add/removal support
| * Add v4/v6 route add/removal supportRobert Greenwalt2011-05-151-83/+29
| | | | | | | | Change-Id: I259a3be4fe473dff75336139c9584d2c5ab27b2d
* | 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
* Kill IPv6 sockets as well as IPv4 sockets.Lorenzo Colitti2011-03-171-1/+18
| | | | Change-Id: Ib9e070e510d1a762295faf4dc673c9a6e8207a8d
* Stop using netmask in the frameworkRobert Greenwalt2011-02-021-24/+40
| | | | | | | This pushes prefixLength down as far as we can. bug:2542681 Change-Id: I94b7cde9d10e97ee2c071d92f25555cff5934f0b
* 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>
* libnetutils: Fix warningDmitry Shmidt2011-01-241-5/+6
| | | | | Change-Id: I2a914314a027e0e542d45dff0c2e6029e9f40615 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* fix undefined behavior with certain left-shift count valuesStan Chesnutt2010-12-161-0/+5
| | | | Change-Id: I1b71de28312a56a3b1d27fcfaf0a7b71d5777e6c
* Fix sim build - remove unncesessary header.Robert Greenwalt2010-08-251-1/+0
| | | | Change-Id: Ibeba75848eaf732b7d0c7aecc9e7be8dbd509a1c
* 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-06-091-4/+17
| | | | | | | | | | | | - 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
* libnetutils: Add ifc_enable(), for enabling a network interface.Mike Lockwood2009-07-101-0/+10
| | | | Signed-off-by: Mike Lockwood <lockwood@android.com>
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+428
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-428/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+428