The NetBSD Project

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

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.119: download - view: text, markup, annotated - select for diffs
Fri Oct 28 05:27:17 2022 UTC (2 years, 3 months ago) by ozaki-r
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, netbsd-10-1-RELEASE, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, HEAD
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +16 -14 lines
Adjust userland commands for struct inpcb separation

Only kvm users are affected.

Revision 1.118: download - view: text, markup, annotated - select for diffs
Fri Oct 28 05:24:07 2022 UTC (2 years, 3 months ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +5 -5 lines
Adjust userland commands for struct inpcb integration

Only kvm users are affected.

Revision 1.117: download - view: text, markup, annotated - select for diffs
Wed Sep 21 07:59:19 2022 UTC (2 years, 4 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +3 -3 lines
s/u_quad_t/uint64_t/. No functional change.

Revision 1.107.6.1: download - view: text, markup, annotated - select for diffs
Mon Sep 12 14:29:19 2022 UTC (2 years, 5 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE
Diff to: previous 1.107: preferred, colored; next MAIN 1.108: preferred, colored
Changes since revision 1.107: +200 -139 lines
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.

Revision 1.109.2.2: download - view: text, markup, annotated - select for diffs
Mon Sep 12 14:23:41 2022 UTC (2 years, 5 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE
Diff to: previous 1.109.2.1: preferred, colored; branchpoint 1.109: preferred, colored; next MAIN 1.110: preferred, colored
Changes since revision 1.109.2.1: +204 -141 lines
Pull up the following, requested by msaitoh in ticket #1522:

	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
	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.74-1.75,1.80-1.81 via patch
	usr.bin/netstat/main.c		1.100-1.103
	usr.bin/netstat/mbuf.c		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.86-1.88
	usr.bin/netstat/unix.c		1.36-1.37
	usr.bin/netstat/vtw.c		1.11,1.13

- sprintf() -> snprintf(), and adjust a buffer size to avoid any
  potential for overflow.
- Fix netstat -rs to print it correctly.
- 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.
- Remove Network ATM soft intr queue reporting, we don't have that
  in the kernel anymore.
- netstat.1: Add various xrefs present in the body to "See Also".
- KNF. Style fixes.

Revision 1.116: download - view: text, markup, annotated - select for diffs
Fri Sep 2 06:25:43 2022 UTC (2 years, 5 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +187 -120 lines
KNF. No functional change.

Revision 1.115: download - view: text, markup, annotated - select for diffs
Thu Sep 1 10:10:20 2022 UTC (2 years, 5 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +42 -40 lines
KNF. No functional change.

Revision 1.114: download - view: text, markup, annotated - select for diffs
Sat Oct 30 11:23:07 2021 UTC (3 years, 3 months ago) by nia
Branches: MAIN
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +7 -9 lines
netstat(1): convert malloc(x * y) and realloc(x * y) to reallocarr

Revision 1.113: download - view: text, markup, annotated - select for diffs
Fri Aug 28 07:23:48 2020 UTC (4 years, 5 months ago) by ozaki-r
Branches: MAIN
CVS tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +9 -9 lines
netstat: strengthen against kernel changes

netstat uses sysctlbyname to get counter data from the kernel.
sysctlbyname fails with ENOMEM if actual counter data in the kernel is
larger than a passed buffer.  netstat just skips showing counters of a
category if sysctlbyname fails, so if we added new counters of the
category to the kernel, nestat shows nothing for the category.

Fortunately sysctlbyname fills data as much as possible even if a passed
buffer is short.  So we can allow netstat to show the filled data anyway
if sysctlbyname fails with ENOMEM.

Note that this backcompat mechanism works only if new counters are
appended, and doesn't work if new counters are inserted into the middle
or counters are moved.

Revision 1.112: download - view: text, markup, annotated - select for diffs
Fri Aug 28 06:34:17 2020 UTC (4 years, 5 months ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +9 -2 lines
netstat: support new packet counters

Revision 1.111: download - view: text, markup, annotated - select for diffs
Thu Aug 6 07:38:54 2020 UTC (4 years, 6 months ago) by knakahara
Branches: MAIN
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +3 -2 lines
add missing {IP,IP6}_STAT_NOIPSEC to netstat.

Revision 1.108.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:05:45 2020 UTC (4 years, 10 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.108.2.1: preferred, colored; branchpoint 1.108: preferred, colored; next MAIN 1.109: preferred, colored
Changes since revision 1.108.2.1: +10 -10 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.109.2.1: download - view: text, markup, annotated - select for diffs
Mon Aug 19 15:56:49 2019 UTC (5 years, 5 months ago) by martin
Branches: 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
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +10 -10 lines
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.110: download - view: text, markup, annotated - select for diffs
Sun Aug 18 04:14:40 2019 UTC (5 years, 5 months ago) by kamil
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, is-mlppp-base, is-mlppp
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +10 -10 lines
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.108.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:10:22 2019 UTC (5 years, 8 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +4 -2 lines
Sync with HEAD

Revision 1.109: download - view: text, markup, annotated - select for diffs
Mon May 13 07:48:42 2019 UTC (5 years, 9 months ago) by ozaki-r
Branches: MAIN
CVS tags: phil-wifi-20190609, netbsd-9-base
Branch point for: netbsd-9
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +4 -2 lines
Show the number of packets dropped by pfil

Revision 1.107.12.1: download - view: text, markup, annotated - select for diffs
Mon May 21 04:36:18 2018 UTC (6 years, 8 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.107: preferred, colored; next MAIN 1.108: preferred, colored
Changes since revision 1.107: +2 -3 lines
Sync with HEAD

Revision 1.108: download - view: text, markup, annotated - select for diffs
Thu May 3 07:13:48 2018 UTC (6 years, 9 months ago) by maxv
Branches: MAIN
CVS tags: phil-wifi-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
Branch point for: phil-wifi
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +2 -3 lines
Remove now unused tcpip.h includes. Some were already unused before.

Revision 1.106.2.1: download - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:58 2017 UTC (8 years, 1 month ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.106: preferred, colored; next MAIN 1.107: preferred, colored
Changes since revision 1.106: +11 -3 lines
Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.107: download - view: text, markup, annotated - select for diffs
Fri Dec 23 06:22:00 2016 UTC (8 years, 1 month ago) by mrg
Branches: 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, pgoyette-compat-base, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, 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, matt-nb8-mediatek-base, matt-nb8-mediatek, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: pgoyette-compat, netbsd-8
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +11 -3 lines
in getpcblist_sysctl() if sysctlnametomib() fails, return NULL and
set *len = 0, rather than bailing.  now "netstat" doesn't give up
early on kernels without INET6.

Revision 1.101.2.2: download - view: text, markup, annotated - select for diffs
Wed Feb 11 14:04:19 2015 UTC (10 years ago) by martin
Branches: netbsd-6
Diff to: previous 1.101.2.1: preferred, colored; branchpoint 1.101: preferred, colored; next MAIN 1.102: preferred, colored
Changes since revision 1.101.2.1: +6 -4 lines
Pull up following revision(s) (requested by christos in ticket #1249):
	usr.bin/netstat/inet.c: revision 1.106
	usr.bin/netstat/inet6.c: revision 1.68
Allocate the right size for pcb blocks.

Revision 1.104.4.1: download - view: text, markup, annotated - select for diffs
Wed Feb 11 08:29:56 2015 UTC (10 years ago) by snj
Branches: 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
Diff to: previous 1.104: preferred, colored; next MAIN 1.105: preferred, colored
Changes since revision 1.104: +6 -4 lines
Pull up following revision(s) (requested by christos in ticket #503):
	usr.bin/netstat/inet.c: revision 1.106
	usr.bin/netstat/inet6.c: revision 1.68
Allocate the right size for pcb blocks.

Revision 1.106: download - view: text, markup, annotated - select for diffs
Sun Feb 8 15:09:45 2015 UTC (10 years ago) by christos
Branches: MAIN
CVS tags: pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, localcount-20160914
Branch point for: pgoyette-localcount
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +6 -4 lines
Allocate the right size for pcb blocks.
XXX: pullup-7!

Revision 1.105: download - view: text, markup, annotated - select for diffs
Sat Feb 7 19:36:06 2015 UTC (10 years ago) by christos
Branches: MAIN
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +10 -5 lines
print the timer flags.

Revision 1.101.6.2: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:05:01 2014 UTC (10 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.101.6.1: preferred, colored; branchpoint 1.101: preferred, colored; next MAIN 1.102: preferred, colored
Changes since revision 1.101.6.1: +8 -11 lines
Rebase to HEAD as of a few days ago.

Revision 1.100.2.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:42:46 2014 UTC (10 years, 8 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.100.2.1: preferred, colored; branchpoint 1.100: preferred, colored; next MAIN 1.101: preferred, colored
Changes since revision 1.100.2.1: +135 -92 lines
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.104: download - view: text, markup, annotated - select for diffs
Sat Nov 23 22:01:12 2013 UTC (11 years, 2 months ago) by christos
Branches: 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, netbsd-7-base
Branch point for: netbsd-7
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +10 -13 lines
Update for new pcb tailq's.
While here fix ipv6 pcb printing by making tcp6_dump with tcp.
XXX: Merge the inet and the inet6 code. It is silly to need to specify
-p tcp6 to print a tcp6 pcb, we already know what it is.

Revision 1.88.6.1.6.1: download - view: text, markup, annotated - select for diffs
Tue Jul 30 02:26:10 2013 UTC (11 years, 6 months ago) by msaitoh
Branches: netbsd-5-1
CVS tags: netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE
Diff to: previous 1.88.6.1: preferred, colored; next MAIN 1.88.6.2: preferred, colored
Changes since revision 1.88.6.1: +162 -114 lines
Pull up following revision(s) (requested by christos in ticket #1868):
	usr.bin/netstat/main.c: revision 1.86
	usr.bin/netstat/netstat.h: revision 1.47
	usr.bin/netstat/inet.c: revision 1.102
	usr.bin/netstat/inet.c: revision 1.103
	usr.bin/netstat/inet6.c: revision 1.61
	usr.bin/netstat/inet6.c: revision 1.62
Don't use -P as a kmem printer, verify that the address points to a pcb first!
Not all pointers are 64bit - use uintptr_t instead of uint64_t.

Revision 1.88.6.1.10.1: download - view: text, markup, annotated - select for diffs
Tue Jul 30 02:24:19 2013 UTC (11 years, 6 months ago) by msaitoh
Branches: netbsd-5-2
CVS tags: netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE
Diff to: previous 1.88.6.1: preferred, colored; next MAIN 1.88.6.2: preferred, colored
Changes since revision 1.88.6.1: +162 -114 lines
Pull up following revision(s) (requested by christos in ticket #1868):
	usr.bin/netstat/main.c: revision 1.86
	usr.bin/netstat/netstat.h: revision 1.47
	usr.bin/netstat/inet.c: revision 1.102
	usr.bin/netstat/inet.c: revision 1.103
	usr.bin/netstat/inet6.c: revision 1.61
	usr.bin/netstat/inet6.c: revision 1.62
Don't use -P as a kmem printer, verify that the address points to a pcb first!
Not all pointers are 64bit - use uintptr_t instead of uint64_t.

Revision 1.88.6.2: download - view: text, markup, annotated - select for diffs
Tue Jul 30 02:22:14 2013 UTC (11 years, 6 months ago) by msaitoh
Branches: netbsd-5
Diff to: previous 1.88.6.1: preferred, colored; branchpoint 1.88: preferred, colored; next MAIN 1.89: preferred, colored
Changes since revision 1.88.6.1: +162 -114 lines
Pull up following revision(s) (requested by christos in ticket #1868):
	usr.bin/netstat/main.c: revision 1.86
	usr.bin/netstat/netstat.h: revision 1.47
	usr.bin/netstat/inet.c: revision 1.102
	usr.bin/netstat/inet.c: revision 1.103
	usr.bin/netstat/inet6.c: revision 1.61
	usr.bin/netstat/inet6.c: revision 1.62
Don't use -P as a kmem printer, verify that the address points to a pcb first!
Not all pointers are 64bit - use uintptr_t instead of uint64_t.

Revision 1.101.8.1: download - view: text, markup, annotated - select for diffs
Mon Jul 29 07:10:13 2013 UTC (11 years, 6 months ago) by msaitoh
Branches: netbsd-6-0
CVS tags: netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE
Diff to: previous 1.101: preferred, colored; next MAIN 1.102: preferred, colored
Changes since revision 1.101: +130 -84 lines
Pull up following revision(s) (requested by christos in ticket #912):
	usr.bin/netstat/main.c: revision 1.86
	usr.bin/netstat/netstat.h: revision 1.47
	usr.bin/netstat/inet.c: revision 1.102
	usr.bin/netstat/inet.c: revision 1.103
	usr.bin/netstat/inet6.c: revision 1.61
	usr.bin/netstat/inet6.c: revision 1.62
Don't use -P as a kmem printer, verify that the address points to a pcb first!
Not all pointers are 64bit - use uintptr_t instead of uint64_t.

Revision 1.101.14.1: download - view: text, markup, annotated - select for diffs
Mon Jul 29 07:06:36 2013 UTC (11 years, 6 months ago) by msaitoh
Branches: netbsd-6-1
CVS tags: 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
Diff to: previous 1.101: preferred, colored; next MAIN 1.102: preferred, colored
Changes since revision 1.101: +130 -84 lines
Pull up following revision(s) (requested by christos in ticket #912):
	usr.bin/netstat/main.c: revision 1.86
	usr.bin/netstat/netstat.h: revision 1.47
	usr.bin/netstat/inet.c: revision 1.102
	usr.bin/netstat/inet.c: revision 1.103
	usr.bin/netstat/inet6.c: revision 1.61
	usr.bin/netstat/inet6.c: revision 1.62
Don't use -P as a kmem printer, verify that the address points to a pcb first!
Not all pointers are 64bit - use uintptr_t instead of uint64_t.

Revision 1.101.2.1: download - view: text, markup, annotated - select for diffs
Mon Jul 29 06:11:02 2013 UTC (11 years, 6 months ago) by msaitoh
Branches: netbsd-6
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +130 -84 lines
Pull up following revision(s) (requested by christos in ticket #912):
	usr.bin/netstat/main.c: revision 1.86
	usr.bin/netstat/netstat.h: revision 1.47
	usr.bin/netstat/inet.c: revision 1.102
	usr.bin/netstat/inet.c: revision 1.103
	usr.bin/netstat/inet6.c: revision 1.61
	usr.bin/netstat/inet6.c: revision 1.62
Don't use -P as a kmem printer, verify that the address points to a pcb first!
Not all pointers are 64bit - use uintptr_t instead of uint64_t.

Revision 1.101.6.1: download - view: text, markup, annotated - select for diffs
Sun Jun 23 06:29:01 2013 UTC (11 years, 7 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +130 -84 lines
resync from head

Revision 1.103: download - view: text, markup, annotated - select for diffs
Thu Jun 20 10:43:18 2013 UTC (11 years, 7 months ago) by martin
Branches: MAIN
CVS tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +3 -3 lines
Not all pointers are 64bit - use uintptr_t instead of uint64_t.

Revision 1.102: download - view: text, markup, annotated - select for diffs
Wed Jun 19 21:12:03 2013 UTC (11 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +130 -84 lines
Don't use -P as a kmem printer, verify that the address points to a pcb first!

Revision 1.100.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:09:37 2012 UTC (12 years, 10 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +5 -26 lines
sync with head

Revision 1.101: download - view: text, markup, annotated - select for diffs
Sat Dec 24 20:18:35 2011 UTC (13 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, 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-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, agc-symver-base, agc-symver
Branch point for: tls-maxphys, netbsd-6-1, netbsd-6-0, netbsd-6
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +5 -26 lines
use the names from the include files.

Revision 1.100: download - view: text, markup, annotated - select for diffs
Tue Oct 4 21:12:40 2011 UTC (13 years, 4 months ago) by shattered
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base
Branch point for: yamt-pagecache
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +4 -4 lines
PR/43968 -- add 'segqlen' of TCPCB to 'netstat -P'.

OK by wiz@

Revision 1.99: download - view: text, markup, annotated - select for diffs
Wed May 11 22:21:59 2011 UTC (13 years, 9 months ago) by dyoung
Branches: MAIN
CVS tags: cherry-xenmp-base, cherry-xenmp
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +6 -4 lines
Suppress whitespace at EOL to fix lib/librumphijack/t_tcpip.

Revision 1.98: download - view: text, markup, annotated - select for diffs
Wed May 11 15:08:59 2011 UTC (13 years, 9 months ago) by drochner
Branches: MAIN
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +5 -2 lines
use getmicrouptime(9) rather than microtime(9) for TIME_WAIT duration
calculation, because this doesn't get confused by system time changes,
and uses less CPU cycles
reviewed by dyoung

Revision 1.97: download - view: text, markup, annotated - select for diffs
Tue May 3 23:36:26 2011 UTC (13 years, 9 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +14 -7 lines
Do not display expired or reclaimed vestigial TIME_WAIT entries.

Revision 1.96: download - view: text, markup, annotated - select for diffs
Tue May 3 18:28:46 2011 UTC (13 years, 9 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +75 -10 lines
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.93.2.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 15:11:00 2011 UTC (13 years, 11 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.93: preferred, colored; next MAIN 1.94: preferred, colored
Changes since revision 1.93: +185 -233 lines
Sync with HEAD

Revision 1.95: download - view: text, markup, annotated - select for diffs
Wed Mar 2 19:52:03 2011 UTC (13 years, 11 months ago) by dyoung
Branches: MAIN
CVS tags: bouyer-quota2-nbase
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +185 -185 lines
Use __arraycount() and PRIu64.  Delete unnecessary casts to unsigned
long long.

Revision 1.94: download - view: text, markup, annotated - select for diffs
Tue Mar 1 19:01:59 2011 UTC (13 years, 11 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +2 -50 lines
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.93: download - view: text, markup, annotated - select for diffs
Mon Dec 13 21:15:30 2010 UTC (14 years, 2 months ago) by pooka
Branches: MAIN
CVS tags: matt-mips64-premerge-20101231, bouyer-quota2-base
Branch point for: bouyer-quota2
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +7 -6 lines
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.92: download - view: text, markup, annotated - select for diffs
Mon Dec 7 18:48:45 2009 UTC (15 years, 2 months ago) by christos
Branches: MAIN
CVS tags: matt-premerge-20091211
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +4 -2 lines
PR/42243: Yasuoka Masahiko: Add support for "net.inet.icmp.bmcastecho" support.
Print the current status.

Revision 1.91: download - view: text, markup, annotated - select for diffs
Mon Sep 14 10:36:50 2009 UTC (15 years, 5 months ago) by degroote
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +50 -2 lines
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.88.8.1: download - view: text, markup, annotated - select for diffs
Wed May 13 19:19:59 2009 UTC (15 years, 9 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.88: preferred, colored; next MAIN 1.89: preferred, colored
Changes since revision 1.88: +25 -22 lines
Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

Revision 1.90: download - view: text, markup, annotated - select for diffs
Sun Apr 12 16:08:37 2009 UTC (15 years, 10 months ago) by lukem
Branches: MAIN
CVS tags: jym-xensuspend-nbase, jym-xensuspend-base
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +20 -21 lines
Fix many WARNS=4 issues (-Wshadow -Wcast-qual -Wsign-compare).
Fix probable bug with numeric printing of anon ports when using sysctl.

Revision 1.77.2.1: download - view: text, markup, annotated - select for diffs
Tue Mar 31 17:56:41 2009 UTC (15 years, 10 months ago) by bouyer
Branches: netbsd-4
Diff to: previous 1.77: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77: +7 -3 lines
Pull up following revision(s) (requested by dholland in ticket #1292):
	usr.bin/netstat/inet.c: revision 1.89
	usr.bin/netstat/inet6.c: revision 1.51
	usr.bin/netstat/iso.c: revision 1.31
Make netstat handle -a properly; that is, don't show unconnected
listener sockets unless -a was given. (It was checking the local
address instead of the remote address for being INADDR_ANY or
equivalent.)
PR 38093 from Dieter Roelants; I adjusted the patch a little.

Revision 1.88.6.1: download - view: text, markup, annotated - select for diffs
Thu Mar 26 17:14:41 2009 UTC (15 years, 10 months ago) by snj
Branches: netbsd-5
CVS tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, 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
Branch point for: netbsd-5-2, netbsd-5-1
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +7 -3 lines
Pull up following revision(s) (requested by dholland in ticket #608):
	usr.bin/netstat/inet.c: revision 1.89
	usr.bin/netstat/inet6.c: revision 1.51
	usr.bin/netstat/iso.c: revision 1.31
Make netstat handle -a properly; that is, don't show unconnected
listener sockets unless -a was given. (It was checking the local
address instead of the remote address for being INADDR_ANY or
equivalent.)
PR 38093 from Dieter Roelants; I adjusted the patch a little.
This needs pullups for both -4 and -5.

Revision 1.89: download - view: text, markup, annotated - select for diffs
Sun Feb 22 07:43:01 2009 UTC (15 years, 11 months ago) by dholland
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +7 -3 lines
Make netstat handle -a properly; that is, don't show unconnected
listener sockets unless -a was given. (It was checking the local
address instead of the remote address for being INADDR_ANY or
equivalent.)

PR 38093 from Dieter Roelants; I adjusted the patch a little.

This needs pullups for both -4 and -5.

Revision 1.87.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:36:07 2008 UTC (16 years, 9 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.87: preferred, colored; next MAIN 1.88: preferred, colored
Changes since revision 1.87: +23 -33 lines
sync with head.

Revision 1.88: download - view: text, markup, annotated - select for diffs
Thu Apr 24 04:09:27 2008 UTC (16 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, netbsd-5-base, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, matt-mips64-base2, hpcarm-cleanup-nbase
Branch point for: netbsd-5, jym-xensuspend
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +23 -33 lines
Note which things are not available by KVM, and print a nice message
stating so if someone specifically asks for it.

Revision 1.87: download - view: text, markup, annotated - select for diffs
Tue Apr 15 16:02:04 2008 UTC (16 years, 10 months ago) by thorpej
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base
Branch point for: yamt-pf42
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +28 -19 lines
Make IGMP stats per-cpu.

Revision 1.86: download - view: text, markup, annotated - select for diffs
Tue Apr 15 15:17:54 2008 UTC (16 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +46 -36 lines
Make ARP stats per-cpu.

Revision 1.85: download - view: text, markup, annotated - select for diffs
Tue Apr 15 06:03:28 2008 UTC (16 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +24 -24 lines
Make CARP status per-cpu.

Revision 1.84: download - view: text, markup, annotated - select for diffs
Tue Apr 15 04:50:05 2008 UTC (16 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +12 -25 lines
Use ANSI function decls throughout.

Revision 1.83: download - view: text, markup, annotated - select for diffs
Tue Apr 8 01:03:58 2008 UTC (16 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +83 -85 lines
Change TCP stats from a structure to an array of uint64_t's.

Note: This is ABI-compatible with the old tcpstat structure; old netstat
binaries will continue to work properly.

Revision 1.82: download - view: text, markup, annotated - select for diffs
Mon Apr 7 06:31:28 2008 UTC (16 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +42 -44 lines
Change IP stats from a structure to an array of uint64_t's.

Note: This is ABI-compatible with the old ipstat structure; old netstat
binaries will continue to work properly.

Revision 1.81: download - view: text, markup, annotated - select for diffs
Sun Apr 6 21:53:25 2008 UTC (16 years, 10 months ago) by jnemeth
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +3 -3 lines
fix build problem introduced in 1.79

Revision 1.80: download - view: text, markup, annotated - select for diffs
Sun Apr 6 20:17:27 2008 UTC (16 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +30 -31 lines
Change UDP stats from a structure to an array of uint64_t's.

Note: This is ABI-compatible with the old icmpstat structure; old netstat
binaries will continue to work properly.

Revision 1.79: download - view: text, markup, annotated - select for diffs
Sun Apr 6 19:04:50 2008 UTC (16 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +21 -23 lines
Change ICMP stats from a structure to an array of uint64_t's.

Note: This is ABI-compatible with the old icmpstat structure; old netstat
binaries will continue to work properly.

Revision 1.78: download - view: text, markup, annotated - select for diffs
Tue Jul 10 21:12:33 2007 UTC (17 years, 7 months ago) by ad
Branches: MAIN
CVS tags: matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +8 -4 lines
Make netstat build again. I don't see why it has any business dumping
the raw contents of tcpcb but that's another story.

Revision 1.77: download - view: text, markup, annotated - select for diffs
Fri Sep 22 23:21:52 2006 UTC (18 years, 4 months ago) by elad
Branches: 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
Branch point for: netbsd-4
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +3 -3 lines
PR/31347: Geoff C. Wing: netstat err message is ambiguous about cause
Applied patch, thanks!

Revision 1.76: download - view: text, markup, annotated - select for diffs
Tue Sep 5 00:29:36 2006 UTC (18 years, 5 months ago) by rpaulo
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +5 -2 lines
Import of TCP ECN algorithm for congestion control.
Both available for IPv4 and IPv6.
Basic implementation test results are available at
http://netbsd-soc.sourceforge.net/projects/ecn/testresults.html.

Work sponsored by the Google Summer of Code project 2006.
Special thanks to Kentaro Kurahone, Allen Briggs and Matt Thomas for their
help, comments and support during the project.

Revision 1.75: download - view: text, markup, annotated - select for diffs
Thu Aug 17 01:42:57 2006 UTC (18 years, 6 months ago) by rpaulo
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +0 -3 lines
Revert previous.

Revision 1.74: download - view: text, markup, annotated - select for diffs
Thu Aug 17 01:32:13 2006 UTC (18 years, 6 months ago) by rpaulo
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +5 -2 lines
Adapt to ECN.

Revision 1.73: download - view: text, markup, annotated - select for diffs
Tue Jun 20 19:22:17 2006 UTC (18 years, 7 months ago) by rpaulo
Branches: MAIN
CVS tags: abandoned-netbsd-4-base, abandoned-netbsd-4
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +6 -4 lines
It's not an error if we can't print CARP stats, it just means it's not built
in.

Revision 1.70.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 19 04:17:07 2006 UTC (18 years, 7 months ago) by chap
Branches: chap-midi
Diff to: previous 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70: +12 -11 lines
Sync with head.

Revision 1.72: download - view: text, markup, annotated - select for diffs
Sun May 28 16:51:40 2006 UTC (18 years, 8 months ago) by elad
Branches: MAIN
CVS tags: chap-midi-nbase, chap-midi-base
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +10 -10 lines
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.71: download - view: text, markup, annotated - select for diffs
Sun May 21 21:01:55 2006 UTC (18 years, 8 months ago) by liamjfoy
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +4 -3 lines
check if malloc(3) failed

ok joerg@

Revision 1.70: download - view: text, markup, annotated - select for diffs
Thu May 18 17:19:22 2006 UTC (18 years, 9 months ago) by riz
Branches: MAIN
Branch point for: chap-midi
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +18 -17 lines
Use PRIu64 to format uint64_t quantities, instead of %llu, in
newly-introduced code.

XXX more %llu cleanup is needed throughout netstat code.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Thu May 18 09:05:51 2006 UTC (18 years, 9 months ago) by liamjfoy
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +55 -2 lines
Integrate Common Address Redundancy Procotol (CARP) from OpenBSD

'pseudo-device	carp'

Thanks to: joerg@ christos@ riz@ and others who tested
Ok: core@

Revision 1.68: download - view: text, markup, annotated - select for diffs
Fri Aug 12 14:08:16 2005 UTC (19 years, 6 months ago) by elad
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +3 -3 lines
Use PRIxPTR when printing a pointer.

Revision 1.67: download - view: text, markup, annotated - select for diffs
Mon Aug 8 12:11:52 2005 UTC (19 years, 6 months ago) by he
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +5 -5 lines
Replace usage of caddr_t with intptr_t, to allow this to build cleanly
on both 32- and 64-bit archs.

Revision 1.66: download - view: text, markup, annotated - select for diffs
Sun Aug 7 17:10:36 2005 UTC (19 years, 6 months ago) by elad
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +121 -46 lines
Use sysctl to read live kernel PF_INET PCBs.

Revision 1.65: download - view: text, markup, annotated - select for diffs
Sat Aug 6 17:58:13 2005 UTC (19 years, 6 months ago) by elad
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +53 -15 lines
Use sysctl to fetch IP, ICMP, TCP, and UDP statistics.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Thu Aug 4 19:41:28 2005 UTC (19 years, 6 months ago) by rpaulo
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +3 -2 lines
Added #include <kvm.h> since netstat.h, which is included too, needs it.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Mon Sep 6 14:51:32 2004 UTC (20 years, 5 months ago) by martin
Branches: 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
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +3 -6 lines
Make it compile on ports where u_quad_t is not printf-format-compatible
with unsigned long long.

Revision 1.62: download - view: text, markup, annotated - select for diffs
Sat Sep 4 23:35:43 2004 UTC (20 years, 5 months ago) by manu
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +42 -2 lines
IPv4 PIM support, from the submission of Pavlin Radoslavov on tech-net@

Revision 1.61: download - view: text, markup, annotated - select for diffs
Tue May 18 14:44:41 2004 UTC (20 years, 9 months ago) by itojun
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +4 -2 lines
print stat for TCP MD5 signature

Revision 1.51.2.2: download - view: text, markup, annotated - select for diffs
Wed Oct 22 06:06:23 2003 UTC (21 years, 3 months ago) by jmc
Branches: netbsd-1-6
CVS tags: 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
Diff to: previous 1.51.2.1: preferred, colored; branchpoint 1.51: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51.2.1: +5 -2 lines
Pullup rev 1.57 (requested by he in ticket #1530)


        Introduce a new INVOKING status for callouts, and use it to close
        a race condition in the TCP code.  Fixes PR#20390.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Fri Oct 17 22:28:11 2003 UTC (21 years, 4 months ago) by enami
Branches: MAIN
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-base, 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-0, netbsd-2
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +4 -2 lines
Print ips_rcvmemdrop and ips_nogif.

Revision 1.51.2.1: download - view: text, markup, annotated - select for diffs
Fri Sep 5 13:42:22 2003 UTC (21 years, 5 months ago) by tron
Branches: netbsd-1-6
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +3 -2 lines
Pull up revision 1.52 (requested by tls in ticket #1445):
path MTU discovery blackhole detection.
PR 12790 (sorry for not committing it for a long time)

Revision 1.59: download - view: text, markup, annotated - select for diffs
Thu Sep 4 09:23:38 2003 UTC (21 years, 5 months ago) by itojun
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +8 -5 lines
synchronize w/ inpcb/in6pcb change

Revision 1.58: download - view: text, markup, annotated - select for diffs
Thu Aug 7 11:15:19 2003 UTC (21 years, 6 months ago) by agc
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +3 -7 lines
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Sun Jul 20 16:35:11 2003 UTC (21 years, 6 months ago) by he
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +5 -2 lines
As a temporary workaround, apply the fix from PR#20390, thereby
cooperating with the callout code in working around the race
condition caused by the TCP code's use of the callout facility.

Instead of unconditionally releasing memory in tcp_close() and
SYN_CACHE_PUT(), check whether any of the related callout handlers
are about to be invoked (but have not yet done callout_ack()), and
if so, just mark the associated data structure (tcpcb or syn cache
entry) as "dead", and test for this (and release storage) in the
callout handler functions.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Sat Jul 12 13:39:23 2003 UTC (21 years, 7 months ago) by itojun
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +4 -5 lines
strlcpy

Revision 1.55: download - view: text, markup, annotated - select for diffs
Sat Mar 22 15:18:36 2003 UTC (21 years, 10 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +3 -3 lines
it's not necessary to limit the service name artificially to 8 characters
in inet*print() - only first 'width' characters of the 'host.service'
string would be printed anyway, so allow full service name if string would fit

Revision 1.54: download - view: text, markup, annotated - select for diffs
Tue Feb 4 01:22:08 2003 UTC (22 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +6 -5 lines
Update for callout changes, and show TCP timers in relative, rather
than absolute ticks.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Mon Feb 3 23:37:09 2003 UTC (22 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +3 -3 lines
Test CALLOUT_PENDING, not CALLOUT_ACTIVE.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Sun May 26 16:05:45 2002 UTC (22 years, 8 months ago) by itojun
Branches: MAIN
CVS tags: fvdl_fs64_base
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +3 -2 lines
path MTU discovery blackhole detection.
PR 12790 (sorry for not committing it for a long time)

Revision 1.51: download - view: text, markup, annotated - select for diffs
Wed Feb 27 02:33:51 2002 UTC (22 years, 11 months ago) by lukem
Branches: 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-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001
Branch point for: netbsd-1-6
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +3 -4 lines
if not -n and the local socket doesn't have INP_ANONPORT set, always try
to determine the symbolic name of the foreign port.

previously the foreign port would be displayed numerically in this case if
the local & foreign ports were different.  this particular behaviour was
added in rev 1.28 when I added INP_ANONPORT support from FreeBSD, and for
the life of me I can't fathom the rationale for it ;-|

Revision 1.50: download - view: text, markup, annotated - select for diffs
Sat Sep 15 16:28:15 2001 UTC (23 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +3 -3 lines
Fix a printf format/argument cast.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Mon Sep 10 22:19:03 2001 UTC (23 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +4 -4 lines
tcp_dump(): Also print the address of the in6pcb.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Mon Sep 10 22:17:28 2001 UTC (23 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +7 -4 lines
Update for TCP timer changes.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Mon Sep 10 15:25:24 2001 UTC (23 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +8 -5 lines
Update for field name changes in struct tcpcb.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Mon May 28 04:22:55 2001 UTC (23 years, 8 months ago) by assar
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +12 -12 lines
add `-s' that prints port numbers symbolically but addresses numerically

Revision 1.45: download - view: text, markup, annotated - select for diffs
Fri Apr 6 05:10:28 2001 UTC (23 years, 10 months ago) by itojun
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +3 -3 lines
pedant changes for strcpy/sprintf.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Tue Mar 20 17:00:08 2001 UTC (23 years, 11 months ago) by itojun
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +5 -5 lines
add few icmp type names.
http://www.isi.edu/in-notes/iana/assignments/icmp-parameters

Revision 1.43: download - view: text, markup, annotated - select for diffs
Fri Mar 2 04:26:11 2001 UTC (23 years, 11 months ago) by itojun
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +3 -2 lines
increase ipstat.ips_badaddr if the packet fails to pass address checks.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Wed Oct 18 19:20:03 2000 UTC (24 years, 4 months ago) by itojun
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +3 -2 lines
count successful path MTU changes.  good for debugging.
(there could be some discussion on when to increase the counter...)

Revision 1.41: download - view: text, markup, annotated - select for diffs
Tue Aug 15 20:24:58 2000 UTC (24 years, 6 months ago) by jhawk
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +56 -2 lines
Add kernel counters for arp events, displayable with netstat -s -f arp

Revision 1.40: download - view: text, markup, annotated - select for diffs
Mon Jul 3 05:02:38 2000 UTC (24 years, 7 months ago) by enami
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -3 lines
Backout part of rev 1.29 which doesn't match with the log message.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Sat Feb 26 09:55:24 2000 UTC (24 years, 11 months ago) by itojun
Branches: MAIN
CVS tags: 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
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -108 lines
revise IPsec, pfkey, IPv6 multicast and IPv6 statistics.  (sync with kame)

Revision 1.37.4.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:37:06 1999 UTC (25 years, 1 month ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +161 -151 lines
Pull up to last week's -current.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Fri Nov 19 10:44:33 1999 UTC (25 years, 3 months ago) by bouyer
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +161 -151 lines
Change printf formats for 64bit counters.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Thu Jul 1 18:40:35 1999 UTC (25 years, 7 months ago) by itojun
Branches: MAIN
CVS tags: comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +111 -2 lines
make netstat IPv6-ready.

Revision 1.35.2.1: download - view: text, markup, annotated - select for diffs
Thu Apr 29 14:57:08 1999 UTC (25 years, 9 months ago) by perry
Branches: netbsd-1-4
CVS tags: netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001
Diff to: previous 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35: +3 -2 lines
pullup 1.35->1.36 (thorpej)

Revision 1.36: download - view: text, markup, annotated - select for diffs
Thu Apr 29 03:58:27 1999 UTC (25 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -2 lines
Print SYN,ACK retransmission statistics.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Thu Feb 18 07:42:12 1999 UTC (26 years ago) by lukem
Branches: MAIN
CVS tags: netbsd-1-4-base
Branch point for: netbsd-1-4
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +30 -13 lines
rework so that `-A -n' won't truncate the `ipaddr.port' fields, by displaying
an abbreviated state column in that case (to fit in 80 columns)

Revision 1.34: download - view: text, markup, annotated - select for diffs
Tue Aug 25 20:59:39 1998 UTC (26 years, 5 months ago) by ross
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +4 -3 lines
Add { and } to shut up egcs. Reformat the more questionable code.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Mon Jul 20 21:03:37 1998 UTC (26 years, 7 months ago) by sommerfe
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +6 -4 lines
Fix bogon in length argument to snprintf when formatting port number

Revision 1.32: download - view: text, markup, annotated - select for diffs
Sun Jul 12 03:20:14 1998 UTC (26 years, 7 months ago) by mrg
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +14 -10 lines
- KNF
- use err(3)
- sprintf/strcpy -> snprintf/strncpy
- change route.c:domask() to take a size_t of the buffer passed.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Mon Jul 6 06:52:14 1998 UTC (26 years, 7 months ago) by mrg
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +9 -6 lines
- use an array MAXHOSTNAMELEN+1 size to hold hostnames
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames

Revision 1.30: download - view: text, markup, annotated - select for diffs
Wed Jun 3 02:41:10 1998 UTC (26 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +59 -2 lines
Add an option to dump the contents of a PCB at the specified address, and
implement this for TCP.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Wed Apr 29 21:39:38 1998 UTC (26 years, 9 months ago) by matt
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +7 -4 lines
Add support for printing fast forwarded packets.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Wed Jan 7 22:55:07 1998 UTC (27 years, 1 month ago) by lukem
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +21 -11 lines
if INP_ANONPORT is set in the pcb, don't getservbyport the local port,
as the service name is irrelevent. from freebsd

Revision 1.27: download - view: text, markup, annotated - select for diffs
Wed Dec 17 06:17:26 1997 UTC (27 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +4 -3 lines
Print the connections dropped due to excessive persist timeouts.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sat Dec 13 21:03:46 1997 UTC (27 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -3 lines
Nuke "delayed window updates" statistic.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Thu Dec 11 07:00:01 1997 UTC (27 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -2 lines
Print window updates delayed (piggybacked on delayed ACKs).

Revision 1.24: download - view: text, markup, annotated - select for diffs
Wed Dec 10 07:26:02 1997 UTC (27 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -2 lines
Report connections drained due to memory shortage.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sun Oct 19 05:49:59 1997 UTC (27 years, 4 months ago) by lukem
Branches: MAIN
CVS tags: 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
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +10 -9 lines
fix up .Nm usage, getopt returns -1 not EOF

Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Jul 23 21:31:27 1997 UTC (27 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +15 -2 lines
Pull SYN_cache_branch down onto the main line.

Revision 1.21.2.2: download - view: text, markup, annotated - select for diffs
Sat Jul 12 18:06:27 1997 UTC (27 years, 7 months ago) by thorpej
Branches: SYN_cache_branch
Diff to: previous 1.21.2.1: preferred, colored; branchpoint 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21.2.1: +537 -0 lines
Print statistics gather by the compressed TCP state engine.

Revision 1.21.2.1
Thu May 22 17:21:28 1997 UTC (27 years, 8 months ago) by thorpej
Branches: SYN_cache_branch
FILE REMOVED
Changes since revision 1.21: +0 -524 lines
file inet.c was added on branch SYN_cache_branch on 1997-07-12 18:06:27 +0000

Revision 1.21: download - view: text, markup, annotated - select for diffs
Thu May 22 17:21:28 1997 UTC (27 years, 8 months ago) by christos
Branches: MAIN
CVS tags: SYN_cache_cur_base
Branch point for: SYN_cache_branch
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +4 -4 lines
PR/3660: Dave Huang: Fix formatting misalignments in appletalk
PR/3659: Dave Huang: Fix PCB reporting in appletalk

Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Apr 3 04:46:46 1997 UTC (27 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +32 -20 lines
- netatalk additions
- printf format fixes
- minor prototype cleanups

Revision 1.1.1.2 (vendor branch): download - view: text, markup, annotated - select for diffs
Thu Jan 2 07:21:42 1997 UTC (28 years, 1 month ago) by mellon
Branches: CSRG
CVS tags: lite-2
Diff to: previous 1.1.1.1: preferred, colored
Changes since revision 1.1.1.1: +4 -2 lines
imported from 44lite2

Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Dec 9 12:48:37 1996 UTC (28 years, 2 months ago) by neil
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -3 lines
 errors not generated 'cuz old message was icmp ->     [EWW!]
	 errors not generated because old message was icmp

Revision 1.15.4.1: download - view: text, markup, annotated - select for diffs
Thu Nov 14 09:08:18 1996 UTC (28 years, 3 months ago) by thorpej
Branches: netbsd-1-2
CVS tags: netbsd-1-2-PATCH001
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +3 -2 lines
Pull up from trunk:

> revision 1.18
> date: 1996/10/25 07:41:35;  author: thorpej;  state: Exp;  lines: +3 -2
> Add the `toolong' count to the IP stats display.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Oct 25 07:41:35 1996 UTC (28 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -2 lines
Add the `toolong' count to the IP stats display.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Oct 8 01:18:10 1996 UTC (28 years, 4 months ago) by explorer
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +95 -95 lines
use %lu, not %u.  This covers more than my original %d -> %u change...

Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Oct 7 18:42:25 1996 UTC (28 years, 4 months ago) by explorer
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +43 -43 lines
Netstat -s should use %u for u_long parameters...  Closes bin/2817 by me

Revision 1.14.2.1: download - view: text, markup, annotated - select for diffs
Fri Feb 2 13:33:08 1996 UTC (29 years ago) by mycroft
Branches: netbsd-1-1
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +13 -4 lines
Bring in changes for mondo patch 2.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Wed Jan 31 04:01:48 1996 UTC (29 years ago) by mycroft
Branches: MAIN
CVS tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-BETA
Branch point for: netbsd-1-2
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +13 -4 lines
Update to match kernel.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Tue Oct 3 21:42:37 1995 UTC (29 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001
Branch point for: netbsd-1-1
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +7 -2 lines
New-style RCS ids.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Jun 19 00:13:05 1995 UTC (29 years, 8 months ago) by cgd
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +13 -8 lines
update for new network structures

Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Jun 12 03:03:10 1995 UTC (29 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +11 -16 lines
Update to match kernel changes.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun May 14 08:20:16 1995 UTC (29 years, 9 months ago) by cgd
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -1 lines
print out number of malformed fragments dropped

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Dec 24 17:21:51 1994 UTC (30 years, 1 month ago) by cgd
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -1 lines
a couple of these need <sys/queue.h>

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Thu Oct 6 16:35:07 1994 UTC (30 years, 4 months ago) by mycroft
Branches: CSRG
CVS tags: lite-1
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +155 -84 lines
Import original 4.4-Lite version.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri May 13 08:08:11 1994 UTC (30 years, 9 months ago) by mycroft
Branches: 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
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +140 -124 lines
Clean up import.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Apr 1 09:18:10 1994 UTC (30 years, 10 months ago) by cgd
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +6 -6 lines
kill lots of off_t's.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Mar 28 10:29:37 1994 UTC (30 years, 10 months ago) by cgd
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +15 -14 lines
clean up, for off_t...  ugliest 'cleaning' possible, i think...

Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Jan 11 19:42:51 1994 UTC (31 years, 1 month ago) by brezak
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +44 -2 lines
Incorporate changes for IP mcast and IGMP from cmaeda@cs.washington.edu.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Aug 1 18:10:52 1993 UTC (31 years, 6 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
Add RCS identifiers.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu May 20 12:03:49 1993 UTC (31 years, 9 months ago) by cgd
Branches: 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
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +1 -2 lines
get rid of select.h inclusion, and clean up headers *more*.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu May 20 10:40:41 1993 UTC (31 years, 9 months ago) by cgd
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -1 lines
fix for new select & clean up headers

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Apr 26 16:54:54 1993 UTC (31 years, 9 months ago) by glass
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +13 -1 lines
print out more of the gathered udp stats (actually all of them)

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Mar 21 18:04:42 1993 UTC (31 years, 11 months ago) by cgd
Branches: MAIN
CVS tags: patchkit-0-2-2, netbsd-alpha-1, netbsd-0-8
after 0.2.2 "stable" patches applied

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>