[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 11:15:38 CET 2012

On 12/04/2012 04:17 PM, Ferry Huberts wrote:
> From: Ferry Huberts <(spam-protected)>
> as an optional parameter.

> -void olsr_os_inetgw_tunnel_route(uint32_t if_idx, bool ipv4, bool set) {
> +void olsr_os_inetgw_tunnel_route(uint32_t if_idx, bool ipv4, bool set, uint8_t * table) {
>     const struct olsr_ip_prefix *dst;

Is there a reason why this parameter (table) should be a pointer? I 
would suggest making it a normal variable.

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.

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/56f7d05b/attachment.bin>

More information about the Olsr-dev mailing list