[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: IFconfig libxo support
From:       Ryan Moeller <ryan () ixsystems ! com>
Date:       2021-04-20 20:23:28
Message-ID: CAGuotKC0o26T+JSmPxXacargWeNOZowqBpuGNXWLRMAWA08eYw () mail ! gmail ! com
[Download RAW message or body]

On Tue, Apr 20, 2021 at 3:35 PM Mark Saad <nonesuch@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@iXsystems.com
_______________________________________________
freebsd-hackers@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic