aboutsummaryrefslogtreecommitdiffstats
path: root/netcfg
Commit message (Collapse)AuthorAgeFilesLines
* Support adding, deleting, and clearing IPv6 addrs.Lorenzo Colitti2011-09-281-1/+2
| | | | | | | | | | | | | | | | - 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
* update netcfg to use prefixLength not netmaskRobert Greenwalt2011-02-151-4/+4
| | | | Change-Id: I353906d220382a1f5d9aad689e3927fd3dbc91d2
* netcfg: Add MAC address to interface dumpDmitry Shmidt2011-01-241-5/+15
| | | | | Change-Id: I52b3336a66224c9ae19a4c80cc706890742d4130 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* - creates proper ifc.h and dhcp.h headers for libnetutilsSzymon Jakubczak2010-08-251-17/+19
| | | | | | | | | | | | - 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-181-19/+17
| | | | This reverts commit c88e09cb98fb3690c3cf49f5a825532e0d9bf300.
* - creates proper ifc.h and dhcp.h headers for libnetutilsSzymon Jakubczak2010-06-091-17/+19
| | | | | | | | | | | | - 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
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-034-0/+381
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-034-381/+0
|
* Initial ContributionThe Android Open Source Project2008-10-214-0/+381