Page MenuHomeFreeBSD

ddb: improve show tcpcb
ClosedPublic

Authored by tuexen on May 26 2025, 6:52 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 9, 5:35 PM
Unknown Object (File)
Wed, Oct 8, 1:45 AM
Unknown Object (File)
Fri, Oct 3, 2:27 PM
Unknown Object (File)
Wed, Oct 1, 12:16 AM
Unknown Object (File)
Tue, Sep 30, 8:58 AM
Unknown Object (File)
Mon, Sep 29, 11:29 PM
Unknown Object (File)
Wed, Sep 24, 12:26 PM
Unknown Object (File)
Sat, Sep 20, 3:51 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.