Page MenuHomeFreeBSD

ddb: improve show tcpcb
ClosedPublic

Authored by tuexen on May 26 2025, 6:52 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 10, 10:13 PM
Unknown Object (File)
Sun, Nov 9, 7:27 AM
Unknown Object (File)
Tue, Nov 4, 3:59 PM
Unknown Object (File)
Mon, Nov 3, 2:44 AM
Unknown Object (File)
Mon, Nov 3, 2:41 AM
Unknown Object (File)
Mon, Nov 3, 2:39 AM
Unknown Object (File)
Mon, Nov 3, 2:37 AM
Unknown Object (File)
Sun, Nov 2, 5:11 AM

Details

Summary

Print the name of the TCP function block and the name of the congestion control algorithm. Furthermore, print some information related to Black Box Logging.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

thj added a subscriber: thj.

Tested by: thj

sys/netinet/tcp_usrreq.c
3052

I think we should include TCP_LOG_STATE_RATIO_OFF and TCP_LOG_STATE_CLEAR, I know CLEAR shouldn't be stored, but it will avoid spurious debugging of UNKNOWN in ddb.

This revision is now accepted and ready to land.May 27 2025, 1:31 PM

Add handling of TCP_LOG_STATE_RATIO_OFF and TCP_LOG_STATE_CLEAR as suggested by thj.

This revision now requires review to proceed.May 27 2025, 5:11 PM
tuexen added inline comments.
sys/netinet/tcp_usrreq.c
3052

Done.

This revision is now accepted and ready to land.May 28 2025, 8:32 AM
This revision was automatically updated to reflect the committed changes.
tuexen marked an inline comment as done.