Module Name: src Committed By: pooka Date: Mon Dec 13 21:15:31 UTC 2010
Modified Files: src/distrib/sets/lists/base: mi src/distrib/sets/lists/comp: mi src/usr.bin/netstat: Makefile bpf.c if.c inet.c inet6.c main.c mbuf.c show.c unix.c Added Files: src/usr.bin/netstat: netstat_hostops.c netstat_rumpops.c prog_ops.h Log Message: Add netstat rump client. For now, it always sets -X, i.e. will use only sysctl and no kvm (implementing /dev/mem for a rump kernel would probably not be hard, but still a non-zero effort). Note: since there is absolutely no network activity in a fresh rump kernel, rump.netstat usually displays exactly nothing when invoked without parameters. Arguments like -r, -bi, -p icmp etc. produce more stuff. To generate a diff of this commit: cvs rdiff -u -r1.903 -r1.904 src/distrib/sets/lists/base/mi cvs rdiff -u -r1.1540 -r1.1541 src/distrib/sets/lists/comp/mi cvs rdiff -u -r1.29 -r1.30 src/usr.bin/netstat/Makefile \ src/usr.bin/netstat/mbuf.c cvs rdiff -u -r1.9 -r1.10 src/usr.bin/netstat/bpf.c cvs rdiff -u -r1.69 -r1.70 src/usr.bin/netstat/if.c cvs rdiff -u -r1.92 -r1.93 src/usr.bin/netstat/inet.c cvs rdiff -u -r1.52 -r1.53 src/usr.bin/netstat/inet6.c cvs rdiff -u -r1.76 -r1.77 src/usr.bin/netstat/main.c cvs rdiff -u -r0 -r1.1 src/usr.bin/netstat/netstat_hostops.c \ src/usr.bin/netstat/netstat_rumpops.c src/usr.bin/netstat/prog_ops.h cvs rdiff -u -r1.10 -r1.11 src/usr.bin/netstat/show.c cvs rdiff -u -r1.30 -r1.31 src/usr.bin/netstat/unix.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.