]> Zhao Yanbai Git Server - minix.git/commit
Import NetBSD netstat(1) 58/3458/1
authorDavid van Moolenbroek <david@minix3.org>
Wed, 15 Feb 2017 12:35:47 +0000 (12:35 +0000)
committerDavid van Moolenbroek <david@minix3.org>
Thu, 9 Mar 2017 23:40:14 +0000 (23:40 +0000)
commit66dfcc8533c70ea68511edc95c03189c8eb0a7a2
treef1d901d7ee37b17a22c3c6577510896bf1c06316
parent483e5955576fddc25239f5c789016a05fd002f93
Import NetBSD netstat(1)

The port forces the use of sysctl(7), as obtaining information through
KVM is not and will never be viable.  The sysctl mode of netstat(1) is
currently somewhat limited and buggy, though.  We fix a few minimal
issues, but more improvements will have to come from NetBSD reimports.

Some of netstat(1)'s views are currently not supported by the
operating system.  Later improvements on this point will not require
changes to the imported code, though.

Change-Id: If74a6811f0fc81bd1ecc31010a28379b14b2a0eb
26 files changed:
distrib/sets/lists/minix-base/mi
distrib/sets/lists/minix-debug/mi
distrib/sets/lists/minix-man/mi
usr.bin/Makefile
usr.bin/netstat/Makefile [new file with mode: 0644]
usr.bin/netstat/atalk.c [new file with mode: 0644]
usr.bin/netstat/bpf.c [new file with mode: 0644]
usr.bin/netstat/fast_ipsec.c [new file with mode: 0644]
usr.bin/netstat/if.c [new file with mode: 0644]
usr.bin/netstat/inet.c [new file with mode: 0644]
usr.bin/netstat/inet6.c [new file with mode: 0644]
usr.bin/netstat/main.c [new file with mode: 0644]
usr.bin/netstat/mbuf.c [new file with mode: 0644]
usr.bin/netstat/mroute.c [new file with mode: 0644]
usr.bin/netstat/mroute6.c [new file with mode: 0644]
usr.bin/netstat/netstat.1 [new file with mode: 0644]
usr.bin/netstat/netstat.h [new file with mode: 0644]
usr.bin/netstat/netstat_hostops.c [new file with mode: 0644]
usr.bin/netstat/netstat_rumpops.c [new file with mode: 0644]
usr.bin/netstat/pfkey.c [new file with mode: 0644]
usr.bin/netstat/pfsync.c [new file with mode: 0644]
usr.bin/netstat/prog_ops.h [new file with mode: 0644]
usr.bin/netstat/route.c [new file with mode: 0644]
usr.bin/netstat/unix.c [new file with mode: 0644]
usr.bin/netstat/vtw.c [new file with mode: 0644]
usr.bin/netstat/vtw.h [new file with mode: 0644]