summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>2008-03-24 18:28:39 +0900
committerYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>2008-04-03 10:06:00 +0900
commit300aaeeaab5f447fcf40e911afe96df3de28f0db (patch)
tree43bc6509b745561e538972c168f1cf8d7abd4bf1 /include/net
parent0009ae1f50fb10178b5f54216ce567f3cb1d7267 (diff)
downloadop-kernel-dev-300aaeeaab5f447fcf40e911afe96df3de28f0db.zip
op-kernel-dev-300aaeeaab5f447fcf40e911afe96df3de28f0db.tar.gz
[IPV6] SIT: Add SIOCGETPRL ioctl to get/dump PRL.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Diffstat (limited to 'include/net')
-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 205536a..633ed4d 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 { \
OpenPOWER on IntegriCloud