Support reading /proc/net/tcp[6].

Support the two different TCP socket formats, and move the
parsing code to net_test.py so it can be used for other things
apart from ping.

Change-Id: Iaa10cc323d11834b6ac9429d42708f6cdf89f404
2 files changed
tree: f9ec91ed6d869aed1ed6fc69c51c14f2165b8e6b
  1. net/