diff options
author | Sascha Hlusiak <contact@saschahlusiak.de> | 2009-05-19 12:56:52 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-19 16:02:02 -0700 |
commit | 645069299a1c7358cf7330afe293f07552f11a5d (patch) | |
tree | 889c39a10ef09cd77c5b052ef837bb4b53bddd83 /include/net | |
parent | 9af28511be10e175eb0cabb2ba5cfafe77408d84 (diff) | |
download | kernel_samsung_espresso10-645069299a1c7358cf7330afe293f07552f11a5d.zip kernel_samsung_espresso10-645069299a1c7358cf7330afe293f07552f11a5d.tar.gz kernel_samsung_espresso10-645069299a1c7358cf7330afe293f07552f11a5d.tar.bz2 |
sit: stateless autoconf for isatap
be sent periodically. The rs_delay can be speficied when adding the
PRL entry and defaults to 15 minutes.
The RS is sent from every link local adress that's assigned to the
tunnel interface. It's directed to the (guessed) linklocal address
of the router and is sent through the tunnel.
Better: send to ff02::2 encapsuled in unicast directed to router-v4.
Signed-off-by: Sascha Hlusiak <contact@saschahlusiak.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/ipip.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/net/ipip.h b/include/net/ipip.h index fdf9bd7..5d3036f 100644 --- a/include/net/ipip.h +++ b/include/net/ipip.h @@ -28,11 +28,18 @@ struct ip_tunnel unsigned int prl_count; /* # of entries in PRL */ }; +/* ISATAP: default interval between RS in secondy */ +#define IPTUNNEL_RS_DEFAULT_DELAY (900) + struct ip_tunnel_prl_entry { struct ip_tunnel_prl_entry *next; __be32 addr; u16 flags; + unsigned long rs_delay; + struct timer_list rs_timer; + struct ip_tunnel *tunnel; + spinlock_t lock; }; #define IPTUNNEL_XMIT() do { \ |