Module Name: src Committed By: martin Date: Mon Sep 12 14:29:20 UTC 2022
Modified Files: src/usr.bin/netstat [netbsd-8]: atalk.c bpf.c fast_ipsec.c if.c inet.c inet6.c main.c mbuf.c mroute.c mroute6.c netstat.1 netstat.h pfkey.c pfsync.c route.c unix.c vtw.c Log Message: Pull up the following, requested by msaitoh in ticket #1762: usr.bin/netstat/atalk.c 1.18,1.20-1.21 usr.bin/netstat/bpf.c 1.16 via patch usr.bin/netstat/fast_ipsec.c 1.24 via patch usr.bin/netstat/if.c 1.97-1.99,1.101-1.104 via patch usr.bin/netstat/inet.c 1.111,1.115-1.116 via patch usr.bin/netstat/inet6.c 1.70,1.74-1.75,1.80-1.81 via patch usr.bin/netstat/main.c 1.100,1.102-1.103 usr.bin/netstat/mbuf.c 1.34-1.35 usr.bin/netstat/mroute.c 1.26-1.27 usr.bin/netstat/mroute6.c 1.16 usr.bin/netstat/netstat.h 1.52-1.53 usr.bin/netstat/pfkey.c 1.4-1.5 via patch usr.bin/netstat/pfsync.c 1.4-1.5 via patch usr.bin/netstat/route.c 1.87-1.88 usr.bin/netstat/unix.c 1.36-1.37 usr.bin/netstat/vtw.c 1.11,1.13 - Add names of a few more ICMPv6 messages. Also make the array be explicitly 256 entries long. - sprintf() -> snprintf(), and adjust a buffer size to avoid any potential for overflow. - Add missing {IP,IP6}_STAT_NOIPSEC to netstat. - Don't show any of the completely and utterly undocumented VTW info if the feature isn't enabled. - Print oqdrops correctly. - netstat.1: Add various xrefs present in the body to "See Also". - Limit maximum owner name to appease gcc. - KNF. Style fixes. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.16.8.1 src/usr.bin/netstat/atalk.c cvs rdiff -u -r1.11 -r1.11.22.1 src/usr.bin/netstat/bpf.c cvs rdiff -u -r1.21.4.1 -r1.21.4.2 src/usr.bin/netstat/fast_ipsec.c cvs rdiff -u -r1.94.4.1 -r1.94.4.2 src/usr.bin/netstat/if.c cvs rdiff -u -r1.107 -r1.107.6.1 src/usr.bin/netstat/inet.c cvs rdiff -u -r1.69 -r1.69.6.1 src/usr.bin/netstat/inet6.c cvs rdiff -u -r1.99 -r1.99.8.1 src/usr.bin/netstat/main.c cvs rdiff -u -r1.33 -r1.33.8.1 src/usr.bin/netstat/mbuf.c cvs rdiff -u -r1.25 -r1.25.8.1 src/usr.bin/netstat/mroute.c cvs rdiff -u -r1.15 -r1.15.8.1 src/usr.bin/netstat/mroute6.c cvs rdiff -u -r1.73 -r1.73.8.1 src/usr.bin/netstat/netstat.1 cvs rdiff -u -r1.51 -r1.51.8.1 src/usr.bin/netstat/netstat.h cvs rdiff -u -r1.1 -r1.1.34.1 src/usr.bin/netstat/pfkey.c cvs rdiff -u -r1.1 -r1.1.38.1 src/usr.bin/netstat/pfsync.c cvs rdiff -u -r1.85 -r1.85.8.1 src/usr.bin/netstat/route.c cvs rdiff -u -r1.35 -r1.35.6.1 src/usr.bin/netstat/unix.c cvs rdiff -u -r1.9 -r1.9.8.1 src/usr.bin/netstat/vtw.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.