History log of /openbsd-src/sys/netinet/tcp_debug.c (Results 1 – 25 of 32)
Revision Date Author Comments
# fc5d5711 10-Apr-2024 bluhm <bluhm@openbsd.org>

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@


# 6285ef23 11-Jan-2024 bluhm <bluhm@openbsd.org>

Fix white spaces in TCP.


# 7eb8d89d 22-Feb-2022 guenther <guenther@openbsd.org>

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@


# d4718bab 05-Apr-2019 bluhm <bluhm@openbsd.org>

In debug mode print TCP flag names to console correctly.
from Mitchell Krome


# 20242786 11-Jun-2018 bluhm <bluhm@openbsd.org>

Fix RAMDISK build by removing an #ifdef INET6 in tcp_trace().
found the hard way by krw@


# 4e64d49b 11-Jun-2018 bluhm <bluhm@openbsd.org>

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
m

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@

show more ...


# 36d7e348 10-May-2018 bluhm <bluhm@openbsd.org>

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@


# f1bbc13f 23-Jan-2018 bluhm <bluhm@openbsd.org>

Fix printf(9) format strings so that a kernel with TCPDEBUG compiles.
Mark the string variables with TCP debugging names as constant.
OK mpi@


# b100edd3 18-May-2017 mpi <mpi@openbsd.org>

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 offend

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@!

show more ...


# 21dab745 14-Mar-2015 jsg <jsg@openbsd.org>

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@


# 83f4f914 20-Nov-2014 krw <krw@openbsd.org>

Yet more #include de-duplication.

ok deraadt@ tedu@


# 87f48f48 11-Mar-2014 guenther <guenther@openbsd.org>

lint is gone, and the 'lint' conditional was never in the implementation
namespace, so stop changing behavior when it's #defined

ok beck@ krw@


# 0056b770 24-Sep-2004 markus <markus@openbsd.org>

pass segment size to userland; ok deraadt@


# aa997538 15-Jul-2004 markus <markus@openbsd.org>

tcp_trace() expects short, not int; ok deraadt


# 123ee273 09-Jun-2003 itojun <itojun@openbsd.org>

typo (need to check ti6 instead of ti)


# 81ed8a75 09-Jun-2003 itojun <itojun@openbsd.org>

backout following:
>use m_pulldown not m_pullup2. fix some bugs in IPv6 tcp_trace().

PR 3283 fixed (confirmed)


# 29295d1c 02-Jun-2003 millert <millert@openbsd.org>

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


# 24773939 29-May-2003 itojun <itojun@openbsd.org>

use m_pulldown not m_pullup2. fix some bugs in IPv6 tcp_trace().


# 96363099 14-May-2003 jason <jason@openbsd.org>

remove the last of the MI commons


# 9b1c5828 30-Mar-2003 tedu <tedu@openbsd.org>

let this compile with TCPDEBUG

ok millert@ deraadt@


# 3e314211 09-Jun-2002 itojun <itojun@openbsd.org>

whitespace


# 25a14d70 07-Jun-2002 itojun <itojun@openbsd.org>

avoid is_ipv6 construct. a step towards IPv4-less kernel


# 6dff20b9 08-Jun-2001 angelos <angelos@openbsd.org>

Cut down on include files.


# 6cdd78ad 05-Jun-2001 deraadt <deraadt@openbsd.org>

repair copyright notices for NRL & cmetz; cmetz


# 0c47cb18 14-Apr-2000 itojun <itojun@openbsd.org>

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)


12