libnl core compilation only - under different OS with BSD sockets support

Thomas Graf tgraf at suug.ch
Wed Aug 29 10:22:52 EDT 2012


On Wed, Aug 29, 2012 at 03:01:42PM +0200, Janusz Dziedzic wrote:
> Hello,
> 
> Is there any config option to compile only libnl-core?
> 
> I see there is a lot dependencies to linux kernel.
> What about compilation for different OS eg. *bsd where libnl could be
> used for communication between UM applications?
> 
> How much core libnl depend on linux includes?
> Will be better/easier if I will somehow disbale libnl-route/libnl-nf
> during compilation?
> 
> Is it possible at all to have libnl (libnl-genl) compiled under other
> OS than linux and have UM to UM communication only?
> Do you have any experience with that?

libnl uses the Netlink protocol family which is a Linux kernel feature.
So unless you port net/netlink/ over to BSD you are better off relying
on a portable IPC mechanism.



More information about the libnl mailing list