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


Default branch: MAIN


Revision 1.99 / (download) - annotate - [select for diffs], Fri Nov 4 09:00:58 2022 UTC (16 months ago) by ozaki-r
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, 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.98: +4 -4 lines
Diff to previous 1.98 (colored)

inpcb: rename functions to inpcb_*

Inspired by rmind-smpnet patches.

Revision 1.98 / (download) - annotate - [select for diffs], Fri Oct 28 05:25:36 2022 UTC (16 months, 1 week ago) by ozaki-r
Branch: MAIN
Changes since 1.97: +3 -3 lines
Diff to previous 1.97 (colored)

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) - annotate - [select for diffs], Fri Oct 28 05:18:39 2022 UTC (16 months, 1 week ago) by ozaki-r
Branch: MAIN
Changes since 1.96: +9 -42 lines
Diff to previous 1.96 (colored)

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) - annotate - [select for diffs], Sat Apr 3 22:29:02 2021 UTC (2 years, 11 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.95: +4 -3 lines
Diff to previous 1.95 (colored) next main 1.96 (colored)

Sync with HEAD.

Revision 1.91.8.2 / (download) - annotate - [select for diffs], Tue Mar 9 15:56:51 2021 UTC (2 years, 11 months ago) by martin
Branch: netbsd-8
Changes since 1.91.8.1: +4 -3 lines
Diff to previous 1.91.8.1 (colored) to branchpoint 1.91 (colored) next main 1.92 (colored)

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) - annotate - [select for diffs], Tue Mar 9 15:54:32 2021 UTC (2 years, 11 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE
Changes since 1.95: +4 -3 lines
Diff to previous 1.95 (colored) next main 1.96 (colored)

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) - annotate - [select for diffs], Mon Mar 8 17:54:43 2021 UTC (2 years, 11 months ago) by christos
Branch: 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
Changes since 1.95: +4 -3 lines
Diff to previous 1.95 (colored)

Add some randomness to the iss offset

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

Sync with HEAD

Revision 1.95 / (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, 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
Changes since 1.94: +2 -3 lines
Diff to previous 1.94 (colored)

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

Revision 1.93.2.1 / (download) - annotate - [select for diffs], Fri Mar 30 06:20:16 2018 UTC (5 years, 11 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.93: +2 -17 lines
Diff to previous 1.93 (colored)

Resolve conflicts between branch and HEAD

Revision 1.94 / (download) - annotate - [select for diffs], Thu Mar 29 07:46:43 2018 UTC (5 years, 11 months ago) by maxv
Branch: MAIN
CVS Tags: pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330
Changes since 1.93: +2 -17 lines
Diff to previous 1.93 (colored)

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) - annotate - [select for diffs], Sat Feb 3 22:07:26 2018 UTC (6 years, 1 month ago) by snj
Branch: 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
Changes since 1.91: +42 -4 lines
Diff to previous 1.91 (colored)

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) - annotate - [select for diffs], Fri Jan 19 07:53:01 2018 UTC (6 years, 1 month ago) by ozaki-r
Branch: MAIN
CVS Tags: pgoyette-compat-base, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.92: +42 -4 lines
Diff to previous 1.92 (colored)

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) - annotate - [select for diffs], Sun Dec 3 11:39:04 2017 UTC (6 years, 3 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.86.12.1: +8 -16 lines
Diff to previous 1.86.12.1 (colored) to branchpoint 1.86 (colored) next main 1.87 (colored)

update from HEAD

Revision 1.88.2.4 / (download) - annotate - [select for diffs], Mon Aug 28 17:53:12 2017 UTC (6 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.88.2.3: +7 -15 lines
Diff to previous 1.88.2.3 (colored) to branchpoint 1.88 (colored) next main 1.89 (colored)

Sync with HEAD

Revision 1.92 / (download) - annotate - [select for diffs], Fri Jul 28 19:16:41 2017 UTC (6 years, 7 months ago) by maxv
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, nick-nhusb-base-20170825
Changes since 1.91: +7 -15 lines
Diff to previous 1.91 (colored)

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) - annotate - [select for diffs], Wed Oct 5 20:56:09 2016 UTC (7 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.88.2.2: +3 -3 lines
Diff to previous 1.88.2.2 (colored) to branchpoint 1.88 (colored)

Sync with HEAD

Revision 1.90.2.1 / (download) - annotate - [select for diffs], Tue Jul 26 03:24:23 2016 UTC (7 years, 7 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.90: +3 -3 lines
Diff to previous 1.90 (colored) next main 1.91 (colored)

Sync with HEAD

Revision 1.91 / (download) - annotate - [select for diffs], Mon Jul 25 00:10:38 2016 UTC (7 years, 7 months ago) by knakahara
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-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
Changes since 1.90: +3 -3 lines
Diff to previous 1.90 (colored)

fix: unlock in reverse order

Revision 1.88.2.2 / (download) - annotate - [select for diffs], Sun May 29 08:44:38 2016 UTC (7 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.88.2.1: +2 -3 lines
Diff to previous 1.88.2.1 (colored) to branchpoint 1.88 (colored)

Sync with HEAD

Revision 1.90 / (download) - annotate - [select for diffs], Tue Apr 26 08:44:44 2016 UTC (7 years, 10 months ago) by ozaki-r
Branch: MAIN
CVS Tags: pgoyette-localcount-base, nick-nhusb-base-20160907, nick-nhusb-base-20160529
Branch point for: pgoyette-localcount
Changes since 1.89: +2 -3 lines
Diff to previous 1.89 (colored)

Sweep unnecessary route.h inclusions

Revision 1.88.2.1 / (download) - annotate - [select for diffs], Tue Sep 22 12:06:11 2015 UTC (8 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.88: +4 -2 lines
Diff to previous 1.88 (colored)

Sync with HEAD

Revision 1.89 / (download) - annotate - [select for diffs], Mon Aug 24 22:21:26 2015 UTC (8 years, 6 months ago) by pooka
Branch: MAIN
CVS Tags: nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921
Changes since 1.88: +4 -2 lines
Diff to previous 1.88 (colored)

sprinkle _KERNEL_OPT

Revision 1.87.4.1 / (download) - annotate - [select for diffs], Sat Jan 17 12:10:53 2015 UTC (9 years, 1 month ago) by martin
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Changes since 1.87: +2 -3 lines
Diff to previous 1.87 (colored) next main 1.88 (colored)

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) - annotate - [select for diffs], Mon Nov 10 18:52:51 2014 UTC (9 years, 3 months ago) by maxv
Branch: MAIN
CVS Tags: nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.87: +2 -3 lines
Diff to previous 1.87 (colored)

Do not uselessly include <sys/malloc.h>.

Revision 1.86.12.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:35 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.86: +5 -3 lines
Diff to previous 1.86 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.86.2.1 / (download) - annotate - [select for diffs], Thu May 22 11:41:10 2014 UTC (9 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.86: +5 -3 lines
Diff to previous 1.86 (colored) next main 1.87 (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.86.16.2 / (download) - annotate - [select for diffs], Sun May 18 17:46:13 2014 UTC (9 years, 9 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.86.16.1: +5 -3 lines
Diff to previous 1.86.16.1 (colored) to branchpoint 1.86 (colored) next main 1.87 (colored)

sync with head

Revision 1.87 / (download) - annotate - [select for diffs], Thu Jan 2 18:29:01 2014 UTC (10 years, 2 months ago) by pooka
Branch: 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
Changes since 1.86: +5 -3 lines
Diff to previous 1.86 (colored)

Allow kernels compiled with INET+INET6 to be booted as IPv4-only or IPv6-only.

Revision 1.86.16.1 / (download) - annotate - [select for diffs], Wed Jul 17 03:16:31 2013 UTC (10 years, 7 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.86: +10 -9 lines
Diff to previous 1.86 (colored)

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) - annotate - [select for diffs], Wed Aug 31 18:31:03 2011 UTC (12 years, 6 months ago) by plunky
Branch: 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
Changes since 1.85: +4 -4 lines
Diff to previous 1.85 (colored)

NULL does not need a cast

Revision 1.84.10.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:09:57 2011 UTC (12 years, 9 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.84: +10 -2 lines
Diff to previous 1.84 (colored) next main 1.85 (colored)

Sync with HEAD.

Revision 1.84.8.1 / (download) - annotate - [select for diffs], Thu Apr 21 01:42:14 2011 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.84: +10 -2 lines
Diff to previous 1.84 (colored) next main 1.85 (colored)

sync with head

Revision 1.85 / (download) - annotate - [select for diffs], Wed Apr 20 13:35:52 2011 UTC (12 years, 10 months ago) by gdt
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp
Changes since 1.84: +10 -2 lines
Diff to previous 1.84 (colored)

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) - annotate - [select for diffs], Mon May 4 08:14:18 2009 UTC (14 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.80.2.1: +23 -3 lines
Diff to previous 1.80.2.1 (colored) to branchpoint 1.80 (colored) next main 1.81 (colored)

sync with head.

Revision 1.82.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:20:13 2009 UTC (15 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.82: +22 -2 lines
Diff to previous 1.82 (colored) next main 1.83 (colored)

Sync with HEAD.

Revision 1.77.28.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:32 2009 UTC (15 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.77.28.1: +21 -1 lines
Diff to previous 1.77.28.1 (colored) to branchpoint 1.77 (colored) next main 1.78 (colored)

Sync with HEAD.

Revision 1.81.6.2 / (download) - annotate - [select for diffs], Sat Dec 13 01:15:27 2008 UTC (15 years, 2 months ago) by haad
Branch: haad-dm
Changes since 1.81.6.1: +22 -2 lines
Diff to previous 1.81.6.1 (colored) to branchpoint 1.81 (colored) next main 1.82 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.76.2.1 / (download) - annotate - [select for diffs], Tue Nov 18 23:02:23 2008 UTC (15 years, 3 months ago) by snj
Branch: netbsd-4
Changes since 1.76: +22 -2 lines
Diff to previous 1.76 (colored) next main 1.77 (colored)

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) - annotate - [select for diffs], Tue Nov 18 22:57:09 2008 UTC (15 years, 3 months ago) by snj
Branch: netbsd-3
Changes since 1.71: +22 -2 lines
Diff to previous 1.71 (colored) next main 1.72 (colored)

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) - annotate - [select for diffs], Fri Nov 14 03:02:25 2008 UTC (15 years, 3 months ago) by snj
Branch: 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
Changes since 1.82: +23 -3 lines
Diff to previous 1.82 (colored) next main 1.83 (colored)

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) - annotate - [select for diffs], Mon Nov 10 01:06:43 2008 UTC (15 years, 3 months ago) by uebayasi
Branch: 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
Changes since 1.83: +3 -3 lines
Diff to previous 1.83 (colored)

Whitespace.

Revision 1.83 / (download) - annotate - [select for diffs], Sun Nov 9 17:32:38 2008 UTC (15 years, 3 months ago) by bouyer
Branch: MAIN
Changes since 1.82: +23 -3 lines
Diff to previous 1.82 (colored)

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) - annotate - [select for diffs], Sun Oct 19 22:17:46 2008 UTC (15 years, 4 months ago) by haad
Branch: haad-dm
Changes since 1.81: +3 -3 lines
Diff to previous 1.81 (colored)

Sync with HEAD.

Revision 1.81.2.1 / (download) - annotate - [select for diffs], Fri Oct 10 22:35:43 2008 UTC (15 years, 4 months ago) by skrll
Branch: wrstuden-revivesa
Changes since 1.81: +3 -3 lines
Diff to previous 1.81 (colored) next main 1.82 (colored)

Sync with HEAD.

Revision 1.82 / (download) - annotate - [select for diffs], Fri Oct 10 10:21:05 2008 UTC (15 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, netbsd-5-base, matt-mips64-base2, haad-dm-base1
Branch point for: nick-hppapmap, netbsd-5
Changes since 1.81: +3 -3 lines
Diff to previous 1.81 (colored)

tcp_delack: test for TF_DELACK.

Revision 1.77.28.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:25 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.77: +48 -70 lines
Diff to previous 1.77 (colored)

Sync with HEAD.

Revision 1.79.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:35:29 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-pf42
Changes since 1.79: +39 -62 lines
Diff to previous 1.79 (colored) next main 1.80 (colored)

sync with head.

Revision 1.80.2.1 / (download) - annotate - [select for diffs], Fri May 16 02:25:42 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.80: +2 -9 lines
Diff to previous 1.80 (colored)

sync with head.

Revision 1.81 / (download) - annotate - [select for diffs], Mon Apr 28 20:24:09 2008 UTC (15 years, 10 months ago) by martin
Branch: 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
Changes since 1.80: +2 -9 lines
Diff to previous 1.80 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.80 / (download) - annotate - [select for diffs], Thu Apr 24 11:38:38 2008 UTC (15 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp
Changes since 1.79: +39 -55 lines
Diff to previous 1.79 (colored)

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) - annotate - [select for diffs], Sat Apr 12 05:58:22 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.78: +11 -10 lines
Diff to previous 1.78 (colored)

Make IP, TCP, UDP, and ICMP statistics per-CPU.  The stats are collated
when the user requests them via sysctl.

Revision 1.78 / (download) - annotate - [select for diffs], Tue Apr 8 01:03:58 2008 UTC (15 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.77: +10 -10 lines
Diff to previous 1.77 (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.71.4.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:43:03 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.71.4.2: +17 -13 lines
Diff to previous 1.71.4.2 (colored) to branchpoint 1.71 (colored) next main 1.72 (colored)

sync with head.

Revision 1.76.8.1 / (download) - annotate - [select for diffs], Sun Jul 15 13:27:58 2007 UTC (16 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.76: +17 -13 lines
Diff to previous 1.76 (colored) next main 1.77 (colored)

Sync with head.

Revision 1.76.10.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:11:28 2007 UTC (16 years, 7 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.76: +17 -13 lines
Diff to previous 1.76 (colored) next main 1.77 (colored)

Sync with head.

Revision 1.77 / (download) - annotate - [select for diffs], Wed Jun 20 15:29:18 2007 UTC (16 years, 8 months ago) by christos
Branch: 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
Changes since 1.76: +17 -13 lines
Diff to previous 1.76 (colored)

- per socket keepalive settings
- settable connection establishment timeout

Revision 1.71.4.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:50:34 2006 UTC (17 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.71.4.1: +8 -35 lines
Diff to previous 1.71.4.1 (colored) to branchpoint 1.71 (colored)

sync with head.

Revision 1.75.8.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:39:37 2006 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.75: +8 -35 lines
Diff to previous 1.75 (colored) next main 1.76 (colored)

Sync with head.

Revision 1.75.10.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:07:29 2006 UTC (17 years, 4 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.75: +8 -35 lines
Diff to previous 1.75 (colored) next main 1.76 (colored)

sync with head

Revision 1.76 / (download) - annotate - [select for diffs], Mon Oct 9 16:27:07 2006 UTC (17 years, 4 months ago) by rpaulo
Branch: 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
Changes since 1.75: +8 -35 lines
Diff to previous 1.75 (colored)

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) - annotate - [select for diffs], Sat Sep 9 02:58:47 2006 UTC (17 years, 5 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.73.4.1: +3 -2 lines
Diff to previous 1.73.4.1 (colored) to branchpoint 1.73 (colored) next main 1.74 (colored)

sync with head

Revision 1.71.4.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:11:02 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.71: +28 -2 lines
Diff to previous 1.71 (colored)

sync with head.

Revision 1.73.12.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:45 2006 UTC (17 years, 9 months ago) by tron
Branch: peter-altq
Changes since 1.73: +3 -2 lines
Diff to previous 1.73 (colored) next main 1.74 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.73.8.1 / (download) - annotate - [select for diffs], Wed May 24 10:59:03 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.73: +3 -2 lines
Diff to previous 1.73 (colored) next main 1.74 (colored)

sync with head.

Revision 1.75 / (download) - annotate - [select for diffs], Sun May 14 21:19:34 2006 UTC (17 years, 9 months ago) by elad
Branch: 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
Changes since 1.74: +2 -2 lines
Diff to previous 1.74 (colored)

integrate kauth.

Revision 1.73.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:40:11 2006 UTC (17 years, 10 months ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.73: +3 -2 lines
Diff to previous 1.73 (colored) next main 1.74 (colored)

Sync with head.

Revision 1.73.10.1 / (download) - annotate - [select for diffs], Wed Apr 19 04:46:11 2006 UTC (17 years, 10 months ago) by elad
Branch: elad-kernelauth
Changes since 1.73: +3 -2 lines
Diff to previous 1.73 (colored) next main 1.74 (colored)

sync with head.

Revision 1.74 / (download) - annotate - [select for diffs], Sat Apr 15 02:33:41 2006 UTC (17 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: elad-kernelauth-base
Changes since 1.73: +3 -2 lines
Diff to previous 1.73 (colored)

Coverity CID 1153: Add KASSERT before deref.

Revision 1.73.4.1 / (download) - annotate - [select for diffs], Sun Feb 5 03:09:11 2006 UTC (18 years, 1 month ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.73: +2 -3 lines
Diff to previous 1.73 (colored)

<netinet6/in6_pcb.h> went away. Bye!

Revision 1.73 / (download) - annotate - [select for diffs], Sun Dec 11 12:24:58 2005 UTC (18 years, 2 months ago) by christos
Branch: 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
Changes since 1.72: +2 -2 lines
Diff to previous 1.72 (colored)

merge ktrace-lwp.

Revision 1.62.2.6 / (download) - annotate - [select for diffs], Thu Nov 10 14:11:07 2005 UTC (18 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.62.2.5: +27 -2 lines
Diff to previous 1.62.2.5 (colored) next main 1.63 (colored)

Sync with HEAD. Here we go again...

Revision 1.72 / (download) - annotate - [select for diffs], Tue Jul 19 17:00:02 2005 UTC (18 years, 7 months ago) by christos
Branch: 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
Changes since 1.71: +27 -2 lines
Diff to previous 1.71 (colored)

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) - annotate - [select for diffs], Fri Apr 29 11:29:34 2005 UTC (18 years, 10 months ago) by kent
Branch: kent-audio2
Changes since 1.66: +22 -6 lines
Diff to previous 1.66 (colored) next main 1.67 (colored)

sync with -current

Revision 1.66.10.2 / (download) - annotate - [select for diffs], Sat Mar 19 08:36:38 2005 UTC (18 years, 11 months ago) by yamt
Branch: yamt-km
Changes since 1.66.10.1: +18 -3 lines
Diff to previous 1.66.10.1 (colored) to branchpoint 1.66 (colored) next main 1.67 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.62.2.5 / (download) - annotate - [select for diffs], Fri Mar 4 16:53:30 2005 UTC (19 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.62.2.4: +18 -3 lines
Diff to previous 1.62.2.4 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.71 / (download) - annotate - [select for diffs], Wed Mar 2 10:20:18 2005 UTC (19 years ago) by mycroft
Branch: 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
Changes since 1.70: +5 -3 lines
Diff to previous 1.70 (colored)

Copyright maintenance.

Revision 1.70 / (download) - annotate - [select for diffs], Mon Feb 28 16:20:59 2005 UTC (19 years ago) by jonathan
Branch: MAIN
Changes since 1.69: +15 -2 lines
Diff to previous 1.69 (colored)

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) - annotate - [select for diffs], Sat Feb 12 18:17:54 2005 UTC (19 years ago) by yamt
Branch: yamt-km
Changes since 1.66: +6 -5 lines
Diff to previous 1.66 (colored)

sync with head.

Revision 1.62.2.4 / (download) - annotate - [select for diffs], Fri Feb 4 11:47:49 2005 UTC (19 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.62.2.3: +6 -5 lines
Diff to previous 1.62.2.3 (colored)

Sync with HEAD.

Revision 1.69 / (download) - annotate - [select for diffs], Thu Feb 3 23:51:56 2005 UTC (19 years, 1 month ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base2
Changes since 1.68: +4 -5 lines
Diff to previous 1.68 (colored)

ANSIfy function declarations

Revision 1.68 / (download) - annotate - [select for diffs], Thu Jan 27 18:45:41 2005 UTC (19 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.67: +3 -2 lines
Diff to previous 1.67 (colored)

Whoops.  Exit fast recovery when handling a timeout.

Revision 1.67 / (download) - annotate - [select for diffs], Wed Jan 26 21:49:27 2005 UTC (19 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.66: +3 -2 lines
Diff to previous 1.66 (colored)

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) - annotate - [select for diffs], Tue Sep 21 13:37:14 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.62.2.2: +2 -2 lines
Diff to previous 1.62.2.2 (colored)

Fix the sync with head I botched.

Revision 1.62.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:54:54 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.62.2.1: +0 -0 lines
Diff to previous 1.62.2.1 (colored)

Sync with HEAD.

Revision 1.62.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:54:45 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.62: +50 -10 lines
Diff to previous 1.62 (colored)

Sync with HEAD

Revision 1.57.10.3 / (download) - annotate - [select for diffs], Mon Mar 15 05:49:10 2004 UTC (19 years, 11 months ago) by jmc
Branch: netbsd-1-6
Changes since 1.57.10.2: +3 -3 lines
Diff to previous 1.57.10.2 (colored) to branchpoint 1.57 (colored) next main 1.58 (colored)

Pullup rev 1.66 (requested by he in ticket #1624)

callout_ack() was called with wrong argument

Revision 1.66 / (download) - annotate - [select for diffs], Fri Jan 2 15:51:04 2004 UTC (20 years, 2 months ago) by itojun
Branch: 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
Changes since 1.65: +3 -3 lines
Diff to previous 1.65 (colored)

some corrections from markus@openbsd;
- callout_ack() was called with wrong argument

Revision 1.65 / (download) - annotate - [select for diffs], Mon Oct 27 07:43:01 2003 UTC (20 years, 4 months ago) by itojun
Branch: MAIN
Changes since 1.64: +5 -5 lines
Diff to previous 1.64 (colored)

make it compilable with TCP_DEBUG defined

Revision 1.57.10.2 / (download) - annotate - [select for diffs], Wed Oct 22 06:06:05 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.57.10.1: +46 -2 lines
Diff to previous 1.57.10.1 (colored) to branchpoint 1.57 (colored)

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) - annotate - [select for diffs], Fri Sep 5 13:42:52 2003 UTC (20 years, 6 months ago) by tron
Branch: netbsd-1-6
Changes since 1.57: +10 -8 lines
Diff to previous 1.57 (colored)

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) - annotate - [select for diffs], Thu Aug 7 16:33:19 2003 UTC (20 years, 7 months ago) by agc
Branch: MAIN
Changes since 1.63: +3 -7 lines
Diff to previous 1.63 (colored)

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) - annotate - [select for diffs], Sun Jul 20 16:35:09 2003 UTC (20 years, 7 months ago) by he
Branch: MAIN
Changes since 1.62: +46 -2 lines
Diff to previous 1.62 (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.62 / (download) - annotate - [select for diffs], Mon Feb 3 23:51:04 2003 UTC (21 years, 1 month ago) by thorpej
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.61: +2 -10 lines
Diff to previous 1.61 (colored)

Test callout_pending(), not callout_active(), and eliminate now-unnecessary
callout_deactivate() calls.

Revision 1.48.2.5 / (download) - annotate - [select for diffs], Wed Dec 11 06:46:39 2002 UTC (21 years, 2 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.48.2.4: +1 -1 lines
Diff to previous 1.48.2.4 (colored) to branchpoint 1.48 (colored) next main 1.49 (colored)

Sync with HEAD.

Revision 1.61 / (download) - annotate - [select for diffs], Sun Nov 24 10:55:03 2002 UTC (21 years, 3 months ago) by scw
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.60: +3 -3 lines
Diff to previous 1.60 (colored)

Quell an uninitialised variable warning.

Revision 1.48.2.4 / (download) - annotate - [select for diffs], Mon Nov 11 22:15:32 2002 UTC (21 years, 3 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.48.2.3: +8 -8 lines
Diff to previous 1.48.2.3 (colored) to branchpoint 1.48 (colored)

Catch up to -current

Revision 1.60 / (download) - annotate - [select for diffs], Tue Oct 22 03:11:03 2002 UTC (21 years, 4 months ago) by simonb
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-aftermerge
Changes since 1.59: +8 -8 lines
Diff to previous 1.59 (colored)

Guard use of "so" in tcp_timer_persist() and tcp_timer_2msl() with
#ifdef TCP_DEBUG.

Revision 1.48.4.3 / (download) - annotate - [select for diffs], Sun Jun 23 17:51:02 2002 UTC (21 years, 8 months ago) by jdolecek
Branch: kqueue
Changes since 1.48.4.2: +15 -13 lines
Diff to previous 1.48.4.2 (colored) to branchpoint 1.48 (colored) next main 1.49 (colored)

catch up with -current on kqueue branch

Revision 1.57.8.2 / (download) - annotate - [select for diffs], Thu Jun 20 15:52:31 2002 UTC (21 years, 8 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.57.8.1: +6 -6 lines
Diff to previous 1.57.8.1 (colored) to branchpoint 1.57 (colored) next main 1.58 (colored)

catch up with -current.

Revision 1.48.2.3 / (download) - annotate - [select for diffs], Thu Jun 20 03:48:59 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.48.2.2: +15 -13 lines
Diff to previous 1.48.2.2 (colored) to branchpoint 1.48 (colored)

Catch up to -current.

Revision 1.59 / (download) - annotate - [select for diffs], Sun Jun 9 16:33:44 2002 UTC (21 years, 9 months ago) by itojun
Branch: MAIN
CVS Tags: kqueue-base, gehenna-devsw-base
Changes since 1.58: +6 -6 lines
Diff to previous 1.58 (colored)

whitespace

Revision 1.57.8.1 / (download) - annotate - [select for diffs], Thu May 30 13:52:28 2002 UTC (21 years, 9 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.57: +11 -9 lines
Diff to previous 1.57 (colored)

Catch up with -current.

Revision 1.58 / (download) - annotate - [select for diffs], Sun May 26 16:05:45 2002 UTC (21 years, 9 months ago) by itojun
Branch: MAIN
Changes since 1.57: +11 -9 lines
Diff to previous 1.57 (colored)

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

Revision 1.48.4.2 / (download) - annotate - [select for diffs], Thu Jan 10 20:03:03 2002 UTC (22 years, 1 month ago) by thorpej
Branch: kqueue
Changes since 1.48.4.1: +7 -4 lines
Diff to previous 1.48.4.1 (colored) to branchpoint 1.48 (colored)

Sync kqueue branch with -current.

Revision 1.48.2.2 / (download) - annotate - [select for diffs], Wed Nov 14 19:17:58 2001 UTC (22 years, 3 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.48.2.1: +7 -4 lines
Diff to previous 1.48.2.1 (colored) to branchpoint 1.48 (colored)

Catch up to -current.

Revision 1.57 / (download) - annotate - [select for diffs], Tue Nov 13 00:32:42 2001 UTC (22 years, 3 months ago) by lukem
Branch: 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
Changes since 1.56: +4 -1 lines
Diff to previous 1.56 (colored)

add RCSIDs

Revision 1.55.2.1 / (download) - annotate - [select for diffs], Mon Nov 12 21:19:29 2001 UTC (22 years, 3 months ago) by thorpej
Branch: thorpej-mips-cache
Changes since 1.55: +4 -4 lines
Diff to previous 1.55 (colored) next main 1.56 (colored)

Sync the thorpej-mips-cache branch with -current.

Revision 1.56 / (download) - annotate - [select for diffs], Sun Nov 4 13:42:28 2001 UTC (22 years, 4 months ago) by matt
Branch: MAIN
CVS Tags: thorpej-mips-cache-base
Changes since 1.55: +4 -4 lines
Diff to previous 1.55 (colored)

Change a few variable/tables to const since they are read-only.

Revision 1.48.6.1 / (download) - annotate - [select for diffs], Mon Oct 1 12:47:48 2001 UTC (22 years, 5 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.48: +370 -299 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

Catch up with -current.

Revision 1.48.2.1 / (download) - annotate - [select for diffs], Fri Sep 21 22:36:50 2001 UTC (22 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.48: +370 -299 lines
Diff to previous 1.48 (colored)

Catch up to -current.

Revision 1.48.4.1 / (download) - annotate - [select for diffs], Thu Sep 13 01:16:24 2001 UTC (22 years, 5 months ago) by thorpej
Branch: kqueue
Changes since 1.48: +370 -299 lines
Diff to previous 1.48 (colored)

Update the kqueue branch to HEAD.

Revision 1.55 / (download) - annotate - [select for diffs], Tue Sep 11 21:03:21 2001 UTC (22 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-devvp-base3, thorpej-devvp-base2, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-mips-cache
Changes since 1.54: +1 -6 lines
Diff to previous 1.54 (colored)

Use callouts for SYN cache timers, rather than traversing time queues
in tcp_slowtimo().

Revision 1.54 / (download) - annotate - [select for diffs], Mon Sep 10 22:45:46 2001 UTC (22 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.53: +2 -2 lines
Diff to previous 1.53 (colored)

Update copyrights.

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

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) - annotate - [select for diffs], Mon Sep 10 20:36:43 2001 UTC (22 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.51: +33 -6 lines
Diff to previous 1.51 (colored)

Initialize TCP timer variables in a new function, tcp_timer_init().

Revision 1.51 / (download) - annotate - [select for diffs], Mon Sep 10 20:15:14 2001 UTC (22 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.50: +314 -202 lines
Diff to previous 1.50 (colored)

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

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) - annotate - [select for diffs], Mon Sep 10 04:24:25 2001 UTC (22 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.48: +18 -15 lines
Diff to previous 1.48 (colored)

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) - annotate - [select for diffs], Mon Nov 20 18:10:37 2000 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.45: +24 -13 lines
Diff to previous 1.45 (colored) next main 1.46 (colored)

Update thorpej_scsipi to -current as of a month ago

Revision 1.48 / (download) - annotate - [select for diffs], Thu Oct 19 20:23:00 2000 UTC (23 years, 4 months ago) by itojun
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej-devvp-base
Branch point for: thorpej-devvp, nathanw_sa, kqueue
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored)

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) - annotate - [select for diffs], Tue Oct 17 03:06:44 2000 UTC (23 years, 4 months ago) by itojun
Branch: MAIN
Changes since 1.46: +15 -4 lines
Diff to previous 1.46 (colored)

be more friendly with INET-less build.
XXX we need to do more to do a working INET-less build

Revision 1.46 / (download) - annotate - [select for diffs], Thu Mar 30 13:25:10 2000 UTC (23 years, 11 months ago) by augustss
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.45: +8 -8 lines
Diff to previous 1.45 (colored)

Remove register declarations.

Revision 1.43.10.3 / (download) - annotate - [select for diffs], Tue Nov 30 13:35:41 1999 UTC (24 years, 3 months ago) by itojun
Branch: kame
CVS Tags: kame_141_19991130
Changes since 1.43.10.2: +3 -3 lines
Diff to previous 1.43.10.2 (colored) to branchpoint 1.43 (colored) next main 1.44 (colored)

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) - annotate - [select for diffs], Mon Aug 2 22:35:00 1999 UTC (24 years, 7 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.43.8.1: +3 -3 lines
Diff to previous 1.43.8.1 (colored) to branchpoint 1.43 (colored) next main 1.44 (colored)

Update from trunk.

Revision 1.45 / (download) - annotate - [select for diffs], Wed Jul 14 22:37:15 1999 UTC (24 years, 7 months ago) by itojun
Branch: 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
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored)

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) - annotate - [select for diffs], Tue Jul 6 11:02:50 1999 UTC (24 years, 8 months ago) by itojun
Branch: kame
CVS Tags: kame_14_19990705
Changes since 1.43.10.1: +30 -1 lines
Diff to previous 1.43.10.1 (colored) to branchpoint 1.43 (colored)

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) - annotate - [select for diffs], Thu Jul 1 23:47:04 1999 UTC (24 years, 8 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.43: +114 -7 lines
Diff to previous 1.43 (colored)

Sync w/ -current.

Revision 1.44 / (download) - annotate - [select for diffs], Thu Jul 1 08:12:51 1999 UTC (24 years, 8 months ago) by itojun
Branch: MAIN
Changes since 1.43: +114 -7 lines
Diff to previous 1.43 (colored)

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) - annotate - [select for diffs], Mon Jun 28 06:37:02 1999 UTC (24 years, 8 months ago) by itojun
Branch: kame
CVS Tags: kame_14_19990628
Changes since 1.43: +85 -7 lines
Diff to previous 1.43 (colored)

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) - annotate - [select for diffs], Thu Sep 10 10:47:00 1998 UTC (25 years, 6 months ago) by mouse
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kenh-if-detach-base, kenh-if-detach, chs-ubc-base, chs-ubc
Branch point for: kame, chs-ubc2
Changes since 1.42: +4 -3 lines
Diff to previous 1.42 (colored)

Create tcp.keepidle, tcp.keepintvl, tcp.keepcnt, tcp.slowhz sysctls.

Revision 1.42 / (download) - annotate - [select for diffs], Fri Sep 4 22:29:55 1998 UTC (25 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.41: +1 -6 lines
Diff to previous 1.41 (colored)

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) - annotate - [select for diffs], Fri Jul 17 22:18:49 1998 UTC (25 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t
Changes since 1.40: +2 -1 lines
Diff to previous 1.40 (colored)

Comment where we use the Loss Window.

Revision 1.40 / (download) - annotate - [select for diffs], Tue Jun 2 17:22:26 1998 UTC (25 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored)

Loss window MUST be one segment, per draft-floyd-incr-init-win-03.

Revision 1.39 / (download) - annotate - [select for diffs], Mon May 11 20:52:18 1998 UTC (25 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.38: +2 -1 lines
Diff to previous 1.38 (colored)

Make sure a timer is marked "disarmed" once it has expired.

Revision 1.38 / (download) - annotate - [select for diffs], Mon May 11 19:57:24 1998 UTC (25 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.37: +1 -9 lines
Diff to previous 1.37 (colored)

Nuke TUBA per my note to tech-net; there's no reason to keep it around.

Revision 1.37 / (download) - annotate - [select for diffs], Thu May 7 01:30:46 1998 UTC (25 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored)

Define all TCP timers in terms of PRT timers.

Revision 1.36 / (download) - annotate - [select for diffs], Wed May 6 01:21:23 1998 UTC (25 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.35: +7 -7 lines
Diff to previous 1.35 (colored)

Use macros from tcp_timer.h to manipulate TCP timers, so that their
implementation can be changed easily.

Revision 1.21.2.3 / (download) - annotate - [select for diffs], Tue May 5 09:25:38 1998 UTC (25 years, 10 months ago) by mycroft
Branch: 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
Changes since 1.21.2.2: +10 -4 lines
Diff to previous 1.21.2.2 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

Pull up 1.31, per request of kml.

Revision 1.35 / (download) - annotate - [select for diffs], Fri May 1 01:15:55 1998 UTC (25 years, 10 months ago) by kml
Branch: MAIN
Changes since 1.34: +4 -2 lines
Diff to previous 1.34 (colored)

Remove bogus black hole discovery code

Revision 1.34 / (download) - annotate - [select for diffs], Wed Apr 29 05:16:47 1998 UTC (25 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.33: +17 -20 lines
Diff to previous 1.33 (colored)

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) - annotate - [select for diffs], Wed Apr 29 03:44:12 1998 UTC (25 years, 10 months ago) by kml
Branch: MAIN
Changes since 1.32: +15 -1 lines
Diff to previous 1.32 (colored)

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) - annotate - [select for diffs], Tue Mar 31 22:49:10 1998 UTC (25 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.31: +9 -2 lines
Diff to previous 1.31 (colored)

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) - annotate - [select for diffs], Thu Mar 19 22:29:34 1998 UTC (25 years, 11 months ago) by kml
Branch: MAIN
Changes since 1.30: +10 -4 lines
Diff to previous 1.30 (colored)

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) - annotate - [select for diffs], Thu Feb 19 02:36:44 1998 UTC (26 years ago) by thorpej
Branch: MAIN
Changes since 1.29: +38 -1 lines
Diff to previous 1.29 (colored)

Update copyright (sigh, should have done this long ago).

Revision 1.21.2.2 / (download) - annotate - [select for diffs], Thu Jan 29 10:27:45 1998 UTC (26 years, 1 month ago) by mellon
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-PATCH001
Changes since 1.21.2.1: +42 -20 lines
Diff to previous 1.21.2.1 (colored) to branchpoint 1.21 (colored)

Pull up 1.23-1.28 (thorpej)

Revision 1.29 / (download) - annotate - [select for diffs], Mon Jan 12 03:00:43 1998 UTC (26 years, 1 month ago) by scottr
Branch: MAIN
Changes since 1.28: +3 -1 lines
Diff to previous 1.28 (colored)

Use option header file for TCP_COMPAT_42

Revision 1.28 / (download) - annotate - [select for diffs], Mon Jan 5 10:32:11 1998 UTC (26 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored)

Finishing merging 4.4BSD-Lite2 netinet.  At this point, the only changes
left were SCCS IDs and Copyright dates.

Revision 1.1.1.3 / (download) - annotate - [select for diffs] (vendor branch), Mon Jan 5 09:56:03 1998 UTC (26 years, 2 months ago) by thorpej
Branch: WFJ-920714, CSRG
CVS Tags: lite-2
Changes since 1.1.1.2: +29 -5 lines
Diff to previous 1.1.1.2 (colored)

Import sys/netinet from 4.4BSD-Lite2 for reference purposes.

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Mon Jan 5 09:54:26 1998 UTC (26 years, 2 months ago) by thorpej
Branch: WFJ-920714, CSRG
CVS Tags: lite-1, date-03-may-96
Changes since 1.1.1.1: +34 -26 lines
Diff to previous 1.1.1.1 (colored)

Import sys/netinet from 4.4BSD-Lite for reference purposes.

Revision 1.27 / (download) - annotate - [select for diffs], Wed Dec 31 03:31:27 1997 UTC (26 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.26: +13 -12 lines
Diff to previous 1.26 (colored)

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

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) - annotate - [select for diffs], Thu Dec 11 22:47:26 1997 UTC (26 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)

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

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

Costmetic change: use intotcpcb() in tcp_fasttimo().

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Sat Nov 8 06:31:34 1997 UTC (26 years, 4 months ago) by thorpej
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-RELEASE, netbsd-1-3-BETA
Changes since 1.21: +4 -4 lines
Diff to previous 1.21 (colored)

Pull up from trunk: TCP MSS fixes to provide cleaner slow-start and recovery.
(kml)

Revision 1.22 / (download) - annotate - [select for diffs], Sat Nov 8 02:35:25 1997 UTC (26 years, 4 months ago) by kml
Branch: MAIN
Changes since 1.21: +4 -4 lines
Diff to previous 1.21 (colored)

TCP MSS fixes to provide cleaner slow-start and recovery.

Revision 1.19.2.1 / (download) - annotate - [select for diffs], Tue Oct 14 10:29:47 1997 UTC (26 years, 4 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.19: +6 -4 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Oct 13 00:48:16 1997 UTC (26 years, 4 months ago) by explorer
Branch: MAIN
CVS Tags: netbsd-1-3-base, marc-pcmcia-base
Branch point for: netbsd-1-3
Changes since 1.20: +8 -1 lines
Diff to previous 1.20 (colored)

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) - annotate - [select for diffs], Fri Oct 10 01:51:10 1997 UTC (26 years, 5 months ago) by explorer
Branch: MAIN
Changes since 1.19: +1 -6 lines
Diff to previous 1.19 (colored)

Add hooks to use the kernel random system to generate TCP sequence numbers.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Jul 28 22:07:40 1997 UTC (26 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, marc-pcmcia-bp
Branch point for: marc-pcmcia
Changes since 1.18: +1 -2 lines
Diff to previous 1.18 (colored)

Garbage-collect some "extern"s.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Jul 23 21:26:52 1997 UTC (26 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.17: +13 -5 lines
Diff to previous 1.17 (colored)

Pull SYN_cache_branch down into the main line.

Revision 1.17.8.2 / (download) - annotate - [select for diffs], Sat Jun 28 04:24:18 1997 UTC (26 years, 8 months ago) by thorpej
Branch: SYN_cache_branch
Changes since 1.17.8.1: +5 -5 lines
Diff to previous 1.17.8.1 (colored) to branchpoint 1.17 (colored) next main 1.18 (colored)

KNF.

Revision 1.17.8.1 / (download) - annotate - [select for diffs], Wed May 14 18:06:50 1997 UTC (26 years, 9 months ago) by mellon
Branch: SYN_cache_branch
Changes since 1.17: +13 -5 lines
Diff to previous 1.17 (colored)

More of David Borman's SYN cache patches for Lite2:

	tcp_slowtimo:

	- call syn_cache_timer()

Revision 1.14.4.2 / (download) - annotate - [select for diffs], Wed Dec 11 04:01:09 1996 UTC (27 years, 2 months ago) by mycroft
Branch: netbsd-1-2
CVS Tags: netbsd-1-2-PATCH001
Changes since 1.14.4.1: +3 -2 lines
Diff to previous 1.14.4.1 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

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) - annotate - [select for diffs], Tue Dec 10 18:21:12 1996 UTC (27 years, 3 months ago) by mycroft
Branch: netbsd-1-2
Changes since 1.14: +3 -4 lines
Diff to previous 1.14 (colored)

From trunk:
Fix RTT scaling problems introduced with Brakmo and Peterson changes.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Dec 10 18:20:24 1996 UTC (27 years, 3 months ago) by mycroft
Branch: 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
Changes since 1.16: +4 -5 lines
Diff to previous 1.16 (colored)

Fix RTT scaling problems introduced with Brakmo and Peterson changes.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Sep 9 14:51:22 1996 UTC (27 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.15: +12 -12 lines
Diff to previous 1.15 (colored)

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) - annotate - [select for diffs], Wed May 22 13:55:32 1996 UTC (27 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.14: +3 -2 lines
Diff to previous 1.14 (colored)

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) - annotate - [select for diffs], Tue Feb 13 23:44:09 1996 UTC (28 years ago) by christos
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.13: +2 -2 lines
Diff to previous 1.13 (colored)

netinet prototypes

Revision 1.13 / (download) - annotate - [select for diffs], Sat Aug 12 23:59:39 1995 UTC (28 years, 6 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

splnet --> splsoftnet

Revision 1.12 / (download) - annotate - [select for diffs], Sun Jun 18 20:01:17 1995 UTC (28 years, 8 months ago) by cgd
Branch: MAIN
Changes since 1.11: +16 -7 lines
Diff to previous 1.11 (colored)

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) - annotate - [select for diffs], Mon Jun 12 00:47:58 1995 UTC (28 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.10: +12 -14 lines
Diff to previous 1.10 (colored)

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) - annotate - [select for diffs], Thu Apr 13 06:36:49 1995 UTC (28 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

be a bit more careful and explicit with types.  (basically a large no-op.)

Revision 1.9 / (download) - annotate - [select for diffs], Fri Oct 14 16:01:52 1994 UTC (29 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

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) - annotate - [select for diffs], Wed Jun 29 06:38:48 1994 UTC (29 years, 8 months ago) by cgd
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.7: +3 -2 lines
Diff to previous 1.7 (colored)

New RCS ID's, take two.  they're more aesthecially pleasant, and use 'NetBSD'

Revision 1.7 / (download) - annotate - [select for diffs], Fri May 13 06:06:46 1994 UTC (29 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.6: +10 -6 lines
Diff to previous 1.6 (colored)

Update to 4.4-Lite networking code, with a few local changes.

Revision 1.6 / (download) - annotate - [select for diffs], Sat Jan 8 23:07:22 1994 UTC (30 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.5: +5 -1 lines
Diff to previous 1.5 (colored)

Prototypes.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Jan 8 21:22:02 1994 UTC (30 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Fix some inconsistent spacing; spaces at the end of lines, etc.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Dec 18 00:42:09 1993 UTC (30 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.3: +22 -22 lines
Diff to previous 1.3 (colored)

Canonicalize all #includes.

Revision 1.3.4.1 / (download) - annotate - [select for diffs], Fri Sep 24 08:54:59 1993 UTC (30 years, 5 months ago) by mycroft
Branch: magnum
Changes since 1.3: +3 -1 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

Make all files using spl*() #include cpu.h.  Changes from trunk.

Revision 1.3 / (download) - annotate - [select for diffs], Sat May 22 11:42:47 1993 UTC (30 years, 9 months ago) by cgd
Branch: 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
Changes since 1.2: +1 -2 lines
Diff to previous 1.2 (colored)

add include of select.h if necessary for protos, or delete if extraneous

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

make kernel select interface be one-stop shopping & clean it all up.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (30 years, 11 months ago) by cgd
Branch: WFJ-920714, CSRG
CVS Tags: patchkit-0-2-2, netbsd-alpha-1, netbsd-0-8, WFJ-386bsd-01
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of 386bsd-0.1 sources

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (30 years, 11 months ago) by cgd
Branch: MAIN

Initial revision

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>