Up to [local] / src / sys / netinet
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.32 / (download) - annotate - [select for diffs], Wed Apr 10 22:24:07 2024 UTC (2 months ago) by bluhm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.31: +34 -9 lines
Diff to previous 1.31 (colored)
Make TCP debug code MP safe. Protect the global variables in TCP debug code with global mutex. Add a missing include and also fix the -Wunused-but-set-variable warning. OK mvs@
Revision 1.31 / (download) - annotate - [select for diffs], Thu Jan 11 13:49:49 2024 UTC (4 months, 4 weeks ago) by bluhm
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5
Changes since 1.30: +5 -5 lines
Diff to previous 1.30 (colored)
Fix white spaces in TCP.
Revision 1.30 / (download) - annotate - [select for diffs], Tue Feb 22 01:15:02 2022 UTC (2 years, 3 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_7_4_BASE,
OPENBSD_7_4,
OPENBSD_7_3_BASE,
OPENBSD_7_3,
OPENBSD_7_2_BASE,
OPENBSD_7_2,
OPENBSD_7_1_BASE,
OPENBSD_7_1
Changes since 1.29: +1 -2 lines
Diff to previous 1.29 (colored)
Delete unnecessary #includes of <sys/domain.h> and/or <sys/protosw.h> net/if_pppx.c pointed out by jsg@ ok gnezdo@ deraadt@ jsg@ mpi@ millert@
Revision 1.29 / (download) - annotate - [select for diffs], Fri Apr 5 14:42:06 2019 UTC (5 years, 2 months ago) by bluhm
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE,
OPENBSD_7_0,
OPENBSD_6_9_BASE,
OPENBSD_6_9,
OPENBSD_6_8_BASE,
OPENBSD_6_8,
OPENBSD_6_7_BASE,
OPENBSD_6_7,
OPENBSD_6_6_BASE,
OPENBSD_6_6,
OPENBSD_6_5_BASE,
OPENBSD_6_5
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)
In debug mode print TCP flag names to console correctly. from Mitchell Krome
Revision 1.28 / (download) - annotate - [select for diffs], Mon Jun 11 21:23:34 2018 UTC (6 years ago) by bluhm
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE,
OPENBSD_6_4
Changes since 1.27: +2 -4 lines
Diff to previous 1.27 (colored)
Fix RAMDISK build by removing an #ifdef INET6 in tcp_trace(). found the hard way by krw@
Revision 1.27 / (download) - annotate - [select for diffs], Mon Jun 11 07:40:26 2018 UTC (6 years ago) by bluhm
Branch: MAIN
Changes since 1.26: +39 -24 lines
Diff to previous 1.26 (colored)
The output from tcp debug sockets was incomplete. After detach tp was NULL and nothing was traced. So save the old tcpcb and use that to retrieve some information. Note that otb may be freed and must not be dereferenced. Use a heuristic for cases where the address family is in the IP header but not provided in the PCB. OK visa@
Revision 1.26 / (download) - annotate - [select for diffs], Thu May 10 13:30:25 2018 UTC (6 years, 1 month ago) by bluhm
Branch: MAIN
Changes since 1.25: +6 -4 lines
Diff to previous 1.25 (colored)
TCP debug sockets still had code for old TCP timers that were implemented as slow and fast protocol user requests. Replace that with a proper timer debug implementation. OK visa@
Revision 1.25 / (download) - annotate - [select for diffs], Tue Jan 23 20:41:42 2018 UTC (6 years, 4 months ago) by bluhm
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE,
OPENBSD_6_3
Changes since 1.24: +4 -4 lines
Diff to previous 1.24 (colored)
Fix printf(9) format strings so that a kernel with TCPDEBUG compiles. Mark the string variables with TCP debugging names as constant. OK mpi@
Revision 1.24 / (download) - annotate - [select for diffs], Thu May 18 11:38:07 2017 UTC (7 years ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE,
OPENBSD_6_2
Changes since 1.23: +1 -2 lines
Diff to previous 1.23 (colored)
Merge the content of <netinet/tcpip.h> and <netinet6/tcpipv6.h> in <netinet/tcp_debug.h>. The IPv6 variant was always included and the IPv4 version is not present on all systems. Most of the offending ports are already fixed, thanks to sthen@!
Revision 1.23 / (download) - annotate - [select for diffs], Sat Mar 14 03:38:52 2015 UTC (9 years, 3 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE,
OPENBSD_6_1,
OPENBSD_6_0_BASE,
OPENBSD_6_0,
OPENBSD_5_9_BASE,
OPENBSD_5_9,
OPENBSD_5_8_BASE,
OPENBSD_5_8
Changes since 1.22: +1 -2 lines
Diff to previous 1.22 (colored)
Remove some includes include-what-you-use claims don't have any direct symbols used. Tested for indirect use by compiling amd64/i386/sparc64 kernels. ok tedu@ deraadt@
Revision 1.22 / (download) - annotate - [select for diffs], Thu Nov 20 14:51:42 2014 UTC (9 years, 6 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE,
OPENBSD_5_7
Changes since 1.21: +1 -4 lines
Diff to previous 1.21 (colored)
Yet more #include de-duplication. ok deraadt@ tedu@
Revision 1.21 / (download) - annotate - [select for diffs], Tue Mar 11 19:45:28 2014 UTC (10 years, 3 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE,
OPENBSD_5_6
Changes since 1.20: +1 -3 lines
Diff to previous 1.20 (colored)
lint is gone, and the 'lint' conditional was never in the implementation namespace, so stop changing behavior when it's #defined ok beck@ krw@
Revision 1.20 / (download) - annotate - [select for diffs], Fri Sep 24 15:02:43 2004 UTC (19 years, 8 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE,
OPENBSD_5_5,
OPENBSD_5_4_BASE,
OPENBSD_5_4,
OPENBSD_5_3_BASE,
OPENBSD_5_3,
OPENBSD_5_2_BASE,
OPENBSD_5_2,
OPENBSD_5_1_BASE,
OPENBSD_5_1,
OPENBSD_5_0_BASE,
OPENBSD_5_0,
OPENBSD_4_9_BASE,
OPENBSD_4_9,
OPENBSD_4_8_BASE,
OPENBSD_4_8,
OPENBSD_4_7_BASE,
OPENBSD_4_7,
OPENBSD_4_6_BASE,
OPENBSD_4_6,
OPENBSD_4_5_BASE,
OPENBSD_4_5,
OPENBSD_4_4_BASE,
OPENBSD_4_4,
OPENBSD_4_3_BASE,
OPENBSD_4_3,
OPENBSD_4_2_BASE,
OPENBSD_4_2,
OPENBSD_4_1_BASE,
OPENBSD_4_1,
OPENBSD_4_0_BASE,
OPENBSD_4_0,
OPENBSD_3_9_BASE,
OPENBSD_3_9,
OPENBSD_3_8_BASE,
OPENBSD_3_8,
OPENBSD_3_7_BASE,
OPENBSD_3_7
Changes since 1.19: +3 -1 lines
Diff to previous 1.19 (colored)
pass segment size to userland; ok deraadt@
Revision 1.19 / (download) - annotate - [select for diffs], Thu Jul 15 15:27:22 2004 UTC (19 years, 11 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE,
OPENBSD_3_6
Changes since 1.18: +3 -7 lines
Diff to previous 1.18 (colored)
tcp_trace() expects short, not int; ok deraadt
Revision 1.7.2.7 / (download) - annotate - [select for diffs], Thu Feb 19 10:57:24 2004 UTC (20 years, 3 months ago) by niklas
Branch: SMP
Changes since 1.7.2.6: +6 -18 lines
Diff to previous 1.7.2.6 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)
Merge of current from two weeks agointo the SMP branch
Revision 1.18 / (download) - annotate - [select for diffs], Mon Jun 9 10:12:52 2003 UTC (21 years ago) by itojun
Branch: MAIN
CVS Tags: SMP_SYNC_B,
SMP_SYNC_A,
OPENBSD_3_5_BASE,
OPENBSD_3_5,
OPENBSD_3_4_BASE,
OPENBSD_3_4
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)
typo (need to check ti6 instead of ti)
Revision 1.17 / (download) - annotate - [select for diffs], Mon Jun 9 07:40:25 2003 UTC (21 years ago) by itojun
Branch: MAIN
Changes since 1.16: +7 -19 lines
Diff to previous 1.16 (colored)
backout following: >use m_pulldown not m_pullup2. fix some bugs in IPv6 tcp_trace(). PR 3283 fixed (confirmed)
Revision 1.7.2.6 / (download) - annotate - [select for diffs], Sat Jun 7 11:06:08 2003 UTC (21 years ago) by ho
Branch: SMP
Changes since 1.7.2.5: +20 -12 lines
Diff to previous 1.7.2.5 (colored) to branchpoint 1.7 (colored)
Sync SMP branch to -current
Revision 1.16 / (download) - annotate - [select for diffs], Mon Jun 2 23:28:14 2003 UTC (21 years ago) by millert
Branch: MAIN
Changes since 1.15: +2 -6 lines
Diff to previous 1.15 (colored)
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
Revision 1.15 / (download) - annotate - [select for diffs], Thu May 29 00:35:18 2003 UTC (21 years ago) by itojun
Branch: MAIN
Changes since 1.14: +19 -7 lines
Diff to previous 1.14 (colored)
use m_pulldown not m_pullup2. fix some bugs in IPv6 tcp_trace().
Revision 1.10.4.3 / (download) - annotate - [select for diffs], Mon May 19 22:40:41 2003 UTC (21 years ago) by tedu
Branch: UBC
Changes since 1.10.4.2: +7 -1 lines
Diff to previous 1.10.4.2 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)
sync
Revision 1.7.2.5 / (download) - annotate - [select for diffs], Fri May 16 00:29:44 2003 UTC (21 years, 1 month ago) by niklas
Branch: SMP
Changes since 1.7.2.4: +5 -1 lines
Diff to previous 1.7.2.4 (colored) to branchpoint 1.7 (colored)
merge the trunk so we will get the genfs and locking fixes
Revision 1.14 / (download) - annotate - [select for diffs], Wed May 14 01:12:27 2003 UTC (21 years, 1 month ago) by jason
Branch: MAIN
CVS Tags: UBC_SYNC_A
Changes since 1.13: +5 -1 lines
Diff to previous 1.13 (colored)
remove the last of the MI commons
Revision 1.7.2.4 / (download) - annotate - [select for diffs], Tue May 13 19:36:17 2003 UTC (21 years, 1 month ago) by ho
Branch: SMP
Changes since 1.7.2.3: +3 -1 lines
Diff to previous 1.7.2.3 (colored) to branchpoint 1.7 (colored)
Sync the SMP branch to -current. This includes moving to ELF.
Revision 1.13 / (download) - annotate - [select for diffs], Sun Mar 30 22:23:34 2003 UTC (21 years, 2 months ago) by tedu
Branch: MAIN
Changes since 1.12: +3 -1 lines
Diff to previous 1.12 (colored)
let this compile with TCPDEBUG ok millert@ deraadt@
Revision 1.7.2.3 / (download) - annotate - [select for diffs], Fri Mar 28 00:06:54 2003 UTC (21 years, 2 months ago) by niklas
Branch: SMP
Changes since 1.7.2.2: +14 -12 lines
Diff to previous 1.7.2.2 (colored) to branchpoint 1.7 (colored)
Sync the SMP branch with 3.3
Revision 1.10.4.2 / (download) - annotate - [select for diffs], Tue Oct 29 00:36:47 2002 UTC (21 years, 7 months ago) by art
Branch: UBC
Changes since 1.10.4.1: +5 -5 lines
Diff to previous 1.10.4.1 (colored) to branchpoint 1.10 (colored)
sync to -current
Revision 1.10.4.1 / (download) - annotate - [select for diffs], Tue Jun 11 03:31:37 2002 UTC (22 years ago) by art
Branch: UBC
Changes since 1.10: +10 -8 lines
Diff to previous 1.10 (colored)
Sync UBC branch to -current
Revision 1.12 / (download) - annotate - [select for diffs], Sun Jun 9 16:26:11 2002 UTC (22 years ago) by itojun
Branch: MAIN
CVS Tags: UBC_SYNC_B,
OPENBSD_3_3_BASE,
OPENBSD_3_3,
OPENBSD_3_2_BASE,
OPENBSD_3_2
Changes since 1.11: +5 -5 lines
Diff to previous 1.11 (colored)
whitespace
Revision 1.11 / (download) - annotate - [select for diffs], Fri Jun 7 16:18:02 2002 UTC (22 years ago) by itojun
Branch: MAIN
Changes since 1.10: +10 -8 lines
Diff to previous 1.10 (colored)
avoid is_ipv6 construct. a step towards IPv4-less kernel
Revision 1.7.2.2 / (download) - annotate - [select for diffs], Wed Jul 4 10:55:04 2001 UTC (22 years, 11 months ago) by niklas
Branch: SMP
Changes since 1.7.2.1: +38 -19 lines
Diff to previous 1.7.2.1 (colored) to branchpoint 1.7 (colored)
Merge in -current from two days ago in the SMP branch. As usual with merges, they do not indicate progress, so do not hold your breath for working SMP, and do not mail me and ask about the state of it. It has not changed. There is work ongoing, but very, very slowly. The commit is done in parts as to not lock up the tree in too big chunks at a time.
Revision 1.10 / (download) - annotate - [select for diffs], Fri Jun 8 03:53:46 2001 UTC (23 years ago) by angelos
Branch: MAIN
CVS Tags: UBC_BASE,
OPENBSD_3_1_BASE,
OPENBSD_3_1,
OPENBSD_3_0_BASE,
OPENBSD_3_0
Branch point for: UBC
Changes since 1.9: +1 -6 lines
Diff to previous 1.9 (colored)
Cut down on include files.
Revision 1.9 / (download) - annotate - [select for diffs], Tue Jun 5 02:31:36 2001 UTC (23 years ago) by deraadt
Branch: MAIN
Changes since 1.8: +38 -14 lines
Diff to previous 1.8 (colored)
repair copyright notices for NRL & cmetz; cmetz
Revision 1.7.2.1 / (download) - annotate - [select for diffs], Mon May 14 22:40:14 2001 UTC (23 years, 1 month ago) by niklas
Branch: SMP
Changes since 1.7: +6 -10 lines
Diff to previous 1.7 (colored)
merge in approximately 2.9 into SMP branch
Revision 1.8 / (download) - annotate - [select for diffs], Fri Apr 14 04:41:39 2000 UTC (24 years, 2 months ago) by itojun
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE,
OPENBSD_2_9,
OPENBSD_2_8_BASE,
OPENBSD_2_8,
OPENBSD_2_7_BASE,
OPENBSD_2_7
Changes since 1.7: +6 -10 lines
Diff to previous 1.7 (colored)
make "option TCPDEBUG" kernel compile. PR1186 from "Robert Mooney" <rjmooney@atl.mediaone.net>. (printf format change is not bringed in - i'm unsure about it)
Revision 1.7 / (download) - annotate - [select for diffs], Mon Feb 7 06:09:09 2000 UTC (24 years, 4 months ago) by itojun
Branch: MAIN
CVS Tags: SMP_BASE
Branch point for: SMP
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)
fix include file path related to ip6.
Revision 1.6 / (download) - annotate - [select for diffs], Wed Dec 8 06:50:20 1999 UTC (24 years, 6 months ago) by itojun
Branch: MAIN
CVS Tags: kame_19991208
Changes since 1.5: +5 -3 lines
Diff to previous 1.5 (colored)
bring in KAME IPv6 code, dated 19991208. replaces NRL IPv6 layer. reuses NRL pcb layer. no IPsec-on-v6 support. see sys/netinet6/{TODO,IMPLEMENTATION} for more details. GENERIC configuration should work fine as before. GENERIC.v6 works fine as well, but you'll need KAME userland tools to play with IPv6 (will be bringed into soon).
Revision 1.5 / (download) - annotate - [select for diffs], Fri Jul 2 20:39:07 1999 UTC (24 years, 11 months ago) by cmetz
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE,
OPENBSD_2_6
Changes since 1.4: +4 -3 lines
Diff to previous 1.4 (colored)
Significant cleanups in the way TCP is made to handle multiple network protocols. "struct tcpiphdr" is now gone from much of the code, as are separate pointers for ti and ti6. The result is fewer variables, which is generally a good thing. Simple if(is_ipv6) ... else ... tests are gone in favor of a switch(protocol family), which allows future new protocols to be added easily. This also makes it possible for someone so inclined to re-implement TUBA (TCP over CLNP?) and do it right instead of the kluged way it was done in 4.4. The TCP header template is now referenced through a mbuf rather than done through a data pointer and dtom()ed as needed. This is partly because dtom() is evil and partly because max_linkhdr + IPv6 + TCP + MSS/TS/SACK opts won't fit inside a packet header mbuf, so we need to grab a cluster for that (which the code now does, if needed).
Revision 1.4 / (download) - annotate - [select for diffs], Mon Jan 11 02:01:35 1999 UTC (25 years, 5 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE,
OPENBSD_2_5
Changes since 1.3: +49 -12 lines
Diff to previous 1.3 (colored)
netinet merge of NRL stuff. some indent and shrinkage needed; NRL/cmetz
Revision 1.3 / (download) - annotate - [select for diffs], Tue Nov 17 19:23:01 1998 UTC (25 years, 6 months ago) by provos
Branch: MAIN
Changes since 1.2: +0 -0 lines
Diff to previous 1.2 (colored)
NewReno, SACK and FACK support for TCP, adapted from code for BSDI by Hari Balakrishnan (hari@lcs.mit.edu), Tom Henderson (tomh@cs.berkeley.edu) and Venkat Padmanabhan (padmanab@cs.berkeley.edu) as part of the Daedalus research group at the University of California, (http://daedalus.cs.berkeley.edu). [I was able to do this on time spent at the Center for Information Technology Integration (citi.umich.edu)]
Revision 1.2 / (download) - annotate - [select for diffs], Sun Mar 3 22:30:44 1996 UTC (28 years, 3 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_2_4_BASE,
OPENBSD_2_4,
OPENBSD_2_3_BASE,
OPENBSD_2_3,
OPENBSD_2_2_BASE,
OPENBSD_2_2,
OPENBSD_2_1_BASE,
OPENBSD_2_1,
OPENBSD_2_0_BASE,
OPENBSD_2_0
Changes since 1.1: +4 -1 lines
Diff to previous 1.1 (colored)
From NetBSD: 960217 merge
Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:53:12 1995 UTC (28 years, 8 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)
initial import of NetBSD tree
Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:53:12 1995 UTC (28 years, 8 months ago) by deraadt
Branch: MAIN
Initial revision