The NetBSD Project

CVS log for src/sys/netinet/tcp_timer.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / netinet

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.99: download - view: text, markup, annotated - select for diffs
Fri Nov 4 09:00:58 2022 UTC (4 years ago) by ozaki-r
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20261102, perseant-exfatfs-base-20250801, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-11-base, netbsd-11-1-RELEASE, netbsd-11-0-RELEASE, netbsd-11-0-RC7, netbsd-11-0-RC6, netbsd-11-0-RC5, netbsd-11-0-RC4, netbsd-11-0-RC3, netbsd-11-0-RC2, netbsd-11-0-RC1, netbsd-11, netbsd-10-base, netbsd-10-2-RELEASE, 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.98: preferred, colored
Changes since revision 1.98: +4 -4 lines
inpcb: rename functions to inpcb_*

Inspired by rmind-smpnet patches.

Revision 1.98: download - view: text, markup, annotated - select for diffs
Fri Oct 28 05:25:36 2022 UTC (4 years ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +3 -3 lines
inpcb: separate inpcb again to reduce the size of PCB for IPv4

The data size of PCB for IPv4 increased because of the merge of
struct in6pcb.  The change decreases the size to the original size by
separating struct inpcb (again).  struct in4pcb and in6pcb that embed
struct inpcb are introduced.

Even after the separation, users don't need to realize the separation
and only have to use some macros to access dedicated data.  For example,
inp->inp_laddr is now accessed through in4p_laddr(inp).

Revision 1.97: download - view: text, markup, annotated - select for diffs
Fri Oct 28 05:18:39 2022 UTC (4 years ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +9 -42 lines
inpcb: integrate data structures of PCB into one

Data structures of network protocol control blocks (PCBs), i.e.,
struct inpcb, in6pcb and inpcb_hdr, are not organized well.  Users of
the data structures have to handle them separately and thus the code
is cluttered and duplicated.

The commit integrates the data structures into one, struct inpcb.  As a
result, users of PCBs only have to handle just one data structure, so
the code becomes simple.

One drawback is that the data size of PCB for IPv4 increases by 40 bytes
(from 248 bytes to 288 bytes).

Revision 1.95.14.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:29:02 2021 UTC (5 years, 7 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.95: preferred, colored; next MAIN 1.96: preferred, colored
Changes since revision 1.95: +4 -3 lines
Sync with HEAD.

Revision 1.91.8.2: download - view: text, markup, annotated - select for diffs
Tue Mar 9 15:56:51 2021 UTC (5 years, 8 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE
Diff to: previous 1.91.8.1: preferred, colored; branchpoint 1.91: preferred, colored; next MAIN 1.92: preferred, colored
Changes since revision 1.91.8.1: +4 -3 lines
Pull up following revision(s) (requested by christos in ticket #1662):

	sys/netinet/tcp_subr.c: revision 1.286
	sys/netinet/tcp_timer.c: revision 1.96
	sys/netinet/in_var.h: revision 1.102
	sys/netinet/in_var.h: revision 1.99

Don't increment the iss sequence on each connection because it exposes
information (Amit Klein)

Add some randomness to the iss offset

Use a random IPv4 ID because the shuffling algorithm used before could expose
information (Amit Klein)

mv <sys/cprng.h> include to the kernel portion

Revision 1.95.6.1: download - view: text, markup, annotated - select for diffs
Tue Mar 9 15:54:32 2021 UTC (5 years, 8 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-5-RELEASE, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE
Diff to: previous 1.95: preferred, colored; next MAIN 1.96: preferred, colored
Changes since revision 1.95: +4 -3 lines
Pull up following revision(s) (requested by christos in ticket #1229):

	sys/netinet/tcp_subr.c: revision 1.286
	sys/netinet/tcp_timer.c: revision 1.96
	sys/netinet/in_var.h: revision 1.102
	sys/netinet/in_var.h: revision 1.99

Don't increment the iss sequence on each connection because it exposes
information (Amit Klein)

Add some randomness to the iss offset

Use a random IPv4 ID because the shuffling algorithm used before could expose
information (Amit Klein)

mv <sys/cprng.h> include to the kernel portion

Revision 1.96: download - view: text, markup, annotated - select for diffs
Mon Mar 8 17:54:43 2021 UTC (5 years, 8 months ago) by christos
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +4 -3 lines
Add some randomness to the iss offset

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

Revision 1.95: download - view: text, markup, annotated - select for diffs
Thu May 3 07:13:48 2018 UTC (8 years, 6 months ago) by maxv
Branches: MAIN
CVS tags: phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, 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, netbsd-9-base, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: thorpej-futex, netbsd-9
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +2 -3 lines
Remove now unused tcpip.h includes. Some were already unused before.

Revision 1.93.2.1: download - view: text, markup, annotated - select for diffs
Fri Mar 30 06:20:16 2018 UTC (8 years, 7 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +2 -17 lines
Resolve conflicts between branch and HEAD

Revision 1.94: download - view: text, markup, annotated - select for diffs
Thu Mar 29 07:46:43 2018 UTC (8 years, 7 months ago) by maxv
Branches: MAIN
CVS tags: pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +2 -17 lines
Remove #ifdef INET. Same as tcp_input.c. Makes the code easier to
understand.

Also make tcp6_mtudisc() static in tcp_subr.c.

Revision 1.91.8.1: download - view: text, markup, annotated - select for diffs
Sat Feb 3 22:07:26 2018 UTC (8 years, 9 months ago) by snj
Branches: netbsd-8
CVS tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +42 -4 lines
Pull up following revision(s) (requested by ozaki-r in ticket #514):
	sys/net/route.c: 1.205
	sys/net/rtsock.c: 1.237-1.238
	sys/netinet/in.c: 1.215
	sys/netinet/tcp_subr.c: 1.272
	sys/netinet/tcp_timer.c: 1.93
	sys/netinet/tcp_timer.h: 1.29
	sys/netinet/tcp_var.h: 1.182
	sys/netinet6/in6.c: 1.258
Remove extra pserialize_perform from in_purgeaddr
It's already performed in ifa_remove. Note so there (in in6_unlink_ifa too).
Release rt_so_mtx on updating a rtentry to avoid a deadlock with route_intr
The deadlock happened only if NET_MPSAFE on.
Run tcp_slowtimo in workqueue if NET_MPSAFE
If NET_MPSAFE is enabled, we have to avoid taking softnet_lock in softint as
much as possible to prevent any softint handlers including callout handlers
such as tcp_slowtimo from sticking on softnet_lock because it results in
undesired delays of executing subsequent softint handlers.
NFCI for !NET_MPSAFE
Fix a return value of rt_update_prepare
Callers expect it to be an errno.
Fix another deadlock
When waiting for a route update to finish, a waiter has to release its reference
to the route to avoid a deadlock. Because a updater tries to wait for references
to a target route (except for a reference by the updater itself) to be released.

Revision 1.93: download - view: text, markup, annotated - select for diffs
Fri Jan 19 07:53:01 2018 UTC (8 years, 9 months ago) by ozaki-r
Branches: MAIN
CVS tags: pgoyette-compat-base, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +42 -4 lines
Run tcp_slowtimo in workqueue if NET_MPSAFE

If NET_MPSAFE is enabled, we have to avoid taking softnet_lock in softint as
much as possible to prevent any softint handlers including callout handlers
such as tcp_slowtimo from sticking on softnet_lock because it results in
undesired delays of executing subsequent softint handlers.

NFCI for !NET_MPSAFE

Revision 1.86.12.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:39:04 2017 UTC (8 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.86.12.1: preferred, colored; branchpoint 1.86: preferred, colored; next MAIN 1.87: preferred, colored
Changes since revision 1.86.12.1: +8 -16 lines
update from HEAD

Revision 1.88.2.4: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:53:12 2017 UTC (9 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.88.2.3: preferred, colored; branchpoint 1.88: preferred, colored; next MAIN 1.89: preferred, colored
Changes since revision 1.88.2.3: +7 -15 lines
Sync with HEAD

Revision 1.92: download - view: text, markup, annotated - select for diffs
Fri Jul 28 19:16:41 2017 UTC (9 years, 3 months ago) by maxv
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, nick-nhusb-base-20170825
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +7 -15 lines
Remove TCP_COMPAT_42. This feature is a workaround for a bug in the TCP
stack of BSD4.2. Having such features just does not make any sense, and
looking at the code, I'm not sure it actually works.

Revision 1.88.2.3: download - view: text, markup, annotated - select for diffs
Wed Oct 5 20:56:09 2016 UTC (10 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.88.2.2: preferred, colored; branchpoint 1.88: preferred, colored
Changes since revision 1.88.2.2: +3 -3 lines
Sync with HEAD

Revision 1.90.2.1: download - view: text, markup, annotated - select for diffs
Tue Jul 26 03:24:23 2016 UTC (10 years, 3 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.90: preferred, colored; next MAIN 1.91: preferred, colored
Changes since revision 1.90: +3 -3 lines
Sync with HEAD

Revision 1.91: download - view: text, markup, annotated - select for diffs
Mon Jul 25 00:10:38 2016 UTC (10 years, 3 months ago) by knakahara
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-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, netbsd-8-base, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: netbsd-8
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +3 -3 lines
fix: unlock in reverse order

Revision 1.88.2.2: download - view: text, markup, annotated - select for diffs
Sun May 29 08:44:38 2016 UTC (10 years, 5 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.88.2.1: preferred, colored; branchpoint 1.88: preferred, colored
Changes since revision 1.88.2.1: +2 -3 lines
Sync with HEAD

Revision 1.90: download - view: text, markup, annotated - select for diffs
Tue Apr 26 08:44:44 2016 UTC (10 years, 6 months ago) by ozaki-r
Branches: MAIN
CVS tags: pgoyette-localcount-base, nick-nhusb-base-20160907, nick-nhusb-base-20160529
Branch point for: pgoyette-localcount
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +2 -3 lines
Sweep unnecessary route.h inclusions

Revision 1.88.2.1: download - view: text, markup, annotated - select for diffs
Tue Sep 22 12:06:11 2015 UTC (11 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +4 -2 lines
Sync with HEAD

Revision 1.89: download - view: text, markup, annotated - select for diffs
Mon Aug 24 22:21:26 2015 UTC (11 years, 2 months ago) by pooka
Branches: MAIN
CVS tags: nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +4 -2 lines
sprinkle _KERNEL_OPT

Revision 1.87.4.1: download - view: text, markup, annotated - select for diffs
Sat Jan 17 12:10:53 2015 UTC (11 years, 10 months ago) by martin
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.87: preferred, colored; next MAIN 1.88: preferred, colored
Changes since revision 1.87: +2 -3 lines
Pull up following revision(s) (requested by maxv in ticket #427):
	sys/compat/svr4/svr4_schedctl.c: revision 1.8
	sys/netinet/tcp_timer.c: revision 1.88
	sys/miscfs/genfs/layer_vfsops.c: revision 1.45
	sys/compat/svr4/svr4_ioctl.c: revision 1.37
	sys/ufs/chfs/chfs_vfsops.c: revision 1.14
	sys/miscfs/fdesc/fdesc_vfsops.c: revision 1.91
	sys/compat/linux/arch/i386/linux_ptrace.c: revision 1.30
	sys/compat/common/kern_time_50.c: revision 1.28
	sys/netinet6/ip6_forward.c: revision 1.74
	sys/miscfs/umapfs/umap_vnops.c: revision 1.57
	sys/compat/svr4/svr4_fcntl.c: revision 1.74
	distrib/sets/lists/comp/mi: revision 1.1931
	sys/netinet6/udp6_output.c: revision 1.46
	sys/fs/puffs/puffs_compat.c: revision 1.3
	sys/fs/udf/udf_rename.c: revision 1.11
	sys/compat/svr4/svr4_filio.c: revision 1.24
	sys/fs/udf/udf_rename.c: revision 1.12
	sys/netinet/tcp_usrreq.c: revision 1.202
	sys/miscfs/umapfs/umap_subr.c: revision 1.29
	sys/compat/linux/common/linux_fadvise64.c: revision 1.3
	sys/netinet/if_atm.c: revision 1.34
	sys/miscfs/procfs/procfs_subr.c: revision 1.106
	sys/miscfs/genfs/layer_subr.c: revision 1.37
	sys/netinet/tcp_sack.c: revision 1.30
	sys/compat/freebsd/freebsd_misc.c: revision 1.33
	sys/compat/freebsd/freebsd_file.c: revision 1.33
	sys/ufs/chfs/chfs_vnode.c: revision 1.12
	sys/compat/svr4/svr4_ttold.c: revision 1.34
	sys/compat/linux/common/linux_file.c: revision 1.114
	sys/compat/linux/arch/mips/linux_machdep.c: revision 1.43
	sys/compat/linux/common/linux_signal.c: revision 1.76
	sys/compat/common/compat_util.c: revision 1.46
	sys/compat/linux/arch/arm/linux_ptrace.c: revision 1.18
	sys/compat/svr4/svr4_sockio.c: revision 1.36
	sys/compat/linux/arch/arm/linux_machdep.c: revision 1.32
	sys/compat/svr4/svr4_signal.c: revision 1.66
	sys/kern/kern_exec.c: revision 1.410
	sys/fs/puffs/puffs_vfsops.c: revision 1.115
	sys/compat/svr4/svr4_exec_elf64.c: revision 1.15
	sys/compat/linux/arch/i386/linux_machdep.c: revision 1.159
	sys/compat/linux/arch/alpha/linux_machdep.c: revision 1.50
	sys/compat/linux32/common/linux32_misc.c: revision 1.24
	sys/netinet/in_pcb.c: revision 1.153
	sys/sys/malloc.h: revision 1.116
	sys/compat/common/if_43.c: revision 1.9
	share/man/man9/Makefile: revision 1.380
	sys/netinet/tcp_vtw.c: revision 1.12
	sys/miscfs/umapfs/umap_vfsops.c: revision 1.95
	sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.186
	sys/compat/common/uipc_syscalls_43.c: revision 1.46
	sys/ufs/ext2fs/ext2fs_vnops.c: revision 1.115
	sys/fs/puffs/puffs_msgif.c: revision 1.97
	sys/compat/svr4/svr4_ipc.c: revision 1.27
	sys/compat/linux/common/linux_exec.c: revision 1.117
	sys/ufs/ext2fs/ext2fs_readwrite.c: revision 1.66
	sys/netinet/tcp_output.c: revision 1.179
	sys/compat/svr4/svr4_termios.c: revision 1.28
	sys/fs/udf/udf_strat_bootstrap.c: revision 1.4
	sys/fs/puffs/puffs_subr.c: revision 1.67
	sys/fs/puffs/puffs_node.c: revision 1.36
	sys/miscfs/overlay/overlay_vnops.c: revision 1.21
	sys/fs/cd9660/cd9660_node.c: revision 1.34
	sys/netinet/raw_ip.c: revision 1.146
	sys/sys/mallocvar.h: revision 1.13
	sys/miscfs/overlay/overlay_vfsops.c: revision 1.63
	share/man/man9/malloc.9: revision 1.50
	sys/netinet6/dest6.c: revision 1.18
	sys/compat/linux/common/linux_uselib.c: revision 1.33
	sys/compat/linux/common/linux_socket.c: revision 1.120
	share/man/man9/malloc.9: revision 1.51
	sys/netinet/tcp_subr.c: revision 1.257
	sys/compat/linux/common/linux_socketcall.c: revision 1.45
	sys/compat/linux/common/linux_fadvise64_64.c: revision 1.3
	sys/compat/freebsd/freebsd_ipc.c: revision 1.17
	sys/compat/linux/common/linux_misc_notalpha.c: revision 1.109
	sys/compat/linux/arch/alpha/linux_pipe.c: revision 1.17
	sys/netinet6/in6_pcb.c: revision 1.132
	sys/netinet6/in6_ifattach.c: revision 1.94
	sys/compat/svr4/svr4_exec_elf32.c: revision 1.15
	sys/miscfs/nullfs/null_vfsops.c: revision 1.90
	sys/fs/cd9660/cd9660_util.c: revision 1.12
	sys/compat/linux/arch/powerpc/linux_machdep.c: revision 1.48
	sys/compat/freebsd/freebsd_exec_elf32.c: revision 1.20
	sys/miscfs/procfs/procfs_vfsops.c: revision 1.94
	sys/compat/linux/arch/powerpc/linux_ptrace.c: revision 1.28
	sys/compat/linux/common/linux_sched.c: revision 1.67
	sys/compat/linux/common/linux_exec_aout.c: revision 1.67
	sys/compat/linux/common/linux_pipe.c: revision 1.67
	sys/compat/linux/common/linux_llseek.c: revision 1.34
	sys/compat/linux/arch/mips/linux_ptrace.c: revision 1.10
Do not uselessly include <sys/malloc.h>.
Cleanup:
 - remove struct kmembuckets (dead)
 - correctly deadify MALLOC_XX
 - remove MALLOC_DEFINE_LIMIT and MALLOC_JUSTDEFINE_LIMIT (dead)
 - remove malloc_roundup(), malloc_type_setlimit(), MALLOC_DEFINE_LIMIT()
   and MALLOC_JUSTDEFINE_LIMIT() from man 9 malloc
New sentence, new line. Bump date for previous.
Obsolete malloc_roundup(9), malloc_type_setlimit(9) and MALLOC_DEFINE_LIMIT(9)
man pages.

Revision 1.88: download - view: text, markup, annotated - select for diffs
Mon Nov 10 18:52:51 2014 UTC (12 years ago) by maxv
Branches: MAIN
CVS tags: nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base
Branch point for: nick-nhusb
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +2 -3 lines
Do not uselessly include <sys/malloc.h>.

Revision 1.86.12.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:04:35 2014 UTC (12 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +5 -3 lines
Rebase to HEAD as of a few days ago.

Revision 1.86.2.1: download - view: text, markup, annotated - select for diffs
Thu May 22 11:41:10 2014 UTC (12 years, 5 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.86: preferred, colored; next MAIN 1.87: preferred, colored
Changes since revision 1.86: +5 -3 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.86.16.2: download - view: text, markup, annotated - select for diffs
Sun May 18 17:46:13 2014 UTC (12 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.86.16.1: preferred, colored; branchpoint 1.86: preferred, colored; next MAIN 1.87: preferred, colored
Changes since revision 1.86.16.1: +5 -3 lines
sync with head

Revision 1.87: download - view: text, markup, annotated - select for diffs
Thu Jan 2 18:29:01 2014 UTC (12 years, 10 months ago) by pooka
Branches: MAIN
CVS tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, 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.86: preferred, colored
Changes since revision 1.86: +5 -3 lines
Allow kernels compiled with INET+INET6 to be booted as IPv4-only or IPv6-only.

Revision 1.86.16.1: download - view: text, markup, annotated - select for diffs
Wed Jul 17 03:16:31 2013 UTC (13 years, 4 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +10 -9 lines
Checkpoint work in progress:
- Move PCB structures under __INPCB_PRIVATE, adjust most of the callers
  and thus make IPv4 PCB structures mostly opaque.  Any volunteers for
  merging in6pcb with inpcb (see rpaulo-netinet-merge-pcb branch)?
- Move various global vars to the modules where they belong, make them static.
- Some preliminary work for IPv4 PCB locking scheme.
- Make raw IP code mostly MP-safe.  Simplify some of it.
- Rework "fast" IP forwarding (ipflow) code to be mostly MP-safe.  It should
  run from a software interrupt, rather than hard.
- Rework tun(4) pseudo interface to be MP-safe.
- Work towards making some other interfaces more strict.

Revision 1.86: download - view: text, markup, annotated - select for diffs
Wed Aug 31 18:31:03 2011 UTC (15 years, 2 months ago) by plunky
Branches: MAIN
CVS tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, khorben-n900, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys, rmind-smpnet
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +4 -4 lines
NULL does not need a cast

Revision 1.84.10.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:09:57 2011 UTC (15 years, 5 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84: +10 -2 lines
Sync with HEAD.

Revision 1.84.8.1: download - view: text, markup, annotated - select for diffs
Thu Apr 21 01:42:14 2011 UTC (15 years, 7 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84: +10 -2 lines
sync with head

Revision 1.85: download - view: text, markup, annotated - select for diffs
Wed Apr 20 13:35:52 2011 UTC (15 years, 7 months ago) by gdt
Branches: MAIN
CVS tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +10 -2 lines
Rewrite comments about TCP RTO calculations.

Long ago, the storage representations of srtt and rttvar were changed
from the 4.4BSD scheme, and the comments are out of sync with the
code.  This commit rewrites most of the comments that explain the RTO
calculations, and points out some issues in the code.

Joint work with Bev Schwartz of BBN (original analysis and comments),
but I have rewritten and extended them, so errors are mine.

This material is based upon work supported by the Defense Advanced
Research Projects Agency and Space and Naval Warfare Systems Center,
Pacific, under Contract No. N66001-09-C-2073.  Approved for Public
Release, Distribution Unlimited

Revision 1.80.2.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:14:18 2009 UTC (17 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.80.2.1: preferred, colored; branchpoint 1.80: preferred, colored; next MAIN 1.81: preferred, colored
Changes since revision 1.80.2.1: +23 -3 lines
sync with head.

Revision 1.82.2.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:20:13 2009 UTC (17 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.82: preferred, colored; next MAIN 1.83: preferred, colored
Changes since revision 1.82: +22 -2 lines
Sync with HEAD.

Revision 1.77.28.2: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:29:32 2009 UTC (17 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.77.28.1: preferred, colored; branchpoint 1.77: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77.28.1: +21 -1 lines
Sync with HEAD.

Revision 1.81.6.2: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:15:27 2008 UTC (17 years, 11 months ago) by haad
Branches: haad-dm
Diff to: previous 1.81.6.1: preferred, colored; branchpoint 1.81: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81.6.1: +22 -2 lines
Update haad-dm branch to haad-dm-base2.

Revision 1.76.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 18 23:02:23 2008 UTC (18 years ago) by snj
Branches: netbsd-4
Diff to: previous 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76: +22 -2 lines
Pull up following revision(s) (requested by bouyer in ticket #1234):
	sys/netinet/tcp_timer.c: revision 1.83 via patch
Fix kern/39769: race condition in TCP timers
When a TCP timer is disarmed (with callout_stop()) in the general case
callout_invoking() isn't checked, so the timer handler could be called run
when the current interrupt handler exits, athough the timer is disarmed.
This case cause bad things like TCPT_REXMT and TCPT_PERSIST being both
pending, causing a panic (see the PR for details).
Close the issue by aborting the handler if the timer is not
callout_expired().  (the EXPIRED flag being cleared by callout_stop()).

Revision 1.71.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 18 22:57:09 2008 UTC (18 years ago) by snj
Branches: netbsd-3
Diff to: previous 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71: +22 -2 lines
Pull up following revision(s) (requested by bouyer in ticket #1981):
	sys/netinet/tcp_timer.c: revision 1.83 via patch
Fix kern/39769: race condition in TCP timers
When a TCP timer is disarmed (with callout_stop()) in the general case
callout_invoking() isn't checked, so the timer handler could be called run
when the current interrupt handler exits, athough the timer is disarmed.
This case cause bad things like TCPT_REXMT and TCPT_PERSIST being both
pending, causing a panic (see the PR for details).
Close the issue by aborting the handler if the timer is not
callout_expired().  (the EXPIRED flag being cleared by callout_stop()).

Revision 1.82.4.1: download - view: text, markup, annotated - select for diffs
Fri Nov 14 03:02:25 2008 UTC (18 years ago) by snj
Branches: netbsd-5
CVS tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, 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
Diff to: previous 1.82: preferred, colored; next MAIN 1.83: preferred, colored
Changes since revision 1.82: +23 -3 lines
Pull up following revision(s) (requested by bouyer in ticket #56):
	sys/netinet/tcp_timer.c: revision 1.83
Fix kern/39769: race condition in TCP timers
When a TCP timer is disarmed (with callout_stop()) in the general case
callout_invoking() isn't checked, so the timer handler could be called run
when the current interrupt handler exits, athough the timer is disarmed.
This case cause bad things like TCPT_REXMT and TCPT_PERSIST being both pending,
causing a panic (see the PR for details).
Close the issue by aborting the handler if the timer is not callout_expired().
(the EXPIRED flag being cleared by callout_stop()).

Revision 1.84: download - view: text, markup, annotated - select for diffs
Mon Nov 10 01:06:43 2008 UTC (18 years ago) by uebayasi
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, mjf-devfs2-base, matt-premerge-20091211, matt-mips64-premerge-20101231, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, jruoho-x86intr-base, haad-nbase2, haad-dm-base2, haad-dm-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, ad-audiomp2-base, ad-audiomp2
Branch point for: rmind-uvmplock, jruoho-x86intr
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +3 -3 lines
Whitespace.

Revision 1.83: download - view: text, markup, annotated - select for diffs
Sun Nov 9 17:32:38 2008 UTC (18 years ago) by bouyer
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +23 -3 lines
Fix kern/39769: race condition in TCP timers
When a TCP timer is disarmed (with callout_stop()) in the general case
callout_invoking() isn't checked, so the timer handler could be called run
when the current interrupt handler exits, athough the timer is disarmed.
This case cause bad things like TCPT_REXMT and TCPT_PERSIST being both pending,
causing a panic (see the PR for details).
Close the issue by aborting the handler if the timer is not callout_expired().
(the EXPIRED flag being cleared by callout_stop()).

Revision 1.81.6.1: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:17:46 2008 UTC (18 years, 1 month ago) by haad
Branches: haad-dm
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +3 -3 lines
Sync with HEAD.

Revision 1.81.2.1: download - view: text, markup, annotated - select for diffs
Fri Oct 10 22:35:43 2008 UTC (18 years, 1 month ago) by skrll
Branches: wrstuden-revivesa
Diff to: previous 1.81: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81: +3 -3 lines
Sync with HEAD.

Revision 1.82: download - view: text, markup, annotated - select for diffs
Fri Oct 10 10:21:05 2008 UTC (18 years, 1 month ago) by ad
Branches: MAIN
CVS tags: wrstuden-revivesa-base-4, netbsd-5-base, matt-mips64-base2, haad-dm-base1
Branch point for: nick-hppapmap, netbsd-5
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +3 -3 lines
tcp_delack: test for TF_DELACK.

Revision 1.77.28.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:24:25 2008 UTC (18 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +48 -70 lines
Sync with HEAD.

Revision 1.79.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:35:29 2008 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.79: preferred, colored; next MAIN 1.80: preferred, colored
Changes since revision 1.79: +39 -62 lines
sync with head.

Revision 1.80.2.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:25:42 2008 UTC (18 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +2 -9 lines
sync with head.

Revision 1.81: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:24:09 2008 UTC (18 years, 6 months ago) by martin
Branches: MAIN
CVS tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa, haad-dm
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +2 -9 lines
Remove clause 3 and 4 from TNF licenses

Revision 1.80: download - view: text, markup, annotated - select for diffs
Thu Apr 24 11:38:38 2008 UTC (18 years, 6 months ago) by ad
Branches: MAIN
CVS tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +39 -55 lines
Merge the socket locking patch:

- Socket layer becomes MP safe.
- Unix protocols become MP safe.
- Allows protocol processing interrupts to safely block on locks.
- Fixes a number of race conditions.

With much feedback from matt@ and plunky@.

Revision 1.79: download - view: text, markup, annotated - select for diffs
Sat Apr 12 05:58:22 2008 UTC (18 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base
Branch point for: yamt-pf42
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +11 -10 lines
Make IP, TCP, UDP, and ICMP statistics per-CPU.  The stats are collated
when the user requests them via sysctl.

Revision 1.78: download - view: text, markup, annotated - select for diffs
Tue Apr 8 01:03:58 2008 UTC (18 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +10 -10 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.71.4.3: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:43:03 2007 UTC (19 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.71.4.2: preferred, colored; branchpoint 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71.4.2: +17 -13 lines
sync with head.

Revision 1.76.8.1: download - view: text, markup, annotated - select for diffs
Sun Jul 15 13:27:58 2007 UTC (19 years, 4 months ago) by ad
Branches: vmlocking
Diff to: previous 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76: +17 -13 lines
Sync with head.

Revision 1.76.10.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:11:28 2007 UTC (19 years, 4 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76: +17 -13 lines
Sync with head.

Revision 1.77: download - view: text, markup, annotated - select for diffs
Wed Jun 20 15:29:18 2007 UTC (19 years, 5 months ago) by christos
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-devfs-base, mjf-devfs, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-socklock-base1
Branch point for: mjf-devfs2
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +17 -13 lines
- per socket keepalive settings
- settable connection establishment timeout

Revision 1.71.4.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:50:34 2006 UTC (19 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.71.4.1: preferred, colored; branchpoint 1.71: preferred, colored
Changes since revision 1.71.4.1: +8 -35 lines
sync with head.

Revision 1.75.8.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:39:37 2006 UTC (20 years ago) by ad
Branches: newlock2
Diff to: previous 1.75: preferred, colored; next MAIN 1.76: preferred, colored
Changes since revision 1.75: +8 -35 lines
Sync with head.

Revision 1.75.10.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:07:29 2006 UTC (20 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.75: preferred, colored; next MAIN 1.76: preferred, colored
Changes since revision 1.75: +8 -35 lines
sync with head

Revision 1.76: download - view: text, markup, annotated - select for diffs
Mon Oct 9 16:27:07 2006 UTC (20 years, 1 month ago) by rpaulo
Branches: MAIN
CVS tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, post-newlock2-merge, newlock2-nbase, newlock2-base, 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, matt-nb4-arm-base, matt-nb4-arm, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, netbsd-4, mjf-ufs-trans
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +8 -35 lines
Modular (I tried ;-) TCP congestion control API. Whenever certain conditions
happen in the TCP stack, this interface calls the specified callback to
handle the situation according to the currently selected congestion
control algorithm.
A new sysctl node was created: net.inet.tcp.congctl.{available,selected}
with obvious meanings.
The old net.inet.tcp.newreno MIB was removed.
The API is discussed in tcp_congctl(9).

In the near future, it will be possible to selected a congestion control
algorithm on a per-socket basis.

Discussed on tech-net and reviewed by <yamt>.

Revision 1.73.4.2: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:58:47 2006 UTC (20 years, 2 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.73.4.1: preferred, colored; branchpoint 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73.4.1: +3 -2 lines
sync with head

Revision 1.71.4.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:11:02 2006 UTC (20 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +28 -2 lines
sync with head.

Revision 1.73.12.1: download - view: text, markup, annotated - select for diffs
Wed May 24 15:50:45 2006 UTC (20 years, 5 months ago) by tron
Branches: peter-altq
Diff to: previous 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73: +3 -2 lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.73.8.1: download - view: text, markup, annotated - select for diffs
Wed May 24 10:59:03 2006 UTC (20 years, 5 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73: +3 -2 lines
sync with head.

Revision 1.75: download - view: text, markup, annotated - select for diffs
Sun May 14 21:19:34 2006 UTC (20 years, 6 months ago) by elad
Branches: MAIN
CVS tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +2 -2 lines
integrate kauth.

Revision 1.73.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:40:11 2006 UTC (20 years, 6 months ago) by simonb
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73: +3 -2 lines
Sync with head.

Revision 1.73.10.1: download - view: text, markup, annotated - select for diffs
Wed Apr 19 04:46:11 2006 UTC (20 years, 7 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73: +3 -2 lines
sync with head.

Revision 1.74: download - view: text, markup, annotated - select for diffs
Sat Apr 15 02:33:41 2006 UTC (20 years, 7 months ago) by christos
Branches: MAIN
CVS tags: elad-kernelauth-base
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +3 -2 lines
Coverity CID 1153: Add KASSERT before deref.

Revision 1.73.4.1: download - view: text, markup, annotated - select for diffs
Sun Feb 5 03:09:11 2006 UTC (20 years, 9 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +2 -3 lines
<netinet6/in6_pcb.h> went away. Bye!

Revision 1.73: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:24:58 2005 UTC (20 years, 11 months ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +2 -2 lines
merge ktrace-lwp.

Revision 1.62.2.6: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:11:07 2005 UTC (21 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.62.2.5: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62.2.5: +27 -2 lines
Sync with HEAD. Here we go again...

Revision 1.72: download - view: text, markup, annotated - select for diffs
Tue Jul 19 17:00:02 2005 UTC (21 years, 4 months ago) by christos
Branches: MAIN
CVS tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +27 -2 lines
Implement PMTU checks from:

        http://www.gont.com.ar/drafts/icmp-attacks-against-tcp.html

1. Don't act on ICMP-need-frag immediately if adhoc checks on the
advertised MTU fail. The MTU update is delayed until a TCP retransmit
happens.
2. Ignore ICMP Source Quench messages meant for TCP connections.

From OpenBSD.

Revision 1.66.8.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:29:34 2005 UTC (21 years, 6 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66: +22 -6 lines
sync with -current

Revision 1.66.10.2: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:36:38 2005 UTC (21 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.66.10.1: preferred, colored; branchpoint 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66.10.1: +18 -3 lines
sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.62.2.5: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:53:30 2005 UTC (21 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.62.2.4: preferred, colored
Changes since revision 1.62.2.4: +18 -3 lines
Sync with HEAD.

Hi Perry!

Revision 1.71: download - view: text, markup, annotated - select for diffs
Wed Mar 2 10:20:18 2005 UTC (21 years, 8 months ago) by mycroft
Branches: MAIN
CVS tags: yamt-km-base4, yamt-km-base3, 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, kent-audio2-base
Branch point for: yamt-lazymbuf, netbsd-3
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +5 -3 lines
Copyright maintenance.

Revision 1.70: download - view: text, markup, annotated - select for diffs
Mon Feb 28 16:20:59 2005 UTC (21 years, 8 months ago) by jonathan
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +15 -2 lines
Commit TCP SACK patches from Kentaro A. Karahone's patch at:
   http://www.sigusr1.org/~kurahone/tcp-sack-netbsd-02152005.diff.gz

Fixes in that patch for pre-existing TCP pcb initializations were already
committed to NetBSD-current, so are not included in this commit.

The SACK patch has been observed to correctly negotiate and respond,
to SACKs in wide-area traffic.

There are two indepenently-observed, as-yet-unresolved anomalies:
First, seeing unexplained delays between in fast retransmission
(potentially explainable by an 0.2sec RTT between adjacent
ethernet/wifi NICs); and second, peculiar and unepxlained TCP
retransmits observed over an ath0 card.

After discussion with several interested developers, I'm committing
this now, as-is, for more eyes to use and look over.  Current hypothesis
is that the anomalies above may in fact be due to link/level (hardware,
driver, HAL, firmware) abberations in the test setup, affecting  both
Kentaro's  wired-Ethernet NIC and in my two (different) WiFi NICs.

Revision 1.66.10.1: download - view: text, markup, annotated - select for diffs
Sat Feb 12 18:17:54 2005 UTC (21 years, 9 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +6 -5 lines
sync with head.

Revision 1.62.2.4: download - view: text, markup, annotated - select for diffs
Fri Feb 4 11:47:49 2005 UTC (21 years, 9 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.62.2.3: preferred, colored
Changes since revision 1.62.2.3: +6 -5 lines
Sync with HEAD.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Thu Feb 3 23:51:56 2005 UTC (21 years, 9 months ago) by perry
Branches: MAIN
CVS tags: yamt-km-base2
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +4 -5 lines
ANSIfy function declarations

Revision 1.68: download - view: text, markup, annotated - select for diffs
Thu Jan 27 18:45:41 2005 UTC (21 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +3 -2 lines
Whoops.  Exit fast recovery when handling a timeout.

Revision 1.67: download - view: text, markup, annotated - select for diffs
Wed Jan 26 21:49:27 2005 UTC (21 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +3 -2 lines
Fix two problems in our TCP stack:

1) If an echoed RFC 1323 time stamp appears to be later than the current time,
   ignore it and fall back to old-style RTT calculation.  This prevents ending
   up with a negative RTT and panicking later.

2) Fix NewReno.  This involves a few changes:

   a) Implement the send_high variable in RFC 2582.  Our implementation is
      subtly different; it is one *past* the last sequence number transmitted
      rather than being equal to it.  This simplifies some logic and makes
      the code smaller.  Additional logic was required to prevent sequence
      number wraparound problems; this is not mentioned in RFC 2582.

   b) Make sure we reset t_dupacks on new acks, but *not* on a partial ack.
      All of the new ack code is pushed out into tcp_newreno().  (Later this
      will probably be a pluggable function.)  Thus t_dupacks keeps track of
      whether we're in fast recovery all the time, with Reno or NewReno, which
      keeps some logic simpler.

   c) We do not need to update snd_recover when we're not in fast recovery.
      See tech-net for an explanation of this.

   d) In the gratuitous fast retransmit prevention case, do not send a packet.
      RFC 2582 specifically says that we should "do nothing".

   e) Do not inflate the congestion window on a partial ack.  (This is done by
      testing t_dupacks to see whether we're still in fast recovery.)

This brings the performance of NewReno back up to the same as Reno in a few
random test cases (e.g. transferring peer-to-peer over my wireless network).
I have not concocted a good test case for the behavior specific to NewReno.

Revision 1.62.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:37:14 2004 UTC (22 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.62.2.2: preferred, colored
Changes since revision 1.62.2.2: +2 -2 lines
Fix the sync with head I botched.

Revision 1.62.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:54:54 2004 UTC (22 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.62.2.1: preferred, colored
Changes since revision 1.62.2.1: +0 -0 lines
Sync with HEAD.

Revision 1.62.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:54:45 2004 UTC (22 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +50 -10 lines
Sync with HEAD

Revision 1.57.10.3: download - view: text, markup, annotated - select for diffs
Mon Mar 15 05:49:10 2004 UTC (22 years, 8 months ago) by jmc
Branches: netbsd-1-6
Diff to: previous 1.57.10.2: preferred, colored; branchpoint 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57.10.2: +3 -3 lines
Pullup rev 1.66 (requested by he in ticket #1624)

callout_ack() was called with wrong argument

Revision 1.66: download - view: text, markup, annotated - select for diffs
Fri Jan 2 15:51:04 2004 UTC (22 years, 10 months ago) by itojun
Branches: MAIN
CVS tags: yamt-km-base, 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, kent-audio1-beforemerge, kent-audio1-base, kent-audio1, BEFORE-IPF413, BEFORE-IPF411
Branch point for: yamt-km, kent-audio2
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +3 -3 lines
some corrections from markus@openbsd;
- callout_ack() was called with wrong argument

Revision 1.65: download - view: text, markup, annotated - select for diffs
Mon Oct 27 07:43:01 2003 UTC (23 years ago) by itojun
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +5 -5 lines
make it compilable with TCP_DEBUG defined

Revision 1.57.10.2: download - view: text, markup, annotated - select for diffs
Wed Oct 22 06:06:05 2003 UTC (23 years, 1 month 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.57.10.1: preferred, colored; branchpoint 1.57: preferred, colored
Changes since revision 1.57.10.1: +46 -2 lines
Pullup rev 1.63 (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.57.10.1: download - view: text, markup, annotated - select for diffs
Fri Sep 5 13:42:52 2003 UTC (23 years, 2 months ago) by tron
Branches: netbsd-1-6
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +10 -8 lines
Pull up revision 1.58 (requested by tls in ticket #1445):
path MTU discovery blackhole detection.
PR 12790 (sorry for not committing it for a long time)

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

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

Revision 1.63: download - view: text, markup, annotated - select for diffs
Sun Jul 20 16:35:09 2003 UTC (23 years, 4 months ago) by he
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +46 -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.62: download - view: text, markup, annotated - select for diffs
Mon Feb 3 23:51:04 2003 UTC (23 years, 9 months ago) by thorpej
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +2 -10 lines
Test callout_pending(), not callout_active(), and eliminate now-unnecessary
callout_deactivate() calls.

Revision 1.48.2.5: download - view: text, markup, annotated - select for diffs
Wed Dec 11 06:46:39 2002 UTC (23 years, 11 months ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.48.2.4: preferred, colored; branchpoint 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48.2.4: +1 -1 lines
Sync with HEAD.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Sun Nov 24 10:55:03 2002 UTC (23 years, 11 months ago) by scw
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +3 -3 lines
Quell an uninitialised variable warning.

Revision 1.48.2.4: download - view: text, markup, annotated - select for diffs
Mon Nov 11 22:15:32 2002 UTC (24 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.48.2.3: preferred, colored; branchpoint 1.48: preferred, colored
Changes since revision 1.48.2.3: +8 -8 lines
Catch up to -current

Revision 1.60: download - view: text, markup, annotated - select for diffs
Tue Oct 22 03:11:03 2002 UTC (24 years, 1 month ago) by simonb
Branches: MAIN
CVS tags: kqueue-beforemerge, kqueue-aftermerge
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +8 -8 lines
Guard use of "so" in tcp_timer_persist() and tcp_timer_2msl() with
#ifdef TCP_DEBUG.

Revision 1.48.4.3: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:51:02 2002 UTC (24 years, 4 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.48.4.2: preferred, colored; branchpoint 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48.4.2: +15 -13 lines
catch up with -current on kqueue branch

Revision 1.57.8.2: download - view: text, markup, annotated - select for diffs
Thu Jun 20 15:52:31 2002 UTC (24 years, 5 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.57.8.1: preferred, colored; branchpoint 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57.8.1: +6 -6 lines
catch up with -current.

Revision 1.48.2.3: download - view: text, markup, annotated - select for diffs
Thu Jun 20 03:48:59 2002 UTC (24 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.48.2.2: preferred, colored; branchpoint 1.48: preferred, colored
Changes since revision 1.48.2.2: +15 -13 lines
Catch up to -current.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Sun Jun 9 16:33:44 2002 UTC (24 years, 5 months ago) by itojun
Branches: MAIN
CVS tags: kqueue-base, gehenna-devsw-base
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +6 -6 lines
whitespace

Revision 1.57.8.1: download - view: text, markup, annotated - select for diffs
Thu May 30 13:52:28 2002 UTC (24 years, 5 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +11 -9 lines
Catch up with -current.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Sun May 26 16:05:45 2002 UTC (24 years, 5 months ago) by itojun
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +11 -9 lines
path MTU discovery blackhole detection.
PR 12790 (sorry for not committing it for a long time)

Revision 1.48.4.2: download - view: text, markup, annotated - select for diffs
Thu Jan 10 20:03:03 2002 UTC (24 years, 10 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.48.4.1: preferred, colored; branchpoint 1.48: preferred, colored
Changes since revision 1.48.4.1: +7 -4 lines
Sync kqueue branch with -current.

Revision 1.48.2.2: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:17:58 2001 UTC (25 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.48.2.1: preferred, colored; branchpoint 1.48: preferred, colored
Changes since revision 1.48.2.1: +7 -4 lines
Catch up to -current.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Tue Nov 13 00:32:42 2001 UTC (25 years ago) by lukem
Branches: MAIN
CVS tags: newlock-base, newlock, 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, ifpoll-base, eeh-devprop-base, eeh-devprop
Branch point for: netbsd-1-6, gehenna-devsw
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +4 -1 lines
add RCSIDs

Revision 1.55.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 12 21:19:29 2001 UTC (25 years ago) by thorpej
Branches: thorpej-mips-cache
Diff to: previous 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55: +4 -4 lines
Sync the thorpej-mips-cache branch with -current.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Sun Nov 4 13:42:28 2001 UTC (25 years ago) by matt
Branches: MAIN
CVS tags: thorpej-mips-cache-base
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +4 -4 lines
Change a few variable/tables to const since they are read-only.

Revision 1.48.6.1: download - view: text, markup, annotated - select for diffs
Mon Oct 1 12:47:48 2001 UTC (25 years, 1 month ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48: +370 -299 lines
Catch up with -current.

Revision 1.48.2.1: download - view: text, markup, annotated - select for diffs
Fri Sep 21 22:36:50 2001 UTC (25 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +370 -299 lines
Catch up to -current.

Revision 1.48.4.1: download - view: text, markup, annotated - select for diffs
Thu Sep 13 01:16:24 2001 UTC (25 years, 2 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +370 -299 lines
Update the kqueue branch to HEAD.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Tue Sep 11 21:03:21 2001 UTC (25 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-devvp-base3, thorpej-devvp-base2, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-mips-cache
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +1 -6 lines
Use callouts for SYN cache timers, rather than traversing time queues
in tcp_slowtimo().

Revision 1.54: download - view: text, markup, annotated - select for diffs
Mon Sep 10 22:45:46 2001 UTC (25 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +2 -2 lines
Update copyrights.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Mon Sep 10 22:14:28 2001 UTC (25 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +10 -72 lines
Use callouts for TCP timers, rather than traversing the list of
all open TCP connections in tcp_slowtimo() (which is called 2x
per second).  It's fairly rare for TCP timers to actually fire,
so saving this list traversal is good, especially if you want
to scale to thousands of open connections.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Mon Sep 10 20:36:43 2001 UTC (25 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +33 -6 lines
Initialize TCP timer variables in a new function, tcp_timer_init().

Revision 1.51: download - view: text, markup, annotated - select for diffs
Mon Sep 10 20:15:14 2001 UTC (25 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +314 -202 lines
Split tcp_timers() into multiple functions, one for each timer,
and call it directly from tcp_slowtimo() (via a table) rather
than going through tcp_userreq().

This will allow us to call TCP timers directly from callouts,
in a future revision.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Mon Sep 10 15:23:10 2001 UTC (25 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +8 -12 lines
Change the way receive idle time and round trip time are measured.
Instead of incrementing t_idle and t_rtt in tcp_slowtimo(), we now
take a timstamp (via tcp_now) and use subtraction to compute the
delta when we actually need it (using unsigned arithmetic so that
tcp_now wrapping is handled correctly).

Based on similar changes in FreeBSD.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Mon Sep 10 04:24:25 2001 UTC (25 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +18 -15 lines
Use a callout for the delayed ACK timer, and delete tcp_fasttimo().
Expose the delayed ACK timer as net.inet.tcp.delack_ticks.

Revision 1.45.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 18:10:37 2000 UTC (26 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +24 -13 lines
Update thorpej_scsipi to -current as of a month ago

Revision 1.48: download - view: text, markup, annotated - select for diffs
Thu Oct 19 20:23:00 2000 UTC (26 years, 1 month ago) by itojun
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej-devvp-base
Branch point for: thorpej-devvp, nathanw_sa, kqueue
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +3 -3 lines
remove #ifdef TCP6.  it is not likely for us to bring in sys/netinet6/tcp6*.c
(separate TCP/IPv6 stack) into netbsd-current.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Tue Oct 17 03:06:44 2000 UTC (26 years, 1 month ago) by itojun
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +15 -4 lines
be more friendly with INET-less build.
XXX we need to do more to do a working INET-less build

Revision 1.46: download - view: text, markup, annotated - select for diffs
Thu Mar 30 13:25:10 2000 UTC (26 years, 7 months ago) by augustss
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.45: preferred, colored
Changes since revision 1.45: +8 -8 lines
Remove register declarations.

Revision 1.43.10.3: download - view: text, markup, annotated - select for diffs
Tue Nov 30 13:35:41 1999 UTC (26 years, 11 months ago) by itojun
Branches: kame
CVS tags: kame_141_19991130
Diff to: previous 1.43.10.2: preferred, colored; branchpoint 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43.10.2: +3 -3 lines
bring in latest KAME (as of 19991130, KAME/NetBSD141) into kame branch
just for reference purposes.
This commit includes 1.4 -> 1.4.1 sync for kame branch.

The branch does not compile at all (due to the lack of ALTQ and some other
source code).  Please do not try to modify the branch, this is just for
referenre purposes.

synchronization to latest KAME will take place on HEAD branch soon.

Revision 1.43.8.2: download - view: text, markup, annotated - select for diffs
Mon Aug 2 22:35:00 1999 UTC (27 years, 3 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.43.8.1: preferred, colored; branchpoint 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43.8.1: +3 -3 lines
Update from trunk.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Wed Jul 14 22:37:15 1999 UTC (27 years, 4 months ago) by itojun
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase, chs-ubc2-base
Branch point for: thorpej_scsipi
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +3 -3 lines
Use proper ip protocol # field and tcp hdr on sending RST against SYN,
when ip header and tcp header are not adjacent to each other
(i.e. when ip6 options are attached).

To test this, try
	telnet @::1@::1 port
toward a port without responding server.  Prior to the fix, the kernel will
generate broken RST packet.

Revision 1.43.10.2: download - view: text, markup, annotated - select for diffs
Tue Jul 6 11:02:50 1999 UTC (27 years, 4 months ago) by itojun
Branches: kame
CVS tags: kame_14_19990705
Diff to: previous 1.43.10.1: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.10.1: +30 -1 lines
KAME/NetBSD 1.4, SNAP kit 1999/07/05.
NOTE: this branch is just for reference purposes (i.e. for taking cvs diff).
do not touch anything on the branch.  actual work must be done on HEAD branch.

Revision 1.43.8.1: download - view: text, markup, annotated - select for diffs
Thu Jul 1 23:47:04 1999 UTC (27 years, 4 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +114 -7 lines
Sync w/ -current.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Thu Jul 1 08:12:51 1999 UTC (27 years, 4 months ago) by itojun
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +114 -7 lines
IPv6 kernel code, based on KAME/NetBSD 1.4, SNAP kit 19990628.
(Sorry for a big commit, I can't separate this into several pieces...)
Pls check sys/netinet6/TODO and sys/netinet6/IMPLEMENTATION for details.

- sys/kern: do not assume single mbuf, accept chained mbuf on passing
  data from userland to kernel (or other way round).
- "midway" ATM card: ATM PVC pseudo device support, like those done in ALTQ
  package (ftp://ftp.csl.sony.co.jp/pub/kjc/).
- sys/netinet/tcp*: IPv4/v6 dual stack tcp support.
- sys/netinet/{ip6,icmp6}.h, sys/net/pfkeyv2.h: IETF document assumes those
  file to be there so we patch it up.
- sys/netinet: IPsec additions are here and there.
- sys/netinet6/*: most of IPv6 code sits here.
- sys/netkey: IPsec key management code
- dev/pci/pcidevs: regen

In my understanding no code here is subject to export control so it
should be safe.

Revision 1.43.10.1: download - view: text, markup, annotated - select for diffs
Mon Jun 28 06:37:02 1999 UTC (27 years, 4 months ago) by itojun
Branches: kame
CVS tags: kame_14_19990628
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +85 -7 lines
KAME/NetBSD 1.4 SNAP kit, dated 19990628.

NOTE: this branch (kame) is used just for refernce.  this may not compile
due to multiple reasons.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Thu Sep 10 10:47:00 1998 UTC (28 years, 2 months ago) by mouse
Branches: MAIN
CVS tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kenh-if-detach-base, kenh-if-detach, chs-ubc-base, chs-ubc
Branch point for: kame, chs-ubc2
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +4 -3 lines
Create tcp.keepidle, tcp.keepintvl, tcp.keepcnt, tcp.slowhz sysctls.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Fri Sep 4 22:29:55 1998 UTC (28 years, 2 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +1 -6 lines
Fix a couple of bogons related to tcp_new_iss():
* Don't add tcp_iss_seq when creating a new ISS from TIME-WAIT state.
* Do the clock increment even when using the rnd device.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Fri Jul 17 22:18:49 1998 UTC (28 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: eeh-paddr_t-base, eeh-paddr_t
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +2 -1 lines
Comment where we use the Loss Window.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Tue Jun 2 17:22:26 1998 UTC (28 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -3 lines
Loss window MUST be one segment, per draft-floyd-incr-init-win-03.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Mon May 11 20:52:18 1998 UTC (28 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -1 lines
Make sure a timer is marked "disarmed" once it has expired.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Mon May 11 19:57:24 1998 UTC (28 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +1 -9 lines
Nuke TUBA per my note to tech-net; there's no reason to keep it around.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Thu May 7 01:30:46 1998 UTC (28 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -3 lines
Define all TCP timers in terms of PRT timers.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed May 6 01:21:23 1998 UTC (28 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +7 -7 lines
Use macros from tcp_timer.h to manipulate TCP timers, so that their
implementation can be changed easily.

Revision 1.21.2.3: download - view: text, markup, annotated - select for diffs
Tue May 5 09:25:38 1998 UTC (28 years, 6 months ago) by mycroft
Branches: netbsd-1-3
CVS tags: netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002
Diff to: previous 1.21.2.2: preferred, colored; branchpoint 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21.2.2: +10 -4 lines
Pull up 1.31, per request of kml.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Fri May 1 01:15:55 1998 UTC (28 years, 6 months ago) by kml
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +4 -2 lines
Remove bogus black hole discovery code

Revision 1.34: download - view: text, markup, annotated - select for diffs
Wed Apr 29 05:16:47 1998 UTC (28 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +17 -20 lines
Make use of the work-arounds for ancient broken TCP peers run-time
conditional (tcp_compat_42).  The kernel config option TCP_COMPAT_42
will still enable this by default, or disable this by default if the
option is not included (i.e. current behavior).  This will be made a
sysctl soon.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Wed Apr 29 03:44:12 1998 UTC (28 years, 6 months ago) by kml
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +15 -1 lines
Add support for deletion of routes added by path MTU discovery;
uses new generic route timeout code.  Add sysctl for timeout period.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue Mar 31 22:49:10 1998 UTC (28 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +9 -2 lines
Fix a potential-congestion case in the larger initial congestion window
code, as clarified in the TCPIMPL WG meeting at IETF #41: If the SYN
(active open) or SYN,ACK (passive open) was retransmitted, the initial
congestion window for the first slow start of that connection must be
one segment.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Thu Mar 19 22:29:34 1998 UTC (28 years, 8 months ago) by kml
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +10 -4 lines
Fix a retransmission bug introduced by the Brakmo and Peterson
RTO estimation changes.  Under some circumstances it would return a value
of 0, while the old Van Jacobson RTO code would return a minimum of 3.
This would result in 12 retransmissions, each 1 second apart.
This takes care of those instances, and ensures that t_rttmin is
used everywhere as a lower bound.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Thu Feb 19 02:36:44 1998 UTC (28 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +38 -1 lines
Update copyright (sigh, should have done this long ago).

Revision 1.21.2.2: download - view: text, markup, annotated - select for diffs
Thu Jan 29 10:27:45 1998 UTC (28 years, 9 months ago) by mellon
Branches: netbsd-1-3
CVS tags: netbsd-1-3-PATCH001
Diff to: previous 1.21.2.1: preferred, colored; branchpoint 1.21: preferred, colored
Changes since revision 1.21.2.1: +42 -20 lines
Pull up 1.23-1.28 (thorpej)

Revision 1.29: download - view: text, markup, annotated - select for diffs
Mon Jan 12 03:00:43 1998 UTC (28 years, 10 months ago) by scottr
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +3 -1 lines
Use option header file for TCP_COMPAT_42

Revision 1.28: download - view: text, markup, annotated - select for diffs
Mon Jan 5 10:32:11 1998 UTC (28 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -3 lines
Finishing merging 4.4BSD-Lite2 netinet.  At this point, the only changes
left were SCCS IDs and Copyright dates.

Revision 1.1.1.3 (vendor branch): download - view: text, markup, annotated - select for diffs
Mon Jan 5 09:56:03 1998 UTC (28 years, 10 months ago) by thorpej
Branches: WFJ-920714, CSRG
CVS tags: lite-2
Diff to: previous 1.1.1.2: preferred, colored
Changes since revision 1.1.1.2: +29 -5 lines
Import sys/netinet from 4.4BSD-Lite2 for reference purposes.

Revision 1.1.1.2 (vendor branch): download - view: text, markup, annotated - select for diffs
Mon Jan 5 09:54:26 1998 UTC (28 years, 10 months ago) by thorpej
Branches: WFJ-920714, CSRG
CVS tags: lite-1, date-03-may-96
Diff to: previous 1.1.1.1: preferred, colored
Changes since revision 1.1.1.1: +34 -26 lines
Import sys/netinet from 4.4BSD-Lite for reference purposes.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Wed Dec 31 03:31:27 1997 UTC (28 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +13 -12 lines
Implement a queue for delayed ACK processing.  This queue is used in
tcp_fasttimo() in lieu of scanning all open TCP connections.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Wed Dec 17 06:04:17 1997 UTC (28 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +26 -3 lines
From 4.4BSD-Lite2:
- When running the slow timers, skip PCBs in LISTEN state.
- When processing the persist timer, drop the connection if the connection
  idle time exceeds the maximum backoff for retransmit.  Part of
  kern/2335 (pete@daemon.net).

Revision 1.25: download - view: text, markup, annotated - select for diffs
Thu Dec 11 22:47:26 1997 UTC (28 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -3 lines
Implement an infrastructure to allow larger initial congestion windows.
The sysctl'able variable "tcp_init_win", when set to 0, selects an
auto-tuning algorithm for selecting the initial window, based on transmit
segment size, per discussion in the IETF tcpimpl working group.

Default initial window is still 1 segment, but will soon become 2 segments,
per discussion in tcpimpl.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Dec 11 06:42:44 1997 UTC (28 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +1 -3 lines
In tcp_fasttimo(), don't clear TF_DELACK; we need it to count delayed ACKs
in tcp_output(), and it will only be cleared in tcp_output() if the ACK was
transmitted sucessfully.  Also, don't count delayed ACKs here, let tcp_output()
count them.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Tue Dec 9 21:59:17 1997 UTC (28 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -2 lines
Costmetic change: use intotcpcb() in tcp_fasttimo().

Revision 1.21.2.1: download - view: text, markup, annotated - select for diffs
Sat Nov 8 06:31:34 1997 UTC (29 years ago) by thorpej
Branches: netbsd-1-3
CVS tags: netbsd-1-3-RELEASE, netbsd-1-3-BETA
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +4 -4 lines
Pull up from trunk: TCP MSS fixes to provide cleaner slow-start and recovery.
(kml)

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Nov 8 02:35:25 1997 UTC (29 years ago) by kml
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +4 -4 lines
TCP MSS fixes to provide cleaner slow-start and recovery.

Revision 1.19.2.1: download - view: text, markup, annotated - select for diffs
Tue Oct 14 10:29:47 1997 UTC (29 years, 1 month ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +6 -4 lines
Update marc-pcmcia branch from trunk.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon Oct 13 00:48:16 1997 UTC (29 years, 1 month ago) by explorer
Branches: MAIN
CVS tags: netbsd-1-3-base, marc-pcmcia-base
Branch point for: netbsd-1-3
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +8 -1 lines
o Make usage of /dev/random dependant on
  pseudo-device   rnd                     # /dev/random and in-kernel generator
  in config files.

o Add declaration to all architectures.

o Clean up copyright message in rnd.c, rnd.h, and rndpool.c to include
  that this code is derived in part from Ted Tyso's linux code.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Fri Oct 10 01:51:10 1997 UTC (29 years, 1 month ago) by explorer
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +1 -6 lines
Add hooks to use the kernel random system to generate TCP sequence numbers.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Jul 28 22:07:40 1997 UTC (29 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-signal-base, thorpej-signal, marc-pcmcia-bp
Branch point for: marc-pcmcia
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +1 -2 lines
Garbage-collect some "extern"s.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Jul 23 21:26:52 1997 UTC (29 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +13 -5 lines
Pull SYN_cache_branch down into the main line.

Revision 1.17.8.2: download - view: text, markup, annotated - select for diffs
Sat Jun 28 04:24:18 1997 UTC (29 years, 4 months ago) by thorpej
Branches: SYN_cache_branch
Diff to: previous 1.17.8.1: preferred, colored; branchpoint 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17.8.1: +5 -5 lines
KNF.

Revision 1.17.8.1: download - view: text, markup, annotated - select for diffs
Wed May 14 18:06:50 1997 UTC (29 years, 6 months ago) by mellon
Branches: SYN_cache_branch
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +13 -5 lines
More of David Borman's SYN cache patches for Lite2:

	tcp_slowtimo:

	- call syn_cache_timer()

Revision 1.14.4.2: download - view: text, markup, annotated - select for diffs
Wed Dec 11 04:01:09 1996 UTC (29 years, 11 months ago) by mycroft
Branches: netbsd-1-2
CVS tags: netbsd-1-2-PATCH001
Diff to: previous 1.14.4.1: preferred, colored; branchpoint 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14.4.1: +3 -2 lines
From trunk:
Eliminate SS_PRIV; instead, pass down a proc pointer to the usrreq methods
that need it.
Fix numerous memory leaks and bogus return values.

Revision 1.14.4.1: download - view: text, markup, annotated - select for diffs
Tue Dec 10 18:21:12 1996 UTC (29 years, 11 months ago) by mycroft
Branches: netbsd-1-2
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -4 lines
From trunk:
Fix RTT scaling problems introduced with Brakmo and Peterson changes.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Dec 10 18:20:24 1996 UTC (29 years, 11 months ago) by mycroft
Branches: MAIN
CVS tags: thorpej-setroot, mrg-vm-swap, is-newarp-before-merge, is-newarp-base, is-newarp, bouyer-scsipi, SYN_cache_cur_base
Branch point for: SYN_cache_branch
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +4 -5 lines
Fix RTT scaling problems introduced with Brakmo and Peterson changes.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Sep 9 14:51:22 1996 UTC (30 years, 2 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +12 -12 lines
Add in_nullhost() and in_hosteq() macros, to hide some protocol
details.  Also, fix a bug in TCP wrt SYN+URG packets.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Wed May 22 13:55:32 1996 UTC (30 years, 6 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -2 lines
Pass a proc pointer down to the usrreq and pcbbind functions for PRU_ATTACH, PRU_BIND and
PRU_CONTROL.  The usrreq interface really needs to be split up, but this will have to wait.
Remove SS_PRIV completely.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Tue Feb 13 23:44:09 1996 UTC (30 years, 9 months ago) by christos
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.13: preferred, colored
Changes since revision 1.13: +2 -2 lines
netinet prototypes

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Aug 12 23:59:39 1995 UTC (31 years, 3 months ago) by mycroft
Branches: MAIN
CVS tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -3 lines
splnet --> splsoftnet

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sun Jun 18 20:01:17 1995 UTC (31 years, 5 months ago) by cgd
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +16 -7 lines
convert pcb lists to CIRCLEQs, so that the end can be looked at more
easily, and so that the original (insque/remque) logic can be effectively
mimiced.  (This fixes a bug in the previous set of list changes.)
also (since terminator is no longer null) reinstate uninitted list checks,
but mark them XXX.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Jun 12 00:47:58 1995 UTC (31 years, 5 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +12 -14 lines
Various cleanup, including:
* Convert several data structures to use queue.h.
* Split in_pcbnotify() into two parts; one for notifying a specific PCB, and
one for notifying all PCBs for a particular foreign address.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Apr 13 06:36:49 1995 UTC (31 years, 7 months ago) by cgd
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2 lines
be a bit more careful and explicit with types.  (basically a large no-op.)

Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri Oct 14 16:01:52 1994 UTC (32 years, 1 month ago) by mycroft
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
Don't return received data to the user until the initial handshake is complete.
Also use TCPS_HAVEESTABLISHED() in a few other places.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Jun 29 06:38:48 1994 UTC (32 years, 4 months ago) by cgd
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.7: preferred, colored
Changes since revision 1.7: +3 -2 lines
New RCS ID's, take two.  they're more aesthecially pleasant, and use 'NetBSD'

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri May 13 06:06:46 1994 UTC (32 years, 6 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +10 -6 lines
Update to 4.4-Lite networking code, with a few local changes.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Jan 8 23:07:22 1994 UTC (32 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +5 -1 lines
Prototypes.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Jan 8 21:22:02 1994 UTC (32 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
Fix some inconsistent spacing; spaces at the end of lines, etc.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Dec 18 00:42:09 1993 UTC (32 years, 11 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +22 -22 lines
Canonicalize all #includes.

Revision 1.3.4.1: download - view: text, markup, annotated - select for diffs
Fri Sep 24 08:54:59 1993 UTC (33 years, 2 months ago) by mycroft
Branches: magnum
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +3 -1 lines
Make all files using spl*() #include cpu.h.  Changes from trunk.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat May 22 11:42:47 1993 UTC (33 years, 6 months ago) by cgd
Branches: MAIN
CVS tags: netbsd-0-9-patch-001, netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9, magnum-base
Branch point for: magnum
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -2 lines
add include of select.h if necessary for protos, or delete if extraneous

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue May 18 18:20:20 1993 UTC (33 years, 6 months ago) by cgd
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -1 lines
make kernel select interface be one-stop shopping & clean it all up.

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Mar 21 09:45:37 1993 UTC (33 years, 8 months ago) by cgd
Branches: WFJ-920714, CSRG
CVS tags: patchkit-0-2-2, netbsd-alpha-1, netbsd-0-8, WFJ-386bsd-01
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
initial import of 386bsd-0.1 sources

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Mar 21 09:45:37 1993 UTC (33 years, 8 months ago) by cgd
Branches: MAIN
Initial revision

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>