On Wed, Aug 6, 2014 at 11:10 PM, Dmitry V. Levin <l...@altlinux.org> wrote:
> On Tue, Aug 05, 2014 at 11:58:35PM -0400, Mike Frysinger wrote:
>> On Wed 06 Aug 2014 12:31:36 Masatake YAMATO wrote:
> [...]
>> > A problem is that many libraries wrapping netlink interface are
>> > distributed under term of GPL or LGPL. I'm not sure the code using the
>> > library is acceptable to strace project. If not acceptable, you have
>> > to decode the packet of netlink by yourself.
>>
>> libnl is LGPL, so linking against it optionally should be OK (strace
would
>> still be BSD). since it's actively developed and commonly used (by
wireless
>> tools), i'd start there.
>
> Looks like there are no other viable options but libnl.
Do we really need libnl? So far the code samples I have seen that does not
use libnl seems fairly straightforward.
https://github.com/kristrev/inet-diag-example/blob/master/inet_monitor.c
Thanks,
-- zm
------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls.
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel