12 Commits

Author SHA1 Message Date
Joel Sherrill
af0a8ead1a netstat/kvm: Disable debug prints 2012-10-25 09:03:28 -05:00
Joel Sherrill
e0b40b0aa2 netstat/netstat.h: Add macro so rt_tables is in private namespace
Otherwise this conflicts with the rt_tables in the kernel and
kvm can't work.
2012-10-25 09:02:38 -05:00
Joel Sherrill
5f600ddbed netstat: Enable use of kvm again
The code committed has some debug information enabled. It ends with
an odd reference to address 0x1.
2012-10-24 15:40:19 -05:00
Joel Sherrill
6f23b75ba2 netstat: Use rtems_clock_get_uptime() instead of BSD specific method 2012-10-23 16:49:17 -05:00
Joel Sherrill
bea701c3a0 netstat: Add macros to assist use of getopt_r() 2012-10-23 16:48:54 -05:00
Joel Sherrill
df900d3a86 Commands: Build with IPV6 enabled 2012-10-23 14:21:44 -05:00
Jennifer Averett
2df6b3148a netstat: Added exit funtionality. 2012-10-23 14:13:08 -05:00
Joel Sherrill
346810af65 netstat/if.c: Use POSIX not BSD signals 2012-10-23 11:13:57 -05:00
Joel Sherrill
0fa7dabe89 route command: Clean up kernal symbol accesses 2012-10-23 11:13:57 -05:00
Joel Sherrill
44ee042822 Add kvm header file - stubbed for RTEMS
This is only used to read dumps with a symbol table. We can use
sysctlbyname().
2012-10-23 11:13:57 -05:00
Joel Sherrill
b6ac989f8a Add netstat command
This adds the netstat command. All but one file is currently enabled.
That file does not currently build.

Also added libmemstat and libutil. libmemstat had a lot of code related
to kvm and kernel memory access disabled. This may or may not be an
issue.
2012-10-17 11:13:36 -05:00
Joel Sherrill
f1710b69d4 netstat: New command - Almost completely compiles
Currently disable in Makefile until all builds. Adding it so
others can assist in debugging issues.
2012-09-07 12:50:18 -05:00