Home
last modified time | relevance | path

Searched hist:"861274 c9f8cf2a5c00ded9580ea91b22def683f7" (Results 1 – 2 of 2) sorted by relevance

/freebsd/tests/sys/netinet/
H A Dtcp_implied_connect.cdiff 70f5c6e34ffd21c5dd41e35c72dc1b0e84d67a21 Sat Feb 03 06:08:16 CET 2024 Gleb Smirnoff <glebius@FreeBSD.org> tests/netinet: push variable 'sin' into function scope

This should fix build with GCC 13.

Fixes: 861274c9f8cf2a5c00ded9580ea91b22def683f7
861274c9f8cf2a5c00ded9580ea91b22def683f7 Thu Feb 01 22:37:26 CET 2024 Gleb Smirnoff <glebius@FreeBSD.org> tests/netinet: add a demo of TCP implied connect

The TCP implied connect is an artifact left after T/TCP. To my surprise
it still works, hence the existence of this test. Please read this email
first:

https://lists.freebsd.org/pipermail/freebsd-net/2010-August/026311.html

An interesting fact that this test takes 220 - 240 milliseconds to
execute on my Threadripper PRO. Flipping the '#if 0' to '#if 1' in the
test, thus bringing it back to normal connect(2), would speed the test up
a hundred times and I guess all this time is fork+exec of the test.
H A DMakefilediff 861274c9f8cf2a5c00ded9580ea91b22def683f7 Thu Feb 01 22:37:26 CET 2024 Gleb Smirnoff <glebius@FreeBSD.org> tests/netinet: add a demo of TCP implied connect

The TCP implied connect is an artifact left after T/TCP. To my surprise
it still works, hence the existence of this test. Please read this email
first:

https://lists.freebsd.org/pipermail/freebsd-net/2010-August/026311.html

An interesting fact that this test takes 220 - 240 milliseconds to
execute on my Threadripper PRO. Flipping the '#if 0' to '#if 1' in the
test, thus bringing it back to normal connect(2), would speed the test up
a hundred times and I guess all this time is fork+exec of the test.