[IPV6] SIT: Add SIOCGETPRL ioctl to get/dump PRL.

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
This commit is contained in:
YOSHIFUJI Hideaki
2008-03-24 18:28:39 +09:00
parent 0009ae1f50
commit 300aaeeaab
3 changed files with 95 additions and 10 deletions

View File

@ -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 { \