Up to [local] / src / usr.bin / netstat
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.25 / (download) - annotate - [select for diffs], Sun Dec 5 22:36:19 2021 UTC (2 years, 6 months ago) by deraadt
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,
HEAD
Changes since 1.24: +1 -2 lines
Diff to previous 1.24 (colored) to selected 1.6 (colored)
sys/select.h is not needed, if howmany/NBBY are needed they will arrive via netinet/in.h and sys/time.h, which I must say surprises me a bit
Revision 1.24 / (download) - annotate - [select for diffs], Mon Jun 4 19:20:12 2018 UTC (6 years ago) by kn
Branch: MAIN
CVS Tags: 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,
OPENBSD_6_5_BASE,
OPENBSD_6_5,
OPENBSD_6_4_BASE,
OPENBSD_6_4
Changes since 1.23: +1 -4 lines
Diff to previous 1.23 (colored) to selected 1.6 (colored)
Zap unused mifi_t. OK bluhm mpi jca
Revision 1.23 / (download) - annotate - [select for diffs], Mon May 8 09:31:34 2017 UTC (7 years, 1 month ago) by rzalamena
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE,
OPENBSD_6_3,
OPENBSD_6_2_BASE,
OPENBSD_6_2
Changes since 1.22: +2 -3 lines
Diff to previous 1.22 (colored) to selected 1.6 (colored)
Make netstat(8) always ask for IPv6 multicast routing information. Worst case is that we get an empty response instead of a message saying that there is no multicast support. ok mpi@
Revision 1.22 / (download) - annotate - [select for diffs], Thu Dec 22 11:04:44 2016 UTC (7 years, 5 months ago) by rzalamena
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE,
OPENBSD_6_1
Changes since 1.21: +1 -5 lines
Diff to previous 1.21 (colored) to selected 1.6 (colored)
Remove PIM support from the multicast stack. ok mpi@
Revision 1.21 / (download) - annotate - [select for diffs], Sat Aug 27 04:13:43 2016 UTC (7 years, 9 months ago) by guenther
Branch: MAIN
Changes since 1.20: +2 -1 lines
Diff to previous 1.20 (colored) to selected 1.6 (colored)
Pull in <sys/select.h> for howmany() and NBBY, used by various net*/*.h ok deraadt@
Revision 1.20 / (download) - annotate - [select for diffs], Fri Feb 13 13:28:17 2015 UTC (9 years, 3 months ago) by dcoppa
Branch: MAIN
CVS Tags: 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.19: +2 -1 lines
Diff to previous 1.19 (colored) to selected 1.6 (colored)
implicit declaration of function 'free'; add missing stdlib.h OK sthen@
Revision 1.19 / (download) - annotate - [select for diffs], Thu Feb 12 23:31:12 2015 UTC (9 years, 3 months ago) by claudio
Branch: MAIN
Changes since 1.18: +3 -1 lines
Diff to previous 1.18 (colored) to selected 1.6 (colored)
Free the buffers used for the sysctl. OK sthen@
Revision 1.18 / (download) - annotate - [select for diffs], Thu Feb 12 13:06:47 2015 UTC (9 years, 3 months ago) by sthen
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored) to selected 1.6 (colored)
Initialize buffer pointers passed to get_sysctl to NULL; otherwise they point to random memory so when the sysctl-estimate is too small, the realloc() fails. Problem reported by Ze Loff, ok claudio
Revision 1.17 / (download) - annotate - [select for diffs], Mon Feb 9 12:25:03 2015 UTC (9 years, 4 months ago) by claudio
Branch: MAIN
Changes since 1.16: +54 -71 lines
Diff to previous 1.16 (colored) to selected 1.6 (colored)
Get rid of another KVM reader and convert the multicast output to use the new sysctls. Looks good deraadt@
Revision 1.16 / (download) - annotate - [select for diffs], Sat Jan 17 07:09:50 2015 UTC (9 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored) to selected 1.6 (colored)
_KERNEL 1? no, just _KERNEL
Revision 1.15 / (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.14: +2 -2 lines
Diff to previous 1.14 (colored) to selected 1.6 (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.14 / (download) - annotate - [select for diffs], Fri Nov 21 17:49:00 2014 UTC (9 years, 6 months ago) by mikeb
Branch: MAIN
Changes since 1.13: +1 -2 lines
Diff to previous 1.13 (colored) to selected 1.6 (colored)
remove pointless if_var.h and socketvar.h includes; ok deraadt
Revision 1.13 / (download) - annotate - [select for diffs], Mon Jun 23 03:46:17 2014 UTC (9 years, 11 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE,
OPENBSD_5_6
Changes since 1.12: +4 -4 lines
Diff to previous 1.12 (colored) to selected 1.6 (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.12 / (download) - annotate - [select for diffs], Thu Nov 21 17:32:13 2013 UTC (10 years, 6 months ago) by mikeb
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE,
OPENBSD_5_5
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored) to selected 1.6 (colored)
split kernel parts of the if.h into a separate header file if_var.h which allows us to modify ifnet structure in a relatively safe way; discussed with deraadt, ok mpi
Revision 1.11 / (download) - annotate - [select for diffs], Sat Feb 7 15:06:04 2009 UTC (15 years, 4 months ago) by chl
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE,
OPENBSD_5_4,
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,
OPENBSD_4_6_BASE,
OPENBSD_4_6,
OPENBSD_4_5_BASE,
OPENBSD_4_5
Changes since 1.10: +3 -2 lines
Diff to previous 1.10 (colored) to selected 1.6 (colored)
add missing headers needed for warn() and err(). ok claudio@ ray@
Revision 1.10 / (download) - annotate - [select for diffs], Fri Dec 14 18:35:46 2007 UTC (16 years, 6 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.9: +60 -59 lines
Diff to previous 1.9 (colored) to selected 1.6 (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.9 / (download) - annotate - [select for diffs], Tue Sep 11 18:16:48 2007 UTC (16 years, 9 months ago) by henning
Branch: MAIN
Changes since 1.8: +16 -16 lines
Diff to previous 1.8 (colored) to selected 1.6 (colored)
u_quad_t -> u_int64_t and %qu -> %llu, from brad
Revision 1.8 / (download) - annotate - [select for diffs], Fri Mar 25 17:01:04 2005 UTC (19 years, 2 months ago) by jaredy
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,
OPENBSD_3_9_BASE,
OPENBSD_3_9,
OPENBSD_3_8_BASE,
OPENBSD_3_8
Changes since 1.7: +9 -9 lines
Diff to previous 1.7 (colored) to selected 1.6 (colored)
kill unneeded (char *) casts. ok millert, otto
Revision 1.7 / (download) - annotate - [select for diffs], Tue Jun 3 02:56:13 2003 UTC (21 years ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE,
OPENBSD_3_7,
OPENBSD_3_6_BASE,
OPENBSD_3_6,
OPENBSD_3_5_BASE,
OPENBSD_3_5,
OPENBSD_3_4_BASE,
OPENBSD_3_4
Changes since 1.6: +2 -6 lines
Diff to previous 1.6 (colored)
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
Revision 1.6 / (download) - annotate - [selected], Sat Feb 1 01:51:31 2003 UTC (21 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE,
OPENBSD_3_3
Changes since 1.5: +11 -18 lines
Diff to previous 1.5 (colored)
ansi
Revision 1.5 / (download) - annotate - [select for diffs], Sun Jun 2 01:30:24 2002 UTC (22 years ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE,
OPENBSD_3_2
Changes since 1.4: +34 -34 lines
Diff to previous 1.4 (colored) to selected 1.6 (colored)
KNF
Revision 1.4 / (download) - annotate - [select for diffs], Mon May 27 01:50:36 2002 UTC (22 years ago) by deraadt
Branch: MAIN
Changes since 1.3: +6 -6 lines
Diff to previous 1.3 (colored) to selected 1.6 (colored)
a night of cleanup, so i can read this easier
Revision 1.3 / (download) - annotate - [select for diffs], Thu Jan 17 21:34:58 2002 UTC (22 years, 4 months ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE,
OPENBSD_3_1
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 (colored) to selected 1.6 (colored)
evil, annoying spaces and tabs
Revision 1.2 / (download) - annotate - [select for diffs], Mon Nov 19 19:02:15 2001 UTC (22 years, 6 months ago) by mpech
Branch: MAIN
Changes since 1.1: +6 -6 lines
Diff to previous 1.1 (colored) to selected 1.6 (colored)
kill more registers millert@ ok
Revision 1.1 / (download) - annotate - [select for diffs], Wed Dec 8 12:30:17 1999 UTC (24 years, 6 months ago) by itojun
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
Diff to selected 1.6 (colored)
add IPv6 support from KAME. cleanup type matches with printf() format. KAME_SCOPEID should be enabled after KAME get{addr,name}info(3) merge.