diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2008-03-24 05:28:39 -0400 |
---|---|---|
committer | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2008-04-02 21:06:00 -0400 |
commit | 300aaeeaab5f447fcf40e911afe96df3de28f0db (patch) | |
tree | 43bc6509b745561e538972c168f1cf8d7abd4bf1 /include/net/ipip.h | |
parent | 0009ae1f50fb10178b5f54216ce567f3cb1d7267 (diff) |
[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.h | 5 |
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 | |||
24 | int mlink; | 24 | int mlink; |
25 | 25 | ||
26 | struct ip_tunnel_parm parms; | 26 | struct ip_tunnel_parm parms; |
27 | |||
27 | struct ip_tunnel_prl_entry *prl; /* potential router list */ | 28 | struct ip_tunnel_prl_entry *prl; /* potential router list */ |
29 | unsigned int prl_count; /* # of entries in PRL */ | ||
28 | }; | 30 | }; |
29 | 31 | ||
30 | struct ip_tunnel_prl_entry | 32 | struct ip_tunnel_prl_entry |
31 | { | 33 | { |
32 | struct ip_tunnel_prl_entry *next; | 34 | struct ip_tunnel_prl_entry *next; |
33 | struct ip_tunnel_prl entry; | 35 | __be32 addr; |
36 | u16 flags; | ||
34 | }; | 37 | }; |
35 | 38 | ||
36 | #define IPTUNNEL_XMIT() do { \ | 39 | #define IPTUNNEL_XMIT() do { \ |