summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_debug.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* In debug mode print TCP flag names to console correctly.bluhm2019-04-051-2/+2
| | | | from Mitchell Krome
* Fix RAMDISK build by removing an #ifdef INET6 in tcp_trace().bluhm2018-06-111-4/+2
| | | | found the hard way by krw@
* The output from tcp debug sockets was incomplete. After detach tpbluhm2018-06-111-24/+39
| | | | | | | | 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@
* TCP debug sockets still had code for old TCP timers that werebluhm2018-05-101-4/+6
| | | | | | implemented as slow and fast protocol user requests. Replace that with a proper timer debug implementation. OK visa@
* Fix printf(9) format strings so that a kernel with TCPDEBUG compiles.bluhm2018-01-231-4/+4
| | | | | Mark the string variables with TCP debugging names as constant. OK mpi@
* Merge the content of <netinet/tcpip.h> and <netinet6/tcpipv6.h> inmpi2017-05-181-2/+1
| | | | | | | | | <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@!
* Remove some includes include-what-you-use claims don'tjsg2015-03-141-2/+1
| | | | | | | have any direct symbols used. Tested for indirect use by compiling amd64/i386/sparc64 kernels. ok tedu@ deraadt@
* Yet more #include de-duplication.krw2014-11-201-4/+1
| | | | ok deraadt@ tedu@
* lint is gone, and the 'lint' conditional was never in the implementationguenther2014-03-111-3/+1
| | | | | | namespace, so stop changing behavior when it's #defined ok beck@ krw@
* pass segment size to userland; ok deraadt@markus2004-09-241-1/+3
|
* tcp_trace() expects short, not int; ok deraadtmarkus2004-07-151-7/+3
|
* typo (need to check ti6 instead of ti)itojun2003-06-091-2/+2
|
* backout following:itojun2003-06-091-19/+7
| | | | | | >use m_pulldown not m_pullup2. fix some bugs in IPv6 tcp_trace(). PR 3283 fixed (confirmed)
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* use m_pulldown not m_pullup2. fix some bugs in IPv6 tcp_trace().itojun2003-05-291-7/+19
|
* remove the last of the MI commonsjason2003-05-141-1/+5
|
* let this compile with TCPDEBUGtedu2003-03-301-1/+3
| | | | ok millert@ deraadt@
* whitespaceitojun2002-06-091-5/+5
|
* avoid is_ipv6 construct. a step towards IPv4-less kernelitojun2002-06-071-8/+10
|
* Cut down on include files.angelos2001-06-081-6/+1
|
* repair copyright notices for NRL & cmetz; cmetzderaadt2001-06-051-14/+38
|
* make "option TCPDEBUG" kernel compile.itojun2000-04-141-10/+6
| | | | | PR1186 from "Robert Mooney" <rjmooney@atl.mediaone.net>. (printf format change is not bringed in - i'm unsure about it)
* fix include file path related to ip6.itojun2000-02-071-2/+2
|
* bring in KAME IPv6 code, dated 19991208.itojun1999-12-081-3/+5
| | | | | | | | | 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).
* Significant cleanups in the way TCP is made to handle multiple networkcmetz1999-07-021-3/+4
| | | | | | | | | | | | | | | | | | 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).
* netinet merge of NRL stuff. some indent and shrinkage needed; NRL/cmetzderaadt1999-01-111-12/+49
|
* NewReno, SACK and FACK support for TCP, adapted from code for BSDIprovos1998-11-171-1/+1
| | | | | | | | 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)]
* From NetBSD: 960217 mergeniklas1996-03-031-1/+4
|
* initial import of NetBSD treederaadt1995-10-181-0/+161