From owner-cvs-all Fri Aug 10 2: 7:26 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2BC3E37B406; Fri, 10 Aug 2001 02:07:10 -0700 (PDT) (envelope-from ru@FreeBSD.org) Received: (from ru@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f7A97Ao57242; Fri, 10 Aug 2001 02:07:10 -0700 (PDT) (envelope-from ru) Message-Id: <200108100907.f7A97Ao57242@freefall.freebsd.org> From: Ruslan Ermilov Date: Fri, 10 Aug 2001 02:07:09 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/netstat Makefile atalk.c if.c inet.c inet6.c ipsec.c ipx.c iso.c main.c mbuf.c mroute.c mroute6.c netgraph.c netstat.1 netstat.h ns.c route.c unix.c X-FreeBSD-CVS-Branch: RELENG_4 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ru 2001/08/10 02:07:09 PDT Modified files: (Branch: RELENG_4) usr.bin/netstat Makefile atalk.c if.c inet.c inet6.c ipsec.c ipx.c iso.c main.c mbuf.c mroute.c mroute6.c netgraph.c netstat.1 netstat.h ns.c route.c unix.c Log: MFC all recent bugfixes and features. This also includes Assar's "K&R support removal" and "fixage of almost all warnings". Approved by: re Following is the list of original changes in chronological order. > ru 2001/06/08 08:44:18 PDT > > Modified files: > usr.bin/netstat route.c > Log: > Always print at least 2 bytes for IN_CLASSB_NET networks. > Always print at least 3 bytes for IN_CLASSC_NET networks. > > The standard 193.0.0 class C network for example, will now > be displayed as "193.0.0" as opposed to the confusing 193. > > PR: bin/21546 > MFC after: 1 week > > Revision Changes Path > 1.49 +30 -11 src/usr.bin/netstat/route.c > ru 2001/06/12 07:00:40 PDT > > Modified files: > usr.bin/netstat atalk.c > Log: > Fixed printing of netatalk statistics WRT the -s flag. > > PR: bin/6994 > Submitted by: Zahemszky Gabor > MFC after: 1 week > > Revision Changes Path > 1.14 +3 -3 src/usr.bin/netstat/atalk.c > ru 2001/06/14 07:15:44 PDT > > Modified files: > usr.bin/netstat main.c > Log: > Really delete the -h option. > > CSRG revision 5.33 deleted -h option from getopt(), but not > from usage(). Revision 8.3 restored it in getopt(). > > Revision Changes Path > 1.41 +3 -3 src/usr.bin/netstat/main.c > ru 2001/06/14 07:21:12 PDT > > Modified files: > usr.bin/netstat netstat.1 > Log: > Removed -h option. > > Revision Changes Path > 1.30 +2 -6 src/usr.bin/netstat/netstat.1 > ru 2001/06/14 08:45:10 PDT > > Modified files: > usr.bin/netstat main.c mbuf.c netstat.1 netstat.h > Log: > Restore -M -N support for -m. > > PR: 20808 > > Revision Changes Path > 1.42 +20 -4 src/usr.bin/netstat/main.c > 1.21 +46 -29 src/usr.bin/netstat/mbuf.c > 1.31 +6 -2 src/usr.bin/netstat/netstat.1 > 1.22 +2 -2 src/usr.bin/netstat/netstat.h > ru 2001/06/15 11:25:42 PDT > > Modified files: > usr.bin/netstat if.c main.c netstat.1 netstat.h > Log: > First round of netstat(1) cleanup. > > Removed the ambiguity in -s, -f, -p and -i flags handling. > Basically, there are four displays (except others): > > 1. PCB display. > 2. Protocol statistics display. (-s) > 3. Interface statistics display. (-i) > 4. Per-interface protocol statistics display. (-i -s) > > All of the above except 3) can be limited to a particular > protocol family (-f) or a single protocol (-p). > > Some examples: > > 1. netstat -f inet -- show PCBs of all INET protocols > 2. netstat -p udp -- show PCB of UDP protocol only (NEW!) > 3. netstat -s -- show protocol statistics for all families > 4. netstat -s -f inet -- show INET protocols statistics > 5. netstat -s -p icmp -- show ICMP protocol statistics > > This is a work in progress. Manpage has been fixed slightly, > but is still incomplete. > > Revision Changes Path > 1.42 +2 -2 src/usr.bin/netstat/if.c > 1.45 +22 -27 src/usr.bin/netstat/main.c > 1.33 +31 -38 src/usr.bin/netstat/netstat.1 > 1.25 +1 -2 src/usr.bin/netstat/netstat.h > imp 2001/06/15 13:47:01 PDT > > Modified files: > usr.bin/netstat atalk.c > Log: > Print symbolic names for appletalk ports. Also some very minor style 9 issues. > > PR: bin/4157 > Submitted by: Denny Gentry > > Revision Changes Path > 1.16 +16 -3 src/usr.bin/netstat/atalk.c > ru 2001/06/23 02:18:57 PDT > > Modified files: > usr.bin/netstat netstat.1 route.c > Log: > Honor -s -s (don't show zero stats) with -r, untangle SYNOPSIS further. > (usage() still is not synchronized with SYNOPSIS, intentionally.) > > Revision Changes Path > 1.34 +16 -3 src/usr.bin/netstat/netstat.1 > 1.59 +11 -11 src/usr.bin/netstat/route.c > ru 2001/06/29 01:37:13 PDT > > Modified files: > usr.bin/netstat route.c > Log: > Fixed bogon in revision 1.37. Don't bogusly print a radix node's > duped key marker (``=>'') for routes with non-positive rmx_expire > metric, such as ethernet interface routes. > > MFC after: 1 week > > Revision Changes Path > 1.60 +4 -9 src/usr.bin/netstat/route.c > ru 2001/06/29 02:08:25 PDT > > Modified files: > usr.bin/netstat main.c netstat.h route.c > Log: > Make `rttrash' variable (#routes not in table but not freed) visible > through ``netstat -rs''. > > Revision Changes Path > 1.52 +4 -2 src/usr.bin/netstat/main.c > 1.31 +2 -2 src/usr.bin/netstat/netstat.h > 1.61 +14 -4 src/usr.bin/netstat/route.c Revision Changes Path 1.14.2.3 +2 -2 src/usr.bin/netstat/Makefile 1.13.2.1 +22 -14 src/usr.bin/netstat/atalk.c 1.32.2.8 +12 -21 src/usr.bin/netstat/if.c 1.37.2.4 +16 -33 src/usr.bin/netstat/inet.c 1.3.2.9 +11 -26 src/usr.bin/netstat/inet6.c 1.1.2.3 +17 -24 src/usr.bin/netstat/ipsec.c 1.13.2.1 +8 -18 src/usr.bin/netstat/ipx.c 1.4.2.1 +19 -46 src/usr.bin/netstat/iso.c 1.34.2.7 +60 -52 src/usr.bin/netstat/main.c 1.17.2.3 +45 -29 src/usr.bin/netstat/mbuf.c 1.11.2.2 +3 -5 src/usr.bin/netstat/mroute.c 1.1.2.5 +3 -7 src/usr.bin/netstat/mroute6.c 1.3.2.2 +2 -2 src/usr.bin/netstat/netgraph.c 1.22.2.7 +46 -40 src/usr.bin/netstat/netstat.1 1.16.2.4 +71 -72 src/usr.bin/netstat/netstat.h 1.1.1.1.14.1 +12 -18 src/usr.bin/netstat/ns.c 1.41.2.8 +88 -94 src/usr.bin/netstat/route.c 1.12.2.2 +4 -6 src/usr.bin/netstat/unix.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message