[Olsr-dev] SmartGW client side questions

Markus Kittenberger (spam-protected)
Mon Apr 26 14:58:11 CEST 2010


so logically it must get active aswell if we set an source ip on our tunnel
*G

Markus

On Mon, Apr 26, 2010 at 2:53 PM, Henning Rogge <
(spam-protected)> wrote:

> On Mon April 26 2010 14:38:55 Sven-Ola Tuecke wrote:
> > Hey,
> >
> > patch? Yes - may be sufficient with #ifdef LINUX_2.4 as with the NIIT
> > stuff. On multi-olsr-iface nodes one may experience no-inet if the
> > interface with the originator IP goes down - but that won't harm too much
> > in real-life IMO.
> The 0.6.0 codebase contains code to create an additional localhost
> interface
> with the originator IP (but at the moment it's only active when sourceip
> mode
> is active).
>
> > And with "plugin" you mean: Write new one. OK - got it. I may extend
> > "dyngw_plain" for this (something that reads a /tmp/gw.txt file and act
> > accordingly)
> You need to implement 4 functions and put them into a callback struct (see
> src/gateway.h, line 86):
>
> struct olsr_gw_handler {
>  void (* handle_startup)(void);
>  void (* select_gateway) (bool ipv4, bool ipv6);
>  void (* handle_update_gw)(struct gateway_entry *);
>  void (* handle_delete_gw)(struct gateway_entry *);
> };
>
> src/gateway_default_handler.c contains a sample implementation.
>
> Henning Rogge
>
> --
> Diplom-Informatiker Henning Rogge , Fraunhofer-Institut für
> Kommunikation, Informationsverarbeitung und Ergonomie FKIE
> Kommunikationssysteme (KOM)
> Neuenahrer Straße 20, 53343 Wachtberg, Germany
> Telefon +49 228 9435-961,   Fax +49 228 9435 685
> mailto:(spam-protected) http://www.fkie.fraunhofer.de
> GPG: E1C6 0914 490B 3909 D944 F80D 4487 C67C 55EC CFE0
>
> --
> Olsr-dev mailing list
> (spam-protected)
> http://lists.olsr.org/mailman/listinfo/olsr-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20100426/8234e4e4/attachment.html>


More information about the Olsr-dev mailing list