summaryrefslogtreecommitdiffstats
path: root/include/net/ipip.h
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>2008-03-24 10:28:39 +0100
committerYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>2008-04-03 03:06:00 +0200
commit300aaeeaab5f447fcf40e911afe96df3de28f0db (patch)
tree43bc6509b745561e538972c168f1cf8d7abd4bf1 /include/net/ipip.h
parent[IPV6] SIT: Disallow 0.0.0.0 in PRL and Flush PRL if given for DEL. (diff)
downloadlinux-300aaeeaab5f447fcf40e911afe96df3de28f0db.tar.xz
linux-300aaeeaab5f447fcf40e911afe96df3de28f0db.zip
[IPV6] SIT: Add SIOCGETPRL ioctl to get/dump PRL.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Diffstat (limited to 'include/net/ipip.h')
-rw-r--r--include/net/ipip.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/net/ipip.h b/include/net/ipip.h
index 205536a014e8..633ed4def8e3 100644
--- a/include/net/ipip.h
+++ b/include/net/ipip.h
@@ -24,13 +24,16 @@ struct ip_tunnel
int mlink;
struct ip_tunnel_parm parms;
+
struct ip_tunnel_prl_entry *prl; /* potential router list */
+ unsigned int prl_count; /* # of entries in PRL */
};
struct ip_tunnel_prl_entry
{
struct ip_tunnel_prl_entry *next;
- struct ip_tunnel_prl entry;
+ __be32 addr;
+ u16 flags;
};
#define IPTUNNEL_XMIT() do { \