libifconfig: Initial code available, looking for feedback
Dan Partelly
dan_partelly at rdsor.ro
Mon Apr 11 07:16:01 UTC 2016
Im interested in this work, I believe having libraries to interface with various FreeSBD subsystems
would be a very valuable addition to FreeBSD.
A first comment:
— from Github descrition --
"'m currently working on a library called 'libifconfig' which will provide
a C API to do the actual work that /sbin/ifconfig currently does, except
that of lib80211.”
------------------
It is my opinion that this shouldn't be a monolitical libary, and at least two libraries
should be created:
1. layer 2 access lib (universal )
2. protocol level libraries (initially IP suite configuration would be more than enough)
Also, it may (or may very well be a stupid ideea, didnt thinked it throughly) to expose such config APIs
using Nvlists. It makes using the API extremely easy. See nv(3) .
> On 09 Apr 2016, at 16:59, Marie Helene Kvello-Aune <marieheleneka at gmail.com> wrote:
>
> d appreciate feedback, in particular on the API design
> and usage, and especially on how it communicates error state to the
> application.
>
> Expect the API to break frequently/often for the time being
More information about the freebsd-net
mailing list