Page MenuHomeFreeBSD

Extend netstat to display the TCP congestion control
ClosedPublic

Authored by tuexen on Sat, Sep 12, 2:43 PM.

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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

tuexen created this revision.Sat, Sep 12, 2:43 PM
tuexen requested review of this revision.Sat, Sep 12, 2:43 PM
jilles added a subscriber: jilles.Sat, Sep 12, 5:35 PM

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

tuexen updated this revision to Diff 76953.Sat, Sep 12, 6:03 PM

Use -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.
rscheff accepted this revision.Sat, Sep 12, 9:25 PM

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.Sat, Sep 12, 9:25 PM
This revision was automatically updated to reflect the committed changes.