| 746eadec | 09-Oct-2025 |
Michael Tuexen <tuexen@FreeBSD.org> |
sockstat: show path state column only when useful
Showing the path state column is only useful, if there is at least one SCTP endpoint shown, which is not in the state CLOSED or LISTEN. Don't show i
sockstat: show path state column only when useful
Showing the path state column is only useful, if there is at least one SCTP endpoint shown, which is not in the state CLOSED or LISTEN. Don't show it when it is not useful.
Reviewed by: rrs MFC after: 3 days Sponsored by: Netflix, Inc. Differential Revision: https://reviews.freebsd.org/D52986
show more ...
|
| d8883177 | 12-Aug-2025 |
Alan Somers <asomers@FreeBSD.org> |
sockstat: fix port parsing after libxo integration
parse_ports has been broken ever since 7b35b4d, and it's a sufficiently complicated function that it really deserves some unit tests. Fix it, and a
sockstat: fix port parsing after libxo integration
parse_ports has been broken ever since 7b35b4d, and it's a sufficiently complicated function that it really deserves some unit tests. Fix it, and add tests. Refactor the code a little bit to facilitate unit tests. Chiefly, split the tested functions out of main.c into sockstat.c .
PR: 288731 Fixes: 7b35b4d ("sockstat: add libxo support") Sponsored by: ConnectWise PR: https://github.com/freebsd/freebsd-src/pull/1807 Reviewed by: rido
show more ...
|
| ec92e61f | 12-Aug-2025 |
Alan Somers <asomers@FreeBSD.org> |
sockstat: rename sockstat.c to main.c
In preparation for splitting the file up. This commit is a clean rename, so git's rename detection will work.
Sponsored by: ConnectWise PR: https://github.co
sockstat: rename sockstat.c to main.c
In preparation for splitting the file up. This commit is a clean rename, so git's rename detection will work.
Sponsored by: ConnectWise PR: https://github.com/freebsd/freebsd-src/pull/1807
show more ...
|