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


Default branch: MAIN


Revision 1.119 / (download) - annotate - [select for diffs], Fri Oct 28 05:27:17 2022 UTC (16 months ago) by ozaki-r
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, HEAD
Changes since 1.118: +16 -14 lines
Diff to previous 1.118 (colored)

Adjust userland commands for struct inpcb separation

Only kvm users are affected.

Revision 1.118 / (download) - annotate - [select for diffs], Fri Oct 28 05:24:07 2022 UTC (16 months ago) by ozaki-r
Branch: MAIN
Changes since 1.117: +5 -5 lines
Diff to previous 1.117 (colored)

Adjust userland commands for struct inpcb integration

Only kvm users are affected.

Revision 1.117 / (download) - annotate - [select for diffs], Wed Sep 21 07:59:19 2022 UTC (17 months, 1 week ago) by msaitoh
Branch: MAIN
Changes since 1.116: +3 -3 lines
Diff to previous 1.116 (colored)

s/u_quad_t/uint64_t/. No functional change.

Revision 1.107.6.1 / (download) - annotate - [select for diffs], Mon Sep 12 14:29:19 2022 UTC (17 months, 3 weeks ago) by martin
Branch: netbsd-8
Changes since 1.107: +200 -139 lines
Diff to previous 1.107 (colored) next main 1.108 (colored)

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) - annotate - [select for diffs], Mon Sep 12 14:23:41 2022 UTC (17 months, 3 weeks ago) by martin
Branch: netbsd-9
Changes since 1.109.2.1: +204 -141 lines
Diff to previous 1.109.2.1 (colored) to branchpoint 1.109 (colored) next main 1.110 (colored)

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) - annotate - [select for diffs], Fri Sep 2 06:25:43 2022 UTC (18 months ago) by msaitoh
Branch: MAIN
Changes since 1.115: +187 -120 lines
Diff to previous 1.115 (colored)

KNF. No functional change.

Revision 1.115 / (download) - annotate - [select for diffs], Thu Sep 1 10:10:20 2022 UTC (18 months ago) by msaitoh
Branch: MAIN
Changes since 1.114: +42 -40 lines
Diff to previous 1.114 (colored)

KNF. No functional change.

Revision 1.114 / (download) - annotate - [select for diffs], Sat Oct 30 11:23:07 2021 UTC (2 years, 4 months ago) by nia
Branch: MAIN
Changes since 1.113: +7 -9 lines
Diff to previous 1.113 (colored)

netstat(1): convert malloc(x * y) and realloc(x * y) to reallocarr

Revision 1.113 / (download) - annotate - [select for diffs], Fri Aug 28 07:23:48 2020 UTC (3 years, 6 months ago) by ozaki-r
Branch: MAIN
CVS Tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.112: +9 -9 lines
Diff to previous 1.112 (colored)

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) - annotate - [select for diffs], Fri Aug 28 06:34:17 2020 UTC (3 years, 6 months ago) by ozaki-r
Branch: MAIN
Changes since 1.111: +9 -2 lines
Diff to previous 1.111 (colored)

netstat: support new packet counters

Revision 1.111 / (download) - annotate - [select for diffs], Thu Aug 6 07:38:54 2020 UTC (3 years, 6 months ago) by knakahara
Branch: MAIN
Changes since 1.110: +3 -2 lines
Diff to previous 1.110 (colored)

add missing {IP,IP6}_STAT_NOIPSEC to netstat.

Revision 1.108.2.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:05:45 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.108.2.1: +10 -10 lines
Diff to previous 1.108.2.1 (colored) to branchpoint 1.108 (colored) next main 1.109 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.109.2.1 / (download) - annotate - [select for diffs], Mon Aug 19 15:56:49 2019 UTC (4 years, 6 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.109: +10 -10 lines
Diff to previous 1.109 (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.110 / (download) - annotate - [select for diffs], Sun Aug 18 04:14:40 2019 UTC (4 years, 6 months ago) by kamil
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, is-mlppp-base, is-mlppp
Changes since 1.109: +10 -10 lines
Diff to previous 1.109 (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.108.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:10:22 2019 UTC (4 years, 8 months ago) by christos
Branch: phil-wifi
Changes since 1.108: +4 -2 lines
Diff to previous 1.108 (colored)

Sync with HEAD

Revision 1.109 / (download) - annotate - [select for diffs], Mon May 13 07:48:42 2019 UTC (4 years, 9 months ago) by ozaki-r
Branch: MAIN
CVS Tags: phil-wifi-20190609, netbsd-9-base
Branch point for: netbsd-9
Changes since 1.108: +4 -2 lines
Diff to previous 1.108 (colored)

Show the number of packets dropped by pfil

Revision 1.107.12.1 / (download) - annotate - [select for diffs], Mon May 21 04:36:18 2018 UTC (5 years, 9 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.107: +2 -3 lines
Diff to previous 1.107 (colored) next main 1.108 (colored)

Sync with HEAD

Revision 1.108 / (download) - annotate - [select for diffs], Thu May 3 07:13:48 2018 UTC (5 years, 10 months ago) by maxv
Branch: 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
Changes since 1.107: +2 -3 lines
Diff to previous 1.107 (colored)

Remove now unused tcpip.h includes. Some were already unused before.

Revision 1.106.2.1 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:58 2017 UTC (7 years, 1 month ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.106: +11 -3 lines
Diff to previous 1.106 (colored) next main 1.107 (colored)

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

Revision 1.107 / (download) - annotate - [select for diffs], Fri Dec 23 06:22:00 2016 UTC (7 years, 2 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, 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
Changes since 1.106: +11 -3 lines
Diff to previous 1.106 (colored)

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) - annotate - [select for diffs], Wed Feb 11 14:04:19 2015 UTC (9 years ago) by martin
Branch: netbsd-6
Changes since 1.101.2.1: +6 -4 lines
Diff to previous 1.101.2.1 (colored) to branchpoint 1.101 (colored) next main 1.102 (colored)

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) - annotate - [select for diffs], Wed Feb 11 08:29:56 2015 UTC (9 years ago) by snj
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.104: +6 -4 lines
Diff to previous 1.104 (colored) next main 1.105 (colored)

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) - annotate - [select for diffs], Sun Feb 8 15:09:45 2015 UTC (9 years ago) by christos
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.105: +6 -4 lines
Diff to previous 1.105 (colored)

Allocate the right size for pcb blocks.
XXX: pullup-7!

Revision 1.105 / (download) - annotate - [select for diffs], Sat Feb 7 19:36:06 2015 UTC (9 years ago) by christos
Branch: MAIN
Changes since 1.104: +10 -5 lines
Diff to previous 1.104 (colored)

print the timer flags.

Revision 1.101.6.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:05:01 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.101.6.1: +8 -11 lines
Diff to previous 1.101.6.1 (colored) to branchpoint 1.101 (colored) next main 1.102 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.100.2.2 / (download) - annotate - [select for diffs], Thu May 22 11:42:46 2014 UTC (9 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.100.2.1: +135 -92 lines
Diff to previous 1.100.2.1 (colored) to branchpoint 1.100 (colored) next main 1.101 (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.104 / (download) - annotate - [select for diffs], Sat Nov 23 22:01:12 2013 UTC (10 years, 3 months ago) by christos
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, netbsd-7-base
Branch point for: netbsd-7
Changes since 1.103: +10 -13 lines
Diff to previous 1.103 (colored)

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) - annotate - [select for diffs], Tue Jul 30 02:26:10 2013 UTC (10 years, 7 months ago) by msaitoh
Branch: netbsd-5-1
CVS Tags: netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE
Changes since 1.88.6.1: +162 -114 lines
Diff to previous 1.88.6.1 (colored) next main 1.88.6.2 (colored)

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) - annotate - [select for diffs], Tue Jul 30 02:24:19 2013 UTC (10 years, 7 months ago) by msaitoh
Branch: netbsd-5-2
CVS Tags: netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE
Changes since 1.88.6.1: +162 -114 lines
Diff to previous 1.88.6.1 (colored) next main 1.88.6.2 (colored)

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) - annotate - [select for diffs], Tue Jul 30 02:22:14 2013 UTC (10 years, 7 months ago) by msaitoh
Branch: netbsd-5
Changes since 1.88.6.1: +162 -114 lines
Diff to previous 1.88.6.1 (colored) to branchpoint 1.88 (colored) next main 1.89 (colored)

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) - annotate - [select for diffs], Mon Jul 29 07:10:13 2013 UTC (10 years, 7 months ago) by msaitoh
Branch: 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
Changes since 1.101: +130 -84 lines
Diff to previous 1.101 (colored) next main 1.102 (colored)

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) - annotate - [select for diffs], Mon Jul 29 07:06:36 2013 UTC (10 years, 7 months ago) by msaitoh
Branch: 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
Changes since 1.101: +130 -84 lines
Diff to previous 1.101 (colored) next main 1.102 (colored)

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) - annotate - [select for diffs], Mon Jul 29 06:11:02 2013 UTC (10 years, 7 months ago) by msaitoh
Branch: netbsd-6
Changes since 1.101: +130 -84 lines
Diff to previous 1.101 (colored)

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) - annotate - [select for diffs], Sun Jun 23 06:29:01 2013 UTC (10 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.101: +130 -84 lines
Diff to previous 1.101 (colored)

resync from head

Revision 1.103 / (download) - annotate - [select for diffs], Thu Jun 20 10:43:18 2013 UTC (10 years, 8 months ago) by martin
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Changes since 1.102: +3 -3 lines
Diff to previous 1.102 (colored)

Not all pointers are 64bit - use uintptr_t instead of uint64_t.

Revision 1.102 / (download) - annotate - [select for diffs], Wed Jun 19 21:12:03 2013 UTC (10 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.101: +130 -84 lines
Diff to previous 1.101 (colored)

Don't use -P as a kmem printer, verify that the address points to a pcb first!

Revision 1.100.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:09:37 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.100: +5 -26 lines
Diff to previous 1.100 (colored)

sync with head

Revision 1.101 / (download) - annotate - [select for diffs], Sat Dec 24 20:18:35 2011 UTC (12 years, 2 months ago) by christos
Branch: 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
Changes since 1.100: +5 -26 lines
Diff to previous 1.100 (colored)

use the names from the include files.

Revision 1.100 / (download) - annotate - [select for diffs], Tue Oct 4 21:12:40 2011 UTC (12 years, 5 months ago) by shattered
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base
Branch point for: yamt-pagecache
Changes since 1.99: +4 -4 lines
Diff to previous 1.99 (colored)

PR/43968 -- add 'segqlen' of TCPCB to 'netstat -P'.

OK by wiz@

Revision 1.99 / (download) - annotate - [select for diffs], Wed May 11 22:21:59 2011 UTC (12 years, 9 months ago) by dyoung
Branch: MAIN
CVS Tags: cherry-xenmp-base, cherry-xenmp
Changes since 1.98: +6 -4 lines
Diff to previous 1.98 (colored)

Suppress whitespace at EOL to fix lib/librumphijack/t_tcpip.

Revision 1.98 / (download) - annotate - [select for diffs], Wed May 11 15:08:59 2011 UTC (12 years, 9 months ago) by drochner
Branch: MAIN
Changes since 1.97: +5 -2 lines
Diff to previous 1.97 (colored)

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) - annotate - [select for diffs], Tue May 3 23:36:26 2011 UTC (12 years, 10 months ago) by dyoung
Branch: MAIN
Changes since 1.96: +14 -7 lines
Diff to previous 1.96 (colored)

Do not display expired or reclaimed vestigial TIME_WAIT entries.

Revision 1.96 / (download) - annotate - [select for diffs], Tue May 3 18:28:46 2011 UTC (12 years, 10 months ago) by dyoung
Branch: MAIN
Changes since 1.95: +75 -10 lines
Diff to previous 1.95 (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.93.2.1 / (download) - annotate - [select for diffs], Sat Mar 5 15:11:00 2011 UTC (13 years ago) by bouyer
Branch: bouyer-quota2
Changes since 1.93: +185 -233 lines
Diff to previous 1.93 (colored) next main 1.94 (colored)

Sync with HEAD

Revision 1.95 / (download) - annotate - [select for diffs], Wed Mar 2 19:52:03 2011 UTC (13 years ago) by dyoung
Branch: MAIN
CVS Tags: bouyer-quota2-nbase
Changes since 1.94: +185 -185 lines
Diff to previous 1.94 (colored)

Use __arraycount() and PRIu64.  Delete unnecessary casts to unsigned
long long.

Revision 1.94 / (download) - annotate - [select for diffs], Tue Mar 1 19:01:59 2011 UTC (13 years ago) by dyoung
Branch: MAIN
Changes since 1.93: +2 -50 lines
Diff to previous 1.93 (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.93 / (download) - annotate - [select for diffs], Mon Dec 13 21:15:30 2010 UTC (13 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, bouyer-quota2-base
Branch point for: bouyer-quota2
Changes since 1.92: +7 -6 lines
Diff to previous 1.92 (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.92 / (download) - annotate - [select for diffs], Mon Dec 7 18:48:45 2009 UTC (14 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.91: +4 -2 lines
Diff to previous 1.91 (colored)

PR/42243: Yasuoka Masahiko: Add support for "net.inet.icmp.bmcastecho" support.
Print the current status.

Revision 1.91 / (download) - annotate - [select for diffs], Mon Sep 14 10:36:50 2009 UTC (14 years, 5 months ago) by degroote
Branch: MAIN
Changes since 1.90: +50 -2 lines
Diff to previous 1.90 (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.88.8.1 / (download) - annotate - [select for diffs], Wed May 13 19:19:59 2009 UTC (14 years, 9 months ago) by jym
Branch: jym-xensuspend
Changes since 1.88: +25 -22 lines
Diff to previous 1.88 (colored) next main 1.89 (colored)

Sync with HEAD.

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

Revision 1.90 / (download) - annotate - [select for diffs], Sun Apr 12 16:08:37 2009 UTC (14 years, 10 months ago) by lukem
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.89: +20 -21 lines
Diff to previous 1.89 (colored)

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) - annotate - [select for diffs], Tue Mar 31 17:56:41 2009 UTC (14 years, 11 months ago) by bouyer
Branch: netbsd-4
Changes since 1.77: +7 -3 lines
Diff to previous 1.77 (colored) next main 1.78 (colored)

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) - annotate - [select for diffs], Thu Mar 26 17:14:41 2009 UTC (14 years, 11 months ago) by snj
Branch: 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
Changes since 1.88: +7 -3 lines
Diff to previous 1.88 (colored)

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) - annotate - [select for diffs], Sun Feb 22 07:43:01 2009 UTC (15 years ago) by dholland
Branch: MAIN
Changes since 1.88: +7 -3 lines
Diff to previous 1.88 (colored)

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) - annotate - [select for diffs], Sun May 18 12:36:07 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-pf42
Changes since 1.87: +23 -33 lines
Diff to previous 1.87 (colored) next main 1.88 (colored)

sync with head.

Revision 1.88 / (download) - annotate - [select for diffs], Thu Apr 24 04:09:27 2008 UTC (15 years, 10 months ago) by thorpej
Branch: 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
Changes since 1.87: +23 -33 lines
Diff to previous 1.87 (colored)

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) - annotate - [select for diffs], Tue Apr 15 16:02:04 2008 UTC (15 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base
Branch point for: yamt-pf42
Changes since 1.86: +28 -19 lines
Diff to previous 1.86 (colored)

Make IGMP stats per-cpu.

Revision 1.86 / (download) - annotate - [select for diffs], Tue Apr 15 15:17:54 2008 UTC (15 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.85: +46 -36 lines
Diff to previous 1.85 (colored)

Make ARP stats per-cpu.

Revision 1.85 / (download) - annotate - [select for diffs], Tue Apr 15 06:03:28 2008 UTC (15 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.84: +24 -24 lines
Diff to previous 1.84 (colored)

Make CARP status per-cpu.

Revision 1.84 / (download) - annotate - [select for diffs], Tue Apr 15 04:50:05 2008 UTC (15 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.83: +12 -25 lines
Diff to previous 1.83 (colored)

Use ANSI function decls throughout.

Revision 1.83 / (download) - annotate - [select for diffs], Tue Apr 8 01:03:58 2008 UTC (15 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.82: +83 -85 lines
Diff to previous 1.82 (colored)

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) - annotate - [select for diffs], Mon Apr 7 06:31:28 2008 UTC (15 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.81: +42 -44 lines
Diff to previous 1.81 (colored)

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) - annotate - [select for diffs], Sun Apr 6 21:53:25 2008 UTC (15 years, 11 months ago) by jnemeth
Branch: MAIN
Changes since 1.80: +3 -3 lines
Diff to previous 1.80 (colored)

fix build problem introduced in 1.79

Revision 1.80 / (download) - annotate - [select for diffs], Sun Apr 6 20:17:27 2008 UTC (15 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.79: +30 -31 lines
Diff to previous 1.79 (colored)

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) - annotate - [select for diffs], Sun Apr 6 19:04:50 2008 UTC (15 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.78: +21 -23 lines
Diff to previous 1.78 (colored)

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) - annotate - [select for diffs], Tue Jul 10 21:12:33 2007 UTC (16 years, 7 months ago) by ad
Branch: 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
Changes since 1.77: +8 -4 lines
Diff to previous 1.77 (colored)

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) - annotate - [select for diffs], Fri Sep 22 23:21:52 2006 UTC (17 years, 5 months ago) by elad
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
Branch point for: netbsd-4
Changes since 1.76: +3 -3 lines
Diff to previous 1.76 (colored)

PR/31347: Geoff C. Wing: netstat err message is ambiguous about cause
Applied patch, thanks!

Revision 1.76 / (download) - annotate - [select for diffs], Tue Sep 5 00:29:36 2006 UTC (17 years, 6 months ago) by rpaulo
Branch: MAIN
Changes since 1.75: +5 -2 lines
Diff to previous 1.75 (colored)

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) - annotate - [select for diffs], Thu Aug 17 01:42:57 2006 UTC (17 years, 6 months ago) by rpaulo
Branch: MAIN
Changes since 1.74: +0 -3 lines
Diff to previous 1.74 (colored)

Revert previous.

Revision 1.74 / (download) - annotate - [select for diffs], Thu Aug 17 01:32:13 2006 UTC (17 years, 6 months ago) by rpaulo
Branch: MAIN
Changes since 1.73: +5 -2 lines
Diff to previous 1.73 (colored)

Adapt to ECN.

Revision 1.73 / (download) - annotate - [select for diffs], Tue Jun 20 19:22:17 2006 UTC (17 years, 8 months ago) by rpaulo
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.72: +6 -4 lines
Diff to previous 1.72 (colored)

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) - annotate - [select for diffs], Mon Jun 19 04:17:07 2006 UTC (17 years, 8 months ago) by chap
Branch: chap-midi
Changes since 1.70: +12 -11 lines
Diff to previous 1.70 (colored) next main 1.71 (colored)

Sync with head.

Revision 1.72 / (download) - annotate - [select for diffs], Sun May 28 16:51:40 2006 UTC (17 years, 9 months ago) by elad
Branch: MAIN
CVS Tags: chap-midi-nbase, chap-midi-base
Changes since 1.71: +10 -10 lines
Diff to previous 1.71 (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.71 / (download) - annotate - [select for diffs], Sun May 21 21:01:55 2006 UTC (17 years, 9 months ago) by liamjfoy
Branch: MAIN
Changes since 1.70: +4 -3 lines
Diff to previous 1.70 (colored)

check if malloc(3) failed

ok joerg@

Revision 1.70 / (download) - annotate - [select for diffs], Thu May 18 17:19:22 2006 UTC (17 years, 9 months ago) by riz
Branch: MAIN
Branch point for: chap-midi
Changes since 1.69: +18 -17 lines
Diff to previous 1.69 (colored)

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) - annotate - [select for diffs], Thu May 18 09:05:51 2006 UTC (17 years, 9 months ago) by liamjfoy
Branch: MAIN
Changes since 1.68: +55 -2 lines
Diff to previous 1.68 (colored)

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) - annotate - [select for diffs], Fri Aug 12 14:08:16 2005 UTC (18 years, 6 months ago) by elad
Branch: MAIN
Changes since 1.67: +3 -3 lines
Diff to previous 1.67 (colored)

Use PRIxPTR when printing a pointer.

Revision 1.67 / (download) - annotate - [select for diffs], Mon Aug 8 12:11:52 2005 UTC (18 years, 6 months ago) by he
Branch: MAIN
Changes since 1.66: +5 -5 lines
Diff to previous 1.66 (colored)

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) - annotate - [select for diffs], Sun Aug 7 17:10:36 2005 UTC (18 years, 7 months ago) by elad
Branch: MAIN
Changes since 1.65: +121 -46 lines
Diff to previous 1.65 (colored)

Use sysctl to read live kernel PF_INET PCBs.

Revision 1.65 / (download) - annotate - [select for diffs], Sat Aug 6 17:58:13 2005 UTC (18 years, 7 months ago) by elad
Branch: MAIN
Changes since 1.64: +53 -15 lines
Diff to previous 1.64 (colored)

Use sysctl to fetch IP, ICMP, TCP, and UDP statistics.

Revision 1.64 / (download) - annotate - [select for diffs], Thu Aug 4 19:41:28 2005 UTC (18 years, 7 months ago) by rpaulo
Branch: MAIN
Changes since 1.63: +3 -2 lines
Diff to previous 1.63 (colored)

Added #include <kvm.h> since netstat.h, which is included too, needs it.

Revision 1.63 / (download) - annotate - [select for diffs], Mon Sep 6 14:51:32 2004 UTC (19 years, 6 months ago) by martin
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.62: +3 -6 lines
Diff to previous 1.62 (colored)

Make it compile on ports where u_quad_t is not printf-format-compatible
with unsigned long long.

Revision 1.62 / (download) - annotate - [select for diffs], Sat Sep 4 23:35:43 2004 UTC (19 years, 6 months ago) by manu
Branch: MAIN
Changes since 1.61: +42 -2 lines
Diff to previous 1.61 (colored)

IPv4 PIM support, from the submission of Pavlin Radoslavov on tech-net@

Revision 1.61 / (download) - annotate - [select for diffs], Tue May 18 14:44:41 2004 UTC (19 years, 9 months ago) by itojun
Branch: MAIN
Changes since 1.60: +4 -2 lines
Diff to previous 1.60 (colored)

print stat for TCP MD5 signature

Revision 1.51.2.2 / (download) - annotate - [select for diffs], Wed Oct 22 06:06:23 2003 UTC (20 years, 4 months ago) by jmc
Branch: 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
Changes since 1.51.2.1: +5 -2 lines
Diff to previous 1.51.2.1 (colored) to branchpoint 1.51 (colored) next main 1.52 (colored)

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) - annotate - [select for diffs], Fri Oct 17 22:28:11 2003 UTC (20 years, 4 months ago) by enami
Branch: 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
Changes since 1.59: +4 -2 lines
Diff to previous 1.59 (colored)

Print ips_rcvmemdrop and ips_nogif.

Revision 1.51.2.1 / (download) - annotate - [select for diffs], Fri Sep 5 13:42:22 2003 UTC (20 years, 6 months ago) by tron
Branch: netbsd-1-6
Changes since 1.51: +3 -2 lines
Diff to previous 1.51 (colored)

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) - annotate - [select for diffs], Thu Sep 4 09:23:38 2003 UTC (20 years, 6 months ago) by itojun
Branch: MAIN
Changes since 1.58: +8 -5 lines
Diff to previous 1.58 (colored)

synchronize w/ inpcb/in6pcb change

Revision 1.58 / (download) - annotate - [select for diffs], Thu Aug 7 11:15:19 2003 UTC (20 years, 7 months ago) by agc
Branch: MAIN
Changes since 1.57: +3 -7 lines
Diff to previous 1.57 (colored)

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) - annotate - [select for diffs], Sun Jul 20 16:35:11 2003 UTC (20 years, 7 months ago) by he
Branch: MAIN
Changes since 1.56: +5 -2 lines
Diff to previous 1.56 (colored)

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) - annotate - [select for diffs], Sat Jul 12 13:39:23 2003 UTC (20 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.55: +4 -5 lines
Diff to previous 1.55 (colored)

strlcpy

Revision 1.55 / (download) - annotate - [select for diffs], Sat Mar 22 15:18:36 2003 UTC (20 years, 11 months ago) by jdolecek
Branch: MAIN
Changes since 1.54: +3 -3 lines
Diff to previous 1.54 (colored)

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) - annotate - [select for diffs], Tue Feb 4 01:22:08 2003 UTC (21 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.53: +6 -5 lines
Diff to previous 1.53 (colored)

Update for callout changes, and show TCP timers in relative, rather
than absolute ticks.

Revision 1.53 / (download) - annotate - [select for diffs], Mon Feb 3 23:37:09 2003 UTC (21 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.52: +3 -3 lines
Diff to previous 1.52 (colored)

Test CALLOUT_PENDING, not CALLOUT_ACTIVE.

Revision 1.52 / (download) - annotate - [select for diffs], Sun May 26 16:05:45 2002 UTC (21 years, 9 months ago) by itojun
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.51: +3 -2 lines
Diff to previous 1.51 (colored)

path MTU discovery blackhole detection.
PR 12790 (sorry for not committing it for a long time)

Revision 1.51 / (download) - annotate - [select for diffs], Wed Feb 27 02:33:51 2002 UTC (22 years ago) by lukem
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-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
Changes since 1.50: +3 -4 lines
Diff to previous 1.50 (colored)

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) - annotate - [select for diffs], Sat Sep 15 16:28:15 2001 UTC (22 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.49: +3 -3 lines
Diff to previous 1.49 (colored)

Fix a printf format/argument cast.

Revision 1.49 / (download) - annotate - [select for diffs], Mon Sep 10 22:19:03 2001 UTC (22 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.48: +4 -4 lines
Diff to previous 1.48 (colored)

tcp_dump(): Also print the address of the in6pcb.

Revision 1.48 / (download) - annotate - [select for diffs], Mon Sep 10 22:17:28 2001 UTC (22 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.47: +7 -4 lines
Diff to previous 1.47 (colored)

Update for TCP timer changes.

Revision 1.47 / (download) - annotate - [select for diffs], Mon Sep 10 15:25:24 2001 UTC (22 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.46: +8 -5 lines
Diff to previous 1.46 (colored)

Update for field name changes in struct tcpcb.

Revision 1.46 / (download) - annotate - [select for diffs], Mon May 28 04:22:55 2001 UTC (22 years, 9 months ago) by assar
Branch: MAIN
Changes since 1.45: +12 -12 lines
Diff to previous 1.45 (colored)

add `-s' that prints port numbers symbolically but addresses numerically

Revision 1.45 / (download) - annotate - [select for diffs], Fri Apr 6 05:10:28 2001 UTC (22 years, 11 months ago) by itojun
Branch: MAIN
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored)

pedant changes for strcpy/sprintf.

Revision 1.44 / (download) - annotate - [select for diffs], Tue Mar 20 17:00:08 2001 UTC (22 years, 11 months ago) by itojun
Branch: MAIN
Changes since 1.43: +5 -5 lines
Diff to previous 1.43 (colored)

add few icmp type names.
http://www.isi.edu/in-notes/iana/assignments/icmp-parameters

Revision 1.43 / (download) - annotate - [select for diffs], Fri Mar 2 04:26:11 2001 UTC (23 years ago) by itojun
Branch: MAIN
Changes since 1.42: +3 -2 lines
Diff to previous 1.42 (colored)

increase ipstat.ips_badaddr if the packet fails to pass address checks.

Revision 1.42 / (download) - annotate - [select for diffs], Wed Oct 18 19:20:03 2000 UTC (23 years, 4 months ago) by itojun
Branch: MAIN
Changes since 1.41: +3 -2 lines
Diff to previous 1.41 (colored)

count successful path MTU changes.  good for debugging.
(there could be some discussion on when to increase the counter...)

Revision 1.41 / (download) - annotate - [select for diffs], Tue Aug 15 20:24:58 2000 UTC (23 years, 6 months ago) by jhawk
Branch: MAIN
Changes since 1.40: +56 -2 lines
Diff to previous 1.40 (colored)

Add kernel counters for arp events, displayable with netstat -s -f arp

Revision 1.40 / (download) - annotate - [select for diffs], Mon Jul 3 05:02:38 2000 UTC (23 years, 8 months ago) by enami
Branch: MAIN
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored)

Backout part of rev 1.29 which doesn't match with the log message.

Revision 1.39 / (download) - annotate - [select for diffs], Sat Feb 26 09:55:24 2000 UTC (24 years ago) by itojun
Branch: 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
Changes since 1.38: +2 -108 lines
Diff to previous 1.38 (colored)

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

Revision 1.37.4.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:37:06 1999 UTC (24 years, 2 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.37: +161 -151 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

Pull up to last week's -current.

Revision 1.38 / (download) - annotate - [select for diffs], Fri Nov 19 10:44:33 1999 UTC (24 years, 3 months ago) by bouyer
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Changes since 1.37: +161 -151 lines
Diff to previous 1.37 (colored)

Change printf formats for 64bit counters.

Revision 1.37 / (download) - annotate - [select for diffs], Thu Jul 1 18:40:35 1999 UTC (24 years, 8 months ago) by itojun
Branch: MAIN
CVS Tags: comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize
Changes since 1.36: +111 -2 lines
Diff to previous 1.36 (colored)

make netstat IPv6-ready.

Revision 1.35.2.1 / (download) - annotate - [select for diffs], Thu Apr 29 14:57:08 1999 UTC (24 years, 10 months ago) by perry
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001
Changes since 1.35: +3 -2 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

pullup 1.35->1.36 (thorpej)

Revision 1.36 / (download) - annotate - [select for diffs], Thu Apr 29 03:58:27 1999 UTC (24 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.35: +3 -2 lines
Diff to previous 1.35 (colored)

Print SYN,ACK retransmission statistics.

Revision 1.35 / (download) - annotate - [select for diffs], Thu Feb 18 07:42:12 1999 UTC (25 years ago) by lukem
Branch: MAIN
CVS Tags: netbsd-1-4-base
Branch point for: netbsd-1-4
Changes since 1.34: +30 -13 lines
Diff to previous 1.34 (colored)

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) - annotate - [select for diffs], Tue Aug 25 20:59:39 1998 UTC (25 years, 6 months ago) by ross
Branch: MAIN
Changes since 1.33: +4 -3 lines
Diff to previous 1.33 (colored)

Add { and } to shut up egcs. Reformat the more questionable code.

Revision 1.33 / (download) - annotate - [select for diffs], Mon Jul 20 21:03:37 1998 UTC (25 years, 7 months ago) by sommerfe
Branch: MAIN
Changes since 1.32: +6 -4 lines
Diff to previous 1.32 (colored)

Fix bogon in length argument to snprintf when formatting port number

Revision 1.32 / (download) - annotate - [select for diffs], Sun Jul 12 03:20:14 1998 UTC (25 years, 7 months ago) by mrg
Branch: MAIN
Changes since 1.31: +14 -10 lines
Diff to previous 1.31 (colored)

- 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) - annotate - [select for diffs], Mon Jul 6 06:52:14 1998 UTC (25 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.30: +9 -6 lines
Diff to previous 1.30 (colored)

- 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) - annotate - [select for diffs], Wed Jun 3 02:41:10 1998 UTC (25 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.29: +59 -2 lines
Diff to previous 1.29 (colored)

Add an option to dump the contents of a PCB at the specified address, and
implement this for TCP.

Revision 1.29 / (download) - annotate - [select for diffs], Wed Apr 29 21:39:38 1998 UTC (25 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.28: +7 -4 lines
Diff to previous 1.28 (colored)

Add support for printing fast forwarded packets.

Revision 1.28 / (download) - annotate - [select for diffs], Wed Jan 7 22:55:07 1998 UTC (26 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.27: +21 -11 lines
Diff to previous 1.27 (colored)

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) - annotate - [select for diffs], Wed Dec 17 06:17:26 1997 UTC (26 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.26: +4 -3 lines
Diff to previous 1.26 (colored)

Print the connections dropped due to excessive persist timeouts.

Revision 1.26 / (download) - annotate - [select for diffs], Sat Dec 13 21:03:46 1997 UTC (26 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.25: +2 -3 lines
Diff to previous 1.25 (colored)

Nuke "delayed window updates" statistic.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Dec 11 07:00:01 1997 UTC (26 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.24: +3 -2 lines
Diff to previous 1.24 (colored)

Print window updates delayed (piggybacked on delayed ACKs).

Revision 1.24 / (download) - annotate - [select for diffs], Wed Dec 10 07:26:02 1997 UTC (26 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.23: +3 -2 lines
Diff to previous 1.23 (colored)

Report connections drained due to memory shortage.

Revision 1.23 / (download) - annotate - [select for diffs], Sun Oct 19 05:49:59 1997 UTC (26 years, 4 months ago) by lukem
Branch: 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
Changes since 1.22: +10 -9 lines
Diff to previous 1.22 (colored)

fix up .Nm usage, getopt returns -1 not EOF

Revision 1.22 / (download) - annotate - [select for diffs], Wed Jul 23 21:31:27 1997 UTC (26 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.21: +15 -2 lines
Diff to previous 1.21 (colored)

Pull SYN_cache_branch down onto the main line.

Revision 1.21.2.2 / (download) - annotate - [select for diffs], Sat Jul 12 18:06:27 1997 UTC (26 years, 7 months ago) by thorpej
Branch: SYN_cache_branch
Changes since 1.21.2.1: +537 -0 lines
Diff to previous 1.21.2.1 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

Print statistics gather by the compressed TCP state engine.

Revision 1.21.2.1, Thu May 22 17:21:28 1997 UTC (26 years, 9 months ago) by thorpej
Branch: SYN_cache_branch
Changes since 1.21: +0 -524 lines
FILE REMOVED

file inet.c was added on branch SYN_cache_branch on 1997-07-12 18:06:27 +0000

Revision 1.21 / (download) - annotate - [select for diffs], Thu May 22 17:21:28 1997 UTC (26 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: SYN_cache_cur_base
Branch point for: SYN_cache_branch
Changes since 1.20: +4 -4 lines
Diff to previous 1.20 (colored)

PR/3660: Dave Huang: Fix formatting misalignments in appletalk
PR/3659: Dave Huang: Fix PCB reporting in appletalk

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

- netatalk additions
- printf format fixes
- minor prototype cleanups

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Thu Jan 2 07:21:42 1997 UTC (27 years, 2 months ago) by mellon
Branch: CSRG
CVS Tags: lite-2
Changes since 1.1.1.1: +4 -2 lines
Diff to previous 1.1.1.1 (colored)

imported from 44lite2

Revision 1.19 / (download) - annotate - [select for diffs], Mon Dec 9 12:48:37 1996 UTC (27 years, 3 months ago) by neil
Branch: MAIN
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

 errors not generated 'cuz old message was icmp ->     [EWW!]
	 errors not generated because old message was icmp

Revision 1.15.4.1 / (download) - annotate - [select for diffs], Thu Nov 14 09:08:18 1996 UTC (27 years, 3 months ago) by thorpej
Branch: netbsd-1-2
CVS Tags: netbsd-1-2-PATCH001
Changes since 1.15: +3 -2 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

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) - annotate - [select for diffs], Fri Oct 25 07:41:35 1996 UTC (27 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.17: +3 -2 lines
Diff to previous 1.17 (colored)

Add the `toolong' count to the IP stats display.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Oct 8 01:18:10 1996 UTC (27 years, 5 months ago) by explorer
Branch: MAIN
Changes since 1.16: +95 -95 lines
Diff to previous 1.16 (colored)

use %lu, not %u.  This covers more than my original %d -> %u change...

Revision 1.16 / (download) - annotate - [select for diffs], Mon Oct 7 18:42:25 1996 UTC (27 years, 5 months ago) by explorer
Branch: MAIN
Changes since 1.15: +43 -43 lines
Diff to previous 1.15 (colored)

Netstat -s should use %u for u_long parameters...  Closes bin/2817 by me

Revision 1.14.2.1 / (download) - annotate - [select for diffs], Fri Feb 2 13:33:08 1996 UTC (28 years, 1 month ago) by mycroft
Branch: netbsd-1-1
Changes since 1.14: +13 -4 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

Bring in changes for mondo patch 2.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Jan 31 04:01:48 1996 UTC (28 years, 1 month ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-BETA
Branch point for: netbsd-1-2
Changes since 1.14: +13 -4 lines
Diff to previous 1.14 (colored)

Update to match kernel.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Oct 3 21:42:37 1995 UTC (28 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001
Branch point for: netbsd-1-1
Changes since 1.13: +7 -2 lines
Diff to previous 1.13 (colored)

New-style RCS ids.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Jun 19 00:13:05 1995 UTC (28 years, 8 months ago) by cgd
Branch: MAIN
Changes since 1.12: +13 -8 lines
Diff to previous 1.12 (colored)

update for new network structures

Revision 1.12 / (download) - annotate - [select for diffs], Mon Jun 12 03:03:10 1995 UTC (28 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.11: +11 -16 lines
Diff to previous 1.11 (colored)

Update to match kernel changes.

Revision 1.11 / (download) - annotate - [select for diffs], Sun May 14 08:20:16 1995 UTC (28 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 (colored)

print out number of malformed fragments dropped

Revision 1.10 / (download) - annotate - [select for diffs], Sat Dec 24 17:21:51 1994 UTC (29 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.9: +2 -1 lines
Diff to previous 1.9 (colored)

a couple of these need <sys/queue.h>

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Thu Oct 6 16:35:07 1994 UTC (29 years, 5 months ago) by mycroft
Branch: CSRG
CVS Tags: lite-1
Changes since 1.1: +155 -84 lines
Diff to previous 1.1 (colored)

Import original 4.4-Lite version.

Revision 1.9 / (download) - annotate - [select for diffs], Fri May 13 08:08:11 1994 UTC (29 years, 9 months 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.8: +140 -124 lines
Diff to previous 1.8 (colored)

Clean up import.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Apr 1 09:18:10 1994 UTC (29 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.7: +6 -6 lines
Diff to previous 1.7 (colored)

kill lots of off_t's.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Mar 28 10:29:37 1994 UTC (29 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.6: +15 -14 lines
Diff to previous 1.6 (colored)

clean up, for off_t...  ugliest 'cleaning' possible, i think...

Revision 1.6 / (download) - annotate - [select for diffs], Tue Jan 11 19:42:51 1994 UTC (30 years, 1 month ago) by brezak
Branch: MAIN
Changes since 1.5: +44 -2 lines
Diff to previous 1.5 (colored)

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

Revision 1.5 / (download) - annotate - [select for diffs], Sun Aug 1 18:10:52 1993 UTC (30 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Add RCS identifiers.

Revision 1.4 / (download) - annotate - [select for diffs], Thu May 20 12:03:49 1993 UTC (30 years, 9 months ago) by cgd
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.3: +1 -2 lines
Diff to previous 1.3 (colored)

get rid of select.h inclusion, and clean up headers *more*.

Revision 1.3 / (download) - annotate - [select for diffs], Thu May 20 10:40:41 1993 UTC (30 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.2: +3 -1 lines
Diff to previous 1.2 (colored)

fix for new select & clean up headers

Revision 1.2 / (download) - annotate - [select for diffs], Mon Apr 26 16:54:54 1993 UTC (30 years, 10 months ago) by glass
Branch: MAIN
Changes since 1.1: +13 -1 lines
Diff to previous 1.1 (colored)

print out more of the gathered udp stats (actually all of them)

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 18:04:42 1993 UTC (30 years, 11 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>