Page MenuHomeFreeBSD

Extend netstat to display the TCP congestion control
ClosedPublic

Authored by tuexen on Sep 12 2020, 2:43 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 16 2025, 12:52 AM
Unknown Object (File)
Dec 13 2025, 6:30 PM
Unknown Object (File)
Nov 29 2025, 3:10 PM
Unknown Object (File)
Nov 28 2025, 11:43 PM
Unknown Object (File)
Nov 28 2025, 7:32 AM
Unknown Object (File)
Nov 28 2025, 7:31 AM
Unknown Object (File)
Nov 11 2025, 1:15 AM
Unknown Object (File)
Nov 6 2025, 10:29 PM
Subscribers

Details

Summary

This patch adds the -c option to netstat, which enables the displaying of the name of the congestion control module used by a TCP connection.

This depends on D26412.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Perhaps it is better to match sockstat (D26413) and make the option -C instead of -c.

Perhaps it is better to match sockstat (D26413) and make the option -C instead of -c.

Done, but the options are already not in sync:

  • -p in netstat and -P in sockstat for selecting the protocol.
  • -a in netstat and -l in sockstat for showing listening sockets.

I wanted to suggest using -C (for reasons, instead of -c), but seeing this is already addressed...

This revision is now accepted and ready to land.Sep 12 2020, 9:25 PM