Date: Mon, 11 Apr 2016 10:06:36 +0300 From: Dan Partelly <dan_partelly@rdsor.ro> To: Marie Helene Kvello-Aune <marieheleneka@gmail.com> Cc: freebsd-net@freebsd.org Subject: Re: libifconfig: Initial code available, looking for feedback Message-ID: <A1E15CBE-DCB8-4363-874B-7F534F4F31AE@rdsor.ro> In-Reply-To: <CALXRTbfxxf%2BbUev8sBoJEOfR41ZsLnB35i%2B4G_2Bp=j-eVVJQQ@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
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@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 beinghelp
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A1E15CBE-DCB8-4363-874B-7F534F4F31AE>
