The NetBSD Project

CVS log for src/usr.bin/netstat/Makefile

[BACK] Up to [cvs.NetBSD.org] / src / usr.bin / netstat

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.49 / (download) - annotate - [select for diffs], Sat Jun 3 09:09:17 2023 UTC (33 hours, 45 minutes ago) by lukem
Branch: MAIN
CVS Tags: HEAD
Changes since 1.48: +4 -4 lines
Diff to previous 1.48 (colored)

bsd.own.mk: rename GCC_NO_* to CC_WNO_*

Rename compiler-warning-disable variables from
	GCC_NO_warning
to
	CC_WNO_warning
where warning is the full warning name as used by the compiler.

GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH

Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.

Revision 1.45.4.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:05:45 2020 UTC (3 years, 1 month ago) by martin
Branch: phil-wifi
Changes since 1.45.4.1: +8 -0 lines
Diff to previous 1.45.4.1 (colored) to branchpoint 1.45 (colored) next main 1.46 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.45.4.1 / (download) - annotate - [select for diffs], Wed Apr 8 14:09:17 2020 UTC (3 years, 1 month ago) by martin
Branch: phil-wifi
Changes since 1.45: +8 -5 lines
Diff to previous 1.45 (colored)

Merge changes from current as of 20200406

Revision 1.48 / (download) - annotate - [select for diffs], Fri Apr 3 16:41:59 2020 UTC (3 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, netbsd-10-base, netbsd-10, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.47: +8 -5 lines
Diff to previous 1.47 (colored)

remove unused

Revision 1.47 / (download) - annotate - [select for diffs], Sun Oct 13 07:28:16 2019 UTC (3 years, 7 months ago) by mrg
Branch: MAIN
CVS Tags: phil-wifi-20191119, is-mlppp-base, is-mlppp
Changes since 1.46: +5 -1 lines
Diff to previous 1.46 (colored)

introduce some common variables for use in GCC warning disables:

GCC_NO_FORMAT_TRUNCATION    -Wno-format-truncation (GCC 7/8)
GCC_NO_STRINGOP_TRUNCATION  -Wno-stringop-truncation (GCC 8)
GCC_NO_STRINGOP_OVERFLOW    -Wno-stringop-overflow (GCC 8)
GCC_NO_CAST_FUNCTION_TYPE   -Wno-cast-function-type (GCC 8)

use these to turn off warnings for most GCC-8 complaints.  many
of these are false positives, most of the real bugs are already
commited, or are yet to come.


we plan to introduce versions of (some?) of these that use the
"-Wno-error=" form, which still displays the warnings but does
not make it an error, and all of the above will be re-considered
as either being "fix me" (warning still displayed) or "warning
is wrong."

Revision 1.45.6.1 / (download) - annotate - [select for diffs], Mon Aug 19 15:56:49 2019 UTC (3 years, 9 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Changes since 1.45: +5 -1 lines
Diff to previous 1.45 (colored) next main 1.46 (colored)

Pull up following revision(s) (requested by kamil in ticket #94):

	usr.bin/netstat/netstat_rumpops.c: revision 1.2
	usr.bin/netstat/netstat_hostops.c: revision 1.2
	usr.bin/netstat/inet6.c: revision 1.73
	usr.bin/netstat/bpf.c: revision 1.14
	usr.bin/netstat/Makefile: revision 1.46
	usr.bin/netstat/prog_ops.h: revision 1.3
	usr.bin/netstat/pfsync.c: revision 1.2
	usr.bin/netstat/pfkey.c: revision 1.2
	usr.bin/netstat/fast_ipsec.c: revision 1.23
	usr.bin/netstat/atalk.c: revision 1.17
	usr.bin/netstat/inet.c: revision 1.110

netstat: Add indirection of symbols to remove clash with sanitizers

Add indirection and symbol renaming under MKSANITIZER for the linked in
version of sysctlbyname, sysctlgetmibinfo and sysctlnametomib.

Revision 1.46 / (download) - annotate - [select for diffs], Sun Aug 18 04:14:40 2019 UTC (3 years, 9 months ago) by kamil
Branch: MAIN
Changes since 1.45: +5 -1 lines
Diff to previous 1.45 (colored)

netstat: Add indirection of symbols to remove clash with sanitizers

Add indirection and symbol renaming under MKSANITIZER for the linked in
version of sysctlbyname, sysctlgetmibinfo and sysctlnametomib.

Revision 1.45 / (download) - annotate - [select for diffs], Tue Oct 10 19:31:10 2017 UTC (5 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-base, phil-wifi-20190609, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, netbsd-9-base
Branch point for: phil-wifi, netbsd-9
Changes since 1.44: +9 -5 lines
Diff to previous 1.44 (colored)

use librumpres

Revision 1.43.2.1 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:58 2017 UTC (6 years, 4 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.43: +3 -1 lines
Diff to previous 1.43 (colored) next main 1.44 (colored)

Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.44 / (download) - annotate - [select for diffs], Fri Dec 23 10:19:57 2016 UTC (6 years, 5 months ago) by mrg
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.43: +3 -1 lines
Diff to previous 1.43 (colored)

for 64 bit mips platforms where we built userland largely as n32 by
default, build a handful of tools as n64 so they work properly.

unfortunately, they're also static as dynamic n64 has a problem.

of these tools pstat is probably the lowest hanging fruit to convert
to sysctl.  systat would be close were it not for the netstat screen,
which includes netstat itself.

the rest are difficult to perhaps foolish.


the upside is that netstat, pmap and fstat all work properly now.

Revision 1.43 / (download) - annotate - [select for diffs], Sat Jun 6 13:48:37 2015 UTC (8 years ago) by joerg
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.42: +1 -4 lines
Diff to previous 1.42 (colored)

Format-string related warnings work fine now with both GCC 4.8 and
Clang.

Revision 1.42 / (download) - annotate - [select for diffs], Fri May 15 06:58:59 2015 UTC (8 years ago) by ozaki-r
Branch: MAIN
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored)

Fix rump.{netstat,route} shows host's interface names in link local addresses

Interface names of IPv6 link local addresses are resolved
by getnameinfo(3). So we need to rump-ify it as well as
if_indextoname and getifaddrs.

Revision 1.41 / (download) - annotate - [select for diffs], Sat Feb 7 19:36:06 2015 UTC (8 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored)

print the timer flags.

Revision 1.39.8.1 / (download) - annotate - [select for diffs], Thu Jan 8 11:01:01 2015 UTC (8 years, 4 months ago) by martin
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Changes since 1.39: +6 -4 lines
Diff to previous 1.39 (colored) next main 1.40 (colored)

Pull up following revision(s) (requested by prlw1 in ticket #390):
	usr.bin/netstat/mroute.c: revision 1.25
	usr.bin/netstat/Makefile: revision 1.40
	sbin/route/prog_ops.h: revision 1.3
	sbin/route/rtutil.c: revision 1.1
	sbin/route/rtutil.h: revision 1.1
	usr.bin/netstat/mroute6.c: revision 1.15
	sbin/route/extern.h: revision 1.15
	usr.bin/netstat/show.c: file removal
	usr.bin/netstat/main.c: revision 1.93
	usr.bin/netstat/route.c: revision 1.83
	usr.bin/netstat/netstat.h: revision 1.51
	distrib/utils/x_route/Makefile: revision 1.18
	sbin/route/show.c: revision 1.46
	usr.bin/netstat/if.c: revision 1.80
	sbin/route/route.c: revision 1.145
	sbin/route/Makefile: revision 1.26
Factor out the netstat route printing code and use it here. There is no
point in having 2 different copies; fixes PR/49371

Revision 1.40 / (download) - annotate - [select for diffs], Thu Nov 6 21:30:09 2014 UTC (8 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.39: +6 -4 lines
Diff to previous 1.39 (colored)

use the common code from route.c

Revision 1.36.2.2 / (download) - annotate - [select for diffs], Thu May 22 11:42:46 2014 UTC (9 years ago) by yamt
Branch: yamt-pagecache
Changes since 1.36.2.1: +3 -5 lines
Diff to previous 1.36.2.1 (colored) to branchpoint 1.36 (colored) next main 1.37 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.38.2.1 / (download) - annotate - [select for diffs], Sun Jun 23 06:29:01 2013 UTC (9 years, 11 months ago) by tls
Branch: tls-maxphys
Changes since 1.38: +3 -5 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

resync from head

Revision 1.39 / (download) - annotate - [select for diffs], Fri Mar 1 18:26:11 2013 UTC (10 years, 3 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-7-base, agc-symver-base, agc-symver
Branch point for: netbsd-7
Changes since 1.38: +3 -5 lines
Diff to previous 1.38 (colored)

Retire OSI network stack. OK core@

Revision 1.36.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:09:37 2012 UTC (11 years, 1 month ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.36: +4 -4 lines
Diff to previous 1.36 (colored)

sync with head

Revision 1.38 / (download) - annotate - [select for diffs], Thu Mar 22 20:34:43 2012 UTC (11 years, 2 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4
Branch point for: tls-maxphys
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

remove KAME IPSEC, replaced by FAST_IPSEC

Revision 1.37 / (download) - annotate - [select for diffs], Fri Jan 6 14:21:16 2012 UTC (11 years, 5 months ago) by drochner
Branch: MAIN
CVS Tags: netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored)

split the ipsec.c source file into the pfkey part which is shared
with FAST_IPSEC and KAME specific IPSEC statistics

Revision 1.36 / (download) - annotate - [select for diffs], Tue Aug 16 12:03:31 2011 UTC (11 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base
Branch point for: yamt-pagecache
Changes since 1.35: +3 -1 lines
Diff to previous 1.35 (colored)

document non-literal format strings

Revision 1.35 / (download) - annotate - [select for diffs], Thu May 26 12:56:33 2011 UTC (12 years ago) by joerg
Branch: MAIN
CVS Tags: cherry-xenmp-base, cherry-xenmp
Changes since 1.34: +3 -1 lines
Diff to previous 1.34 (colored)

Default to -Wno-sign-compare -Wno-pointer-sign for clang.
Push -Wno-array-bounds down to the cases that depend on it.
Selectively disable warnings for 3rd party software or non-trivial
issues to be reviewed later to get clang -Werror to build most of the
tree.

Revision 1.34 / (download) - annotate - [select for diffs], Tue May 3 18:28:46 2011 UTC (12 years, 1 month ago) by dyoung
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

Reduces the resources demanded by TCP sessions in TIME_WAIT-state using
methods called Vestigial Time-Wait (VTW) and Maximum Segment Lifetime
Truncation (MSLT).

MSLT and VTW were contributed by Coyote Point Systems, Inc.

Even after a TCP session enters the TIME_WAIT state, its corresponding
socket and protocol control blocks (PCBs) stick around until the TCP
Maximum Segment Lifetime (MSL) expires.  On a host whose workload
necessarily creates and closes down many TCP sockets, the sockets & PCBs
for TCP sessions in TIME_WAIT state amount to many megabytes of dead
weight in RAM.

Maximum Segment Lifetimes Truncation (MSLT) assigns each TCP session to
a class based on the nearness of the peer.  Corresponding to each class
is an MSL, and a session uses the MSL of its class.  The classes are
loopback (local host equals remote host), local (local host and remote
host are on the same link/subnet), and remote (local host and remote
host communicate via one or more gateways).  Classes corresponding to
nearer peers have lower MSLs by default: 2 seconds for loopback, 10
seconds for local, 60 seconds for remote.  Loopback and local sessions
expire more quickly when MSLT is used.

Vestigial Time-Wait (VTW) replaces a TIME_WAIT session's PCB/socket
dead weight with a compact representation of the session, called a
"vestigial PCB".  VTW data structures are designed to be very fast and
memory-efficient: for fast insertion and lookup of vestigial PCBs,
the PCBs are stored in a hash table that is designed to minimize the
number of cacheline visits per lookup/insertion.  The memory both
for vestigial PCBs and for elements of the PCB hashtable come from
fixed-size pools, and linked data structures exploit this to conserve
memory by representing references with a narrow index/offset from the
start of a pool instead of a pointer.  When space for new vestigial PCBs
runs out, VTW makes room by discarding old vestigial PCBs, oldest first.
VTW cooperates with MSLT.

It may help to think of VTW as a "FIN cache" by analogy to the SYN
cache.

A 2.8-GHz Pentium 4 running a test workload that creates TIME_WAIT
sessions as fast as it can is approximately 17% idle when VTW is active
versus 0% idle when VTW is inactive.  It has 103 megabytes more free RAM
when VTW is active (approximately 64k vestigial PCBs are created) than
when it is inactive.

Revision 1.32.2.1 / (download) - annotate - [select for diffs], Sat Mar 5 15:11:00 2011 UTC (12 years, 3 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

Sync with HEAD

Revision 1.33 / (download) - annotate - [select for diffs], Tue Mar 1 19:01:59 2011 UTC (12 years, 3 months ago) by dyoung
Branch: MAIN
CVS Tags: bouyer-quota2-nbase
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored)

Pull pfsync_stats() out of inet.c and into pfsync.c so that inet.c does
not have to #include PF header files that pollute the global namespace
by #defining v4 and v6 (sheesh).

Revision 1.32 / (download) - annotate - [select for diffs], Wed Dec 15 11:22:41 2010 UTC (12 years, 5 months ago) by pooka
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, bouyer-quota2-base
Branch point for: bouyer-quota2
Changes since 1.31: +1 -5 lines
Diff to previous 1.31 (colored)

Deal with crunch the standard way.

Revision 1.31 / (download) - annotate - [select for diffs], Wed Dec 15 09:15:05 2010 UTC (12 years, 5 months ago) by he
Branch: MAIN
Changes since 1.30: +5 -1 lines
Diff to previous 1.30 (colored)

Make this build with CRUNCHEDPROG defined, and default to the sysctl()
method of fetching information.  Apparently we can't simply not define
the prog_ops struct in this program.

Revision 1.30 / (download) - annotate - [select for diffs], Mon Dec 13 21:15:30 2010 UTC (12 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.29: +8 -2 lines
Diff to previous 1.29 (colored)

Add netstat rump client.  For now, it always sets -X, i.e. will
use only sysctl and no kvm (implementing /dev/mem for a rump kernel
would probably not be hard, but still a non-zero effort).

Note: since there is absolutely no network activity in a fresh rump
kernel, rump.netstat usually displays exactly nothing when invoked
without parameters.  Arguments like -r, -bi, -p icmp etc. produce
more stuff.

Revision 1.29 / (download) - annotate - [select for diffs], Mon Sep 14 10:36:50 2009 UTC (13 years, 8 months ago) by degroote
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.28: +3 -2 lines
Diff to previous 1.28 (colored)

Import pfsync support from OpenBSD 4.2

Pfsync interface exposes change in the pf(4) over a pseudo-interface, and can
be used to synchronise different pf.

This work was part of my 2009 GSoC

No objection on tech-net@

Revision 1.28 / (download) - annotate - [select for diffs], Mon May 28 12:06:29 2007 UTC (16 years ago) by tls
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, mjf-devfs2, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf
Changes since 1.27: +3 -1 lines
Diff to previous 1.27 (colored)

Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the
FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to
various string and memory copy and set functions (as well as a few system
calls and other miscellany) where known at function entry.  RedHat has
evidently built all "core system packages" with this option for some time.

This option should be used at the top of Makefiles (or Makefile.inc where
this is used for subdirectories) but after any setting of LIB.

This is only useful for userland code, and cannot be used in libc or in
any code which includes the libc internals, because it overrides certain
libc functions with macros.  Some effort has been made to make USE_FORT=yes
work correctly for a full-system build by having the bsd.sys.mk logic
disable the feature where it should not be used (libc, libssp iteself,
the kernel) but no attempt has been made to build the entire system with
USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.

Adjust the system build so that all programs and libraries that are setuid,
directly handle network data (including serial comm data), perform
authentication, or appear likely to have (or have a history of having)
data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default,
with the exception of libc, which cannot use USE_FORT and thus uses
only USE_SSP by default.  Tested on i386 with no ill results; USE_FORT=no
per-directory or in a system build will disable if desired.

Revision 1.27 / (download) - annotate - [select for diffs], Sat Aug 26 15:33:20 2006 UTC (16 years, 9 months ago) by matt
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

Conditionalize XNS support.  No longer enabled.

Revision 1.25.2.1 / (download) - annotate - [select for diffs], Mon Jun 19 04:17:07 2006 UTC (16 years, 11 months ago) by chap
Branch: chap-midi
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Sync with head.

Revision 1.26 / (download) - annotate - [select for diffs], Sun May 28 16:51:40 2006 UTC (17 years ago) by elad
Branch: MAIN
CVS Tags: chap-midi-nbase, chap-midi-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

Make netstat use sysctl when dumping routing tables/stats.
Heavily based on similar code from Claudio Jeker (at OpenBSD).

While here, fix inet/inet6 sysctl stuff commited previously to
actually work, and some other nits to make netstat more sysctl
friendly.

One step closer to losing setgid kmem on this one...

Revision 1.25 / (download) - annotate - [select for diffs], Thu Aug 4 19:40:00 2005 UTC (17 years, 10 months ago) by rpaulo
Branch: MAIN
Branch point for: chap-midi
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

Added bpf.c.

Revision 1.24 / (download) - annotate - [select for diffs], Mon Jan 10 02:58:59 2005 UTC (18 years, 4 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3
Changes since 1.23: +6 -2 lines
Diff to previous 1.23 (colored)

Only compile in IPv6 support if ${USE_INET6} != "no"

MKINET6 is for providing IPv6 infrastructure.
USE_INET6 is for compiling IPv6 support into the programs (needs MKINET6).

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Mon May 10 15:02:23 2004 UTC (19 years ago) by tron
Branch: netbsd-2-0
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2
Changes since 1.22: +4 -3 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

Pull up revision 1.23 (requested by jonathan in ticket #280):
Redo net.inet.* sysctl subtree for fast-ipsec from scratch.
Attach FAST-IPSEC statistics with 64-bit counters to new sysctl MIB.
Rework netstat to show FAST_IPSEC statistics, via sysctl,  for
netstat -p ipsec.
New kernel files:
	sys/netipsec/Makefile		(new file; install *_var.h includes)
	sys/netipsec/ipsec_var.h	(new 64-bit mib counter struct)
Changed kernel files:
	sys/Makefile			(recurse into sys/netipsec/)
	sys/netinet/in.h		(fake IP_PROTO name for fast_ipsec
					sysctl subtree.)
	sys/netipsec/ipsec.h		(minimal userspace inclusion)
	sys/netipsec/ipsec_osdep.h	(minimal userspace inclusion)
	sys/netipsec/ipsec_netbsd.c	(redo sysctl subtree from scratch)
	sys/netipsec/key*.c		(fix broken net.key subtree)
	sys/netipsec/ah_var.h		(increase all counters to 64 bits)
	sys/netipsec/esp_var.h		(increase all counters to 64 bits)
	sys/netipsec/ipip_var.h		(increase all counters to 64 bits)
	sys/netipsec/ipcomp_var.h	(increase all counters to 64 bits)
	sys/netipsec/ipsec.c		(add #include netipsec/ipsec_var.h)
	sys/netipsec/ipsec_mbuf.c	(add #include netipsec/ipsec_var.h)
	sys/netipsec/ipsec_output.c	(add #include netipsec/ipsec_var.h)
	sys/netinet/raw_ip.c		(add #include netipsec/ipsec_var.h)
	sys/netinet/tcp_input.c		(add #include netipsec/ipsec_var.h)
	sys/netinet/udp_usrreq.c	(add #include netipsec/ipsec_var.h)
Changes to usr.bin/netstat to print the new fast-ipsec sysctl tree
for "netstat -s -p ipsec":
New file:
	usr.bin/netstat/fast_ipsec.c	(print fast-ipsec counters)
Changed files:
	usr.bin/netstat/Makefile	(add fast_ipsec.c)
	usr.bin/netstat/netstat.h	(declarations for fast_ipsec.c)
	usr.bin/netstat/main.c		(call KAME-vs-fast-ipsec dispatcher)

Revision 1.23 / (download) - annotate - [select for diffs], Fri May 7 00:55:15 2004 UTC (19 years, 1 month ago) by jonathan
Branch: MAIN
Changes since 1.22: +4 -3 lines
Diff to previous 1.22 (colored)

Redo net.inet.* sysctl subtree for fast-ipsec from scratch.
Attach FAST-IPSEC statistics with 64-bit counters to new sysctl MIB.
Rework netstat to show FAST_IPSEC statistics, via sysctl,  for
netstat -p ipsec.

New kernel files:
	sys/netipsec/Makefile		(new file; install *_var.h includes)
	sys/netipsec/ipsec_var.h	(new 64-bit mib counter struct)

Changed kernel files:
	sys/Makefile			(recurse into sys/netipsec/)
	sys/netinet/in.h		(fake IP_PROTO name for fast_ipsec
					sysctl subtree.)
	sys/netipsec/ipsec.h		(minimal userspace inclusion)
	sys/netipsec/ipsec_osdep.h	(minimal userspace inclusion)
	sys/netipsec/ipsec_netbsd.c	(redo sysctl subtree from scratch)
	sys/netipsec/key*.c		(fix broken net.key subtree)

	sys/netipsec/ah_var.h		(increase all counters to 64 bits)
	sys/netipsec/esp_var.h		(increase all counters to 64 bits)
	sys/netipsec/ipip_var.h		(increase all counters to 64 bits)
	sys/netipsec/ipcomp_var.h	(increase all counters to 64 bits)

	sys/netipsec/ipsec.c		(add #include netipsec/ipsec_var.h)
	sys/netipsec/ipsec_mbuf.c	(add #include netipsec/ipsec_var.h)
	sys/netipsec/ipsec_output.c	(add #include netipsec/ipsec_var.h)

	sys/netinet/raw_ip.c		(add #include netipsec/ipsec_var.h)
	sys/netinet/tcp_input.c		(add #include netipsec/ipsec_var.h)
	sys/netinet/udp_usrreq.c	(add #include netipsec/ipsec_var.h)

Changes to usr.bin/netstat to print the new fast-ipsec sysctl tree
for "netstat -s -p ipsec":

New file:
	usr.bin/netstat/fast_ipsec.c	(print fast-ipsec counters)

Changed files:
	usr.bin/netstat/Makefile	(add fast_ipsec.c)
	usr.bin/netstat/netstat.h	(declarations for fast_ipsec.c)
	usr.bin/netstat/main.c		(call KAME-vs-fast-ipsec dispatcher)

Revision 1.22 / (download) - annotate - [select for diffs], Wed May 14 23:36:32 2003 UTC (20 years ago) by itojun
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.21: +1 -4 lines
Diff to previous 1.21 (colored)

use proper #ifdef to determine behavior (__KAME__)

Revision 1.21 / (download) - annotate - [select for diffs], Wed Sep 18 14:00:40 2002 UTC (20 years, 8 months ago) by lukem
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.20: +4 -2 lines
Diff to previous 1.20 (colored)

makefile delint. use NETBSDSRCDIR as appropriate

Revision 1.20 / (download) - annotate - [select for diffs], Sat Feb 26 09:55:24 2000 UTC (23 years, 3 months ago) by itojun
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

revise IPsec, pfkey, IPv6 multicast and IPv6 statistics.  (sync with kame)

Revision 1.18.4.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:37:06 1999 UTC (23 years, 5 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.18: +4 -1 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

Pull up to last week's -current.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Dec 13 15:22:55 1999 UTC (23 years, 5 months ago) by itojun
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Changes since 1.18: +4 -1 lines
Diff to previous 1.18 (colored)

per-interface statistics.
bring in and enable KAME scopeid hack.
lots of cleanups.
(sync with latest KAME)

Revision 1.18 / (download) - annotate - [select for diffs], Mon Jul 12 18:17:56 1999 UTC (23 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize
Changes since 1.17: +1 -1 lines
Diff to previous 1.17 (colored)

Revert previous, as it merely worked around a recent bug in make(1) which
is now fixed.

Revision 1.17 / (download) - annotate - [select for diffs], Mon Jul 12 17:53:42 1999 UTC (23 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

make sure to use files in ${.CURDIR} before ${.CURDIR}/../../sys/netiso.
(namely iso.c)

Revision 1.16 / (download) - annotate - [select for diffs], Mon Jul 12 17:48:45 1999 UTC (23 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.15: +3 -4 lines
Diff to previous 1.15 (colored)

merge SRCS into one.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Jul 1 18:40:35 1999 UTC (23 years, 11 months ago) by itojun
Branch: MAIN
Changes since 1.14: +4 -2 lines
Diff to previous 1.14 (colored)

make netstat IPv6-ready.

Revision 1.14 / (download) - annotate - [select for diffs], Thu May 8 21:11:44 1997 UTC (26 years, 1 month ago) by gwr
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3, SYN_cache_cur_base, SYN_cache_branch
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

Back out the .PATH.c changes.  The .depend problem (and others)
will be fixed using the new .NOPATH make feature instead.

Revision 1.13 / (download) - annotate - [select for diffs], Tue May 6 20:45:37 1997 UTC (26 years, 1 month ago) by gwr
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Use .PATH.c: ...

Revision 1.12 / (download) - annotate - [select for diffs], Thu Apr 3 04:46:44 1997 UTC (26 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

- netatalk additions
- printf format fixes
- minor prototype cleanups

Revision 1.11 / (download) - annotate - [select for diffs], Tue Oct 3 21:42:34 1995 UTC (27 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2, netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.10: +1 -1 lines
Diff to previous 1.10 (colored)

New-style RCS ids.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Thu Oct 6 16:34:53 1994 UTC (28 years, 8 months ago) by mycroft
Branch: CSRG
CVS Tags: lite-2, lite-1
Changes since 1.1: +7 -14 lines
Diff to previous 1.1 (colored)

Import original 4.4-Lite version.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Oct 6 16:30:55 1994 UTC (28 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.9: +2 -3 lines
Diff to previous 1.9 (colored)

Re-enable some ugly ISO code.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Aug 3 20:34:13 1994 UTC (28 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.8: +1 -2 lines
Diff to previous 1.8 (colored)

do not need -I/sys

Revision 1.8 / (download) - annotate - [select for diffs], Tue Aug 2 09:35:50 1994 UTC (28 years, 10 months ago) by pk
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

Use ${DESTDIR}/sys in CFLAGS.

Revision 1.7 / (download) - annotate - [select for diffs], Fri May 13 08:08:09 1994 UTC (29 years ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Changes since 1.6: +7 -14 lines
Diff to previous 1.6 (colored)

Clean up import.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Jan 28 00:48:33 1994 UTC (29 years, 4 months ago) by cgd
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

needs -lkvm, not -lutil

Revision 1.5 / (download) - annotate - [select for diffs], Tue Jan 11 19:42:48 1994 UTC (29 years, 4 months ago) by brezak
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Incorporate changes for IP mcast and IGMP from cmaeda@cs.washington.edu.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Sep 25 13:19:49 1993 UTC (29 years, 8 months ago) by pk
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

-I/sys --> -I${DESTDIR}/sys, to support cross-compilation.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Jul 31 00:21:28 1993 UTC (29 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (colored)

Add RCS identifiers.

Revision 1.2 / (download) - annotate - [select for diffs], Sat May 1 16:26:52 1993 UTC (30 years, 1 month ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9
Changes since 1.1: +8 -7 lines
Diff to previous 1.1 (colored)

Reenable NS and ISO code.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 18:04:42 1993 UTC (30 years, 2 months ago) by cgd
Branch: MAIN
CVS Tags: patchkit-0-2-2, netbsd-alpha-1, netbsd-0-8

after 0.2.2 "stable" patches applied

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.




CVSweb <webmaster@jp.NetBSD.org>