HomeFreeBSD

sockstat: complete libxo integration and improve formatting

Description

sockstat: complete libxo integration and improve formatting

Fixed missing field names in xo_emit() calls for xolint compliance, treated
XO_STYLE_HTML like XO_STYLE_TEXT to apply space-padded formatting for
human-readable output, and updated usage() to indicate that --libxo accepts
arguments.

Reported by: Phil Shafer <phil@juniper.net>
Sponsored by: Google, LLC (GSoC 2025)
MFC after: 2 weeks
Pull Request: https://github.com/freebsd/freebsd-src/pull/1806
Reviewed by: asomers

Details

Provenance
Damin Rido <rido@freebsd.org>Authored on Aug 8 2025, 1:04 PM
asomersCommitted on Aug 12 2025, 3:13 PM
Parents
rG78537728efc5: Document tunable net.link.epair.ether_gen_addr
Branches
Unknown
Tags
Unknown