[Olsr-dev] libnetlink, linux and olsr

Henning Rogge (spam-protected)
Mon Oct 22 11:01:38 CEST 2012

On 10/19/2012 11:06 AM, Kees-Jan Hermans wrote:
> Ok. Here's the diff. I must verify a few things with you:
> - The way to 'transport' a configuration value to the module is now via
> global variables and 'extern' definitions in the yacc file. Which is
> IMHO, a kludge - ugly C. I couldn't find an example of how to do this
> properly in other lq plugins though.

Yes... you need to add a variable to the global "olsr config" struct.

> - I have assumed that the $(OS) definitions as used in the Makefile
> aren't somehow mutually inclusive. That is, 'android' doesn't also
> trigger 'linux'.

OS=Android implies __linux__ of course.

But the OS variable itself can only contain a single value.

> - I made adjustments to Makefile.inc in what I don't know are the right
> place.
> - The configuration names as in the lex file are the result of my
> imagination. I camelcased what I thought would be proper. Feel free to
> adjust.

> KJ
> - There is still no way to separate out the older libnl libraries (which
> have completely different names). So keep expectations low - I expect
> errors.


Henning Rogge

Diplom-Informatiker Henning Rogge , Fraunhofer-Institut für
Kommunikation, Informationsverarbeitung und Ergonomie FKIE
Kommunikationssysteme (KOM)
Fraunhofer Straße 20, 53343 Wachtberg, Germany
Telefon +49 228 9435-961,   Fax +49 228 9435 685
mailto:(spam-protected) http://www.fkie.fraunhofer.de

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6169 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20121022/cd269a43/attachment.bin>

More information about the Olsr-dev mailing list