[Olsr-dev] [PATCH v1 09/23] kernel_route: olsr_os_inetgw_tunnel_route can now take the table

Henning Rogge (spam-protected)
Thu Dec 13 12:30:37 CET 2012

On 12/13/2012 11:26 AM, Ferry Huberts wrote:
> On 13/12/12 11:23, Henning Rogge wrote:
>> On 12/13/2012 11:15 AM, Henning Rogge wrote:
>>> My other question would be if "table" should be an integer larger than 8
>>> bit. Because I think there can be more than 255 routing tables.
>> Okay, seems to be a kernel version issue... lets keep the 255 maximum
>> for the moment (but my comment about the pointer is still valid I think).
> I use a pointer to be able to easily signal that it is present or not (I
> want to be able to have 0 as a valid table value)

Maybe we can use an "int" as a parameter and use -1 as the "just take 
the default" parameter? Less chances for things to go wrong.

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/20121213/a6ca8579/attachment.bin>

More information about the Olsr-dev mailing list