replicant-frameworks_native/cmds
Lorenzo Colitti d4c3d38957 Improve network connectivity dumping.
1. Explicitly dump IP addresses.

   Currently, some IP addresses are dumped using netcfg, but that
   only dumps the first IPv4 address on each interface. Instead,
   call ip -4 addr and ip -6 addr explicitly to dump all IPv4 and
   IPv6 addresses on the system.

2. Disable dumping /proc/net/{ipv6,}route, because:

 - We already dump all IPv4 and IPv6 routes in the tables that
   we use.
 - /proc/net/route is confusing because it only includes routes
   in the main table, which are all but unused. It's also in
   unreadable host-byte-order hex.
 - /proc/net/ipv6_route is confusing because it includes routes
   from all tables but does not say what table they are in.

3. Instead of dumping the contents of /proc/net/arp , use
   "ip -4 neigh show" and "ip -6 neigh show" to dump the
   neighbour caches for both IPv4 and IPv6.

Bug: 16663736
Change-Id: Id3e509b877ab7b00eb2399b6a9868b12245da2f0
2014-07-31 01:56:12 +00:00
..
atrace am e77cb931: am 259c2508: am 03e2f8fa: Merge "Modified atrace.cpp to recognize ATRACE_TAG_BIONIC." 2014-05-29 01:08:06 +00:00
bugreport releax wait timeout on start of dumpstate service 2014-01-15 15:58:54 -08:00
dumpstate Improve network connectivity dumping. 2014-07-31 01:56:12 +00:00
dumpsys add dumpsys -l to list available services 2013-06-13 16:32:26 -07:00
flatland GLConsumer: Stop using default constructor params 2014-06-24 13:09:19 -07:00
installd Fix implicit declaration of function 'prctl' in installd. 2014-07-18 17:30:32 -07:00
ip-up-vpn Add liblog 2013-04-09 21:55:39 -07:00
rawbu Add a note about emulated sdcard in rawbu usage dump 2013-06-14 10:43:39 -07:00
service libutils clean-up 2013-05-07 18:28:11 -07:00
servicemanager Add MAC for remaining service_manager functionality. 2014-07-15 10:11:33 -07:00