Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
ip6_tunnel.h File Reference
#include <linux/ipv6.h>
#include <linux/netdevice.h>
#include <linux/ip6_tunnel.h>

Go to the source code of this file.

Data Structures

struct  __ip6_tnl_parm
 
struct  ip6_tnl
 
struct  ipv6_tlv_tnl_enc_lim
 

Macros

#define IP6TUNNEL_ERR_TIMEO   (30*HZ)
 
#define IP6_TNL_F_CAP_XMIT   0x10000
 
#define IP6_TNL_F_CAP_RCV   0x20000
 
#define IP6_TNL_F_CAP_PER_PACKET   0x40000
 

Functions

struct dst_entryip6_tnl_dst_check (struct ip6_tnl *t)
 
void ip6_tnl_dst_reset (struct ip6_tnl *t)
 
void ip6_tnl_dst_store (struct ip6_tnl *t, struct dst_entry *dst)
 
int ip6_tnl_rcv_ctl (struct ip6_tnl *t, const struct in6_addr *laddr, const struct in6_addr *raddr)
 
int ip6_tnl_xmit_ctl (struct ip6_tnl *t)
 
__u16 ip6_tnl_parse_tlv_enc_lim (struct sk_buff *skb, __u8 *raw)
 
__u32 ip6_tnl_get_cap (struct ip6_tnl *t, const struct in6_addr *laddr, const struct in6_addr *raddr)
 

Variables

struct ipv6_tlv_tnl_enc_lim __packed
 

Macro Definition Documentation

#define IP6_TNL_F_CAP_PER_PACKET   0x40000

Definition at line 15 of file ip6_tunnel.h.

#define IP6_TNL_F_CAP_RCV   0x20000

Definition at line 13 of file ip6_tunnel.h.

#define IP6_TNL_F_CAP_XMIT   0x10000

Definition at line 11 of file ip6_tunnel.h.

#define IP6TUNNEL_ERR_TIMEO   (30*HZ)

Definition at line 8 of file ip6_tunnel.h.

Function Documentation

struct dst_entry* ip6_tnl_dst_check ( struct ip6_tnl t)
read

Definition at line 129 of file ip6_tunnel.c.

void ip6_tnl_dst_reset ( struct ip6_tnl t)

Definition at line 144 of file ip6_tunnel.c.

void ip6_tnl_dst_store ( struct ip6_tnl t,
struct dst_entry dst 
)

Definition at line 151 of file ip6_tunnel.c.

__u32 ip6_tnl_get_cap ( struct ip6_tnl t,
const struct in6_addr laddr,
const struct in6_addr raddr 
)

Definition at line 699 of file ip6_tunnel.c.

__u16 ip6_tnl_parse_tlv_enc_lim ( struct sk_buff skb,
__u8 raw 
)

parse_tvl_tnl_enc_lim - handle encapsulation limit option : received socket buffer

Return: 0 if none was found, else index to encapsulation limit

Definition at line 380 of file ip6_tunnel.c.

int ip6_tnl_rcv_ctl ( struct ip6_tnl t,
const struct in6_addr laddr,
const struct in6_addr raddr 
)

Definition at line 724 of file ip6_tunnel.c.

int ip6_tnl_xmit_ctl ( struct ip6_tnl t)

Definition at line 867 of file ip6_tunnel.c.

Variable Documentation