Page MenuHomeFreeBSD

netstat: improve output
ClosedPublic

Authored by tuexen on Aug 28 2025, 8:53 PM.
Tags
None
Referenced Files
F132078337: D52227.id161152.diff
Mon, Oct 13, 11:29 AM
F132078336: D52227.id161343.diff
Mon, Oct 13, 11:29 AM
F132078331: D52227.id.diff
Mon, Oct 13, 11:28 AM
F132078330: D52227.id161350.diff
Mon, Oct 13, 11:28 AM
F132012293: D52227.diff
Sun, Oct 12, 10:49 PM
Unknown Object (File)
Sun, Oct 5, 6:59 AM
Unknown Object (File)
Fri, Sep 26, 12:11 PM
Unknown Object (File)
Thu, Sep 25, 4:29 PM
Subscribers

Details

Summary

Use consistent indentation of SYN-cookie related counters, which belong to the SYN-cache container,

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

I don't fully accept this change. Cookies & syncache are two different modules from sysadmin's view, although massively intertwined inside the implementation.

What about indenting only the three lower lines but keep cookies sent at the zero indentation, so it acts as a header? Just as syncache entries added acts as a header for the syncache module.

I don't fully accept this change. Cookies & syncache are two different modules from sysadmin's view, although massively intertwined inside the implementation.

What about indenting only the three lower lines but keep cookies sent at the zero indentation, so it acts as a header? Just as syncache entries added acts as a header for the syncache module.

That was my original change, but wasn't sure if it OK to create a new container. Will update the patch.

Use a container for SYN-cookie related counters as suggested by glebius@.

Haven't checked the actual output of the new version, but looks like the desired change.

This revision is now accepted and ready to land.Sep 1 2025, 10:14 PM
This revision was automatically updated to reflect the committed changes.