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)
Mon, Oct 6, 4:03 AM
Unknown Object (File)
Sun, Sep 28, 3:02 AM
Unknown Object (File)
Sep 6 2025, 6:02 AM
Unknown Object (File)
Aug 3 2025, 9:56 AM
Unknown Object (File)
Jul 27 2025, 5:56 AM
Unknown Object (File)
Jun 29 2025, 4:23 PM
Unknown Object (File)
Jun 29 2025, 3:08 PM
Unknown Object (File)
Jun 28 2025, 3:02 AM
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