OpenBSD CVS

CVS log for src/usr.bin/netstat/mroute.c


[BACK] Up to [local] / src / usr.bin / netstat

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.26 / (download) - annotate - [select for diffs], Mon Sep 2 12:48:44 2019 UTC (4 years, 8 months ago) by bluhm
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, HEAD
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

The output of netstat -g was mangled.  Fix header line and print
format.
OK mpi@

Revision 1.25 / (download) - annotate - [select for diffs], Thu Feb 12 23:31:12 2015 UTC (9 years, 3 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.24: +3 -1 lines
Diff to previous 1.24 (colored)

Free the buffers used for the sysctl. OK sthen@

Revision 1.24 / (download) - annotate - [select for diffs], Mon Feb 9 12:25:03 2015 UTC (9 years, 3 months ago) by claudio
Branch: MAIN
Changes since 1.23: +42 -85 lines
Diff to previous 1.23 (colored)

Get rid of another KVM reader and convert the multicast output to use
the new sysctls. Looks good deraadt@

Revision 1.23 / (download) - annotate - [select for diffs], Fri Jan 16 06:40:10 2015 UTC (9 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

Replace <sys/param.h> with <limits.h> and other less dirty headers where
possible.  Annotate <sys/param.h> lines with their current reasons.  Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc.  Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution.  These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)

Revision 1.22 / (download) - annotate - [select for diffs], Thu Aug 14 12:34:04 2014 UTC (9 years, 9 months ago) by mpi
Branch: MAIN
Changes since 1.21: +1 -100 lines
Diff to previous 1.21 (colored)

Kill bandwidth monitoring meters.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Jun 23 03:46:17 2014 UTC (9 years, 10 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.20: +4 -4 lines
Diff to previous 1.20 (colored)

The second level of the CTL_NET sysctl is a PF_*, not an AF_*

inconsistent usage in route(8) noted by Gregor Best (gbe (at) ring0.de)

Revision 1.20 / (download) - annotate - [select for diffs], Thu Apr 18 15:44:01 2013 UTC (11 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.19: +9 -9 lines
Diff to previous 1.19 (colored)

improve time_t handling here, too

Revision 1.19 / (download) - annotate - [select for diffs], Mon Jul 13 19:13:41 2009 UTC (14 years, 10 months ago) by michele
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

Token bucket filter has been killed.

ok claudio@ henning@ dlg@

Revision 1.18 / (download) - annotate - [select for diffs], Sat Feb 7 15:06:04 2009 UTC (15 years, 3 months ago) by chl
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.17: +3 -2 lines
Diff to previous 1.17 (colored)

add missing headers needed for warn() and err().

ok claudio@ ray@

Revision 1.17 / (download) - annotate - [select for diffs], Fri Dec 14 18:35:46 2007 UTC (16 years, 5 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.16: +28 -27 lines
Diff to previous 1.16 (colored)

remove 21 nlist variables, and instead use sysctl to query the kernel
turn on INET6 the default (remove the #ifdef's)
ok claudio reyk

Revision 1.16 / (download) - annotate - [select for diffs], Sat May 27 19:16:37 2006 UTC (17 years, 11 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.15: +5 -5 lines
Diff to previous 1.15 (colored)

Moving netstat from kvm snooping to retrieving the routing tables via
sysctl. Most code is stolen from route -- which was stolen from netstat.
kvm snooping code is still in and useable. Put it in deraadt@ henning@

Revision 1.15 / (download) - annotate - [select for diffs], Mon Oct 17 19:09:36 2005 UTC (18 years, 7 months ago) by otto
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

Use queue macros instead of directly accessing fields. ok pat@ "put it
in" deraadt@

Revision 1.14 / (download) - annotate - [select for diffs], Wed Mar 30 07:50:11 2005 UTC (19 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.13: +4 -4 lines
Diff to previous 1.13 (colored)

spacing

Revision 1.13 / (download) - annotate - [select for diffs], Fri Mar 25 17:01:04 2005 UTC (19 years, 1 month ago) by jaredy
Branch: MAIN
Changes since 1.12: +10 -10 lines
Diff to previous 1.12 (colored)

kill unneeded (char *) casts.  ok millert, otto

Revision 1.12 / (download) - annotate - [select for diffs], Fri Jan 14 15:00:44 2005 UTC (19 years, 4 months ago) by mcbride
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.11: +101 -2 lines
Diff to previous 1.11 (colored)

Allow netstat to print PIM statistics.

From Pavlin Radoslavov <pavlin@icir.org>

ok deraadt@ brad@

Revision 1.11 / (download) - annotate - [select for diffs], Mon Jul 7 21:36:52 2003 UTC (20 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

protos

Revision 1.10 / (download) - annotate - [select for diffs], Tue Jun 3 02:56:13 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.9: +2 -6 lines
Diff to previous 1.9 (colored)

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999.  Proofed by myself and Theo.

Revision 1.9 / (download) - annotate - [select for diffs], Sat Feb 1 01:51:31 2003 UTC (21 years, 3 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.8: +4 -7 lines
Diff to previous 1.8 (colored)

ansi

Revision 1.8 / (download) - annotate - [select for diffs], Sun Jun 2 15:49:05 2002 UTC (21 years, 11 months ago) by itojun
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.7: +12 -12 lines
Diff to previous 1.7 (colored)

mrtstat members are u_long, so use %lu not %ld

Revision 1.7 / (download) - annotate - [select for diffs], Mon Nov 19 19:02:15 2001 UTC (22 years, 6 months ago) by mpech
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

kill more registers

millert@ ok

Revision 1.6 / (download) - annotate - [select for diffs], Fri Feb 27 12:07:37 1998 UTC (26 years, 2 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0, OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7, OPENBSD_2_6_BASE, OPENBSD_2_6, OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4, OPENBSD_2_3_BASE, OPENBSD_2_3
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

oflow paranoia

Revision 1.5 / (download) - annotate - [select for diffs], Sun Jun 29 21:46:03 1997 UTC (26 years, 10 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.4: +2 -1 lines
Diff to previous 1.4 (colored)

Use correct spacing on both 32bit and 64bit machines.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Jun 29 20:18:02 1997 UTC (26 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.3: +14 -15 lines
Diff to previous 1.3 (colored)

Mostly clean -Wall + 64bit issues.

Revision 1.3 / (download) - annotate - [select for diffs], Wed Jun 26 05:37:23 1996 UTC (27 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1, OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.2: +1 -0 lines
Diff to previous 1.2 (colored)

rcsid

Revision 1.2 / (download) - annotate - [select for diffs], Fri May 24 09:18:51 1996 UTC (28 years ago) by deraadt
Branch: MAIN
Changes since 1.1: +25 -23 lines
Diff to previous 1.1 (colored)

do not print a non-existant mfc

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:45:51 1995 UTC (28 years, 7 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:45:51 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.