summaryrefslogtreecommitdiffstats
path: root/include/netutils
Commit message (Collapse)AuthorAgeFilesLines
* Support adding, deleting, and clearing IPv6 addrs.Lorenzo Colitti2011-09-281-5/+10
| | | | | | | | | | | | | | | | - 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
* Add reset_mask as parameter to ifc_reset_connectionsWink Saville2011-07-071-1/+1
| | | | | | | | The reset_mask allows either IPv4 and or IPv6 connections of an interface to be reset. Bug: 4981919 Change-Id: Id2d9ab90e30091d3d0764c66d4b01b73c0edbfcc
* Stop using netmask in the frameworkRobert Greenwalt2011-02-021-2/+3
| | | | | | | 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/+1
|\
| * libnetutils: Clean all IPs assigned to the interface on cleaningDmitry Shmidt2011-01-271-0/+1
| | | | | | | | | | Change-Id: Ic285bbb4b224fc4e62e88e76b8b448edbe814a17 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* | Change our dhcp interface to be IPv6 compat.Robert Greenwalt2011-01-251-6/+6
|/ | | | | | | | Doesn't do IPv6, but removes v4-specific structures from the framework (netmask, ints for addrs) bug:2542681 Change-Id: I1110e6f32d42a472b104835a4298e18b391db0a7
* Add API to add a route to IPv4/IPv6 host/gateway.Banavathu, Srinivas Naik2010-08-171-0/+5
| | | | | | | 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-092-0/+99
- 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