IFconfig libxo support

Ryan Moeller ryan at ixsystems.com
Tue Apr 20 20:23:41 UTC 2021


On Tue, Apr 20, 2021 at 3:35 PM Mark Saad <nonesuch at longcount.org> wrote:
> So any reason that ifconfig is going this way over how say netstat has
> --libxo as an output option ?

They're not mutually exclusive. libifconfig handles the low level
information gathering, and ifconfig formats it for output to the user.
One could still make ifconfig use libxo for formatting the output. I
just happen to be working on libifconfig lately and am using the flua
binding for testing. Outputting JSON for the available configuration
information is simply a practical demonstration of the flua binding,
it's not the end goal.

-- 
Ryan Moeller
iXsystems, Inc.
OS Developer
Email: ryan at iXsystems.com


More information about the freebsd-hackers mailing list