Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
xfrm6_tunnel.c File Reference
#include <linux/module.h>
#include <linux/xfrm.h>
#include <linux/slab.h>
#include <linux/rculist.h>
#include <net/ip.h>
#include <net/xfrm.h>
#include <net/ipv6.h>
#include <linux/ipv6.h>
#include <linux/icmpv6.h>
#include <linux/mutex.h>
#include <net/netns/generic.h>

Go to the source code of this file.

Data Structures

struct  xfrm6_tunnel_net
 
struct  xfrm6_tunnel_spi
 

Macros

#define XFRM6_TUNNEL_SPI_BYADDR_HSIZE   256
 
#define XFRM6_TUNNEL_SPI_BYSPI_HSIZE   256
 
#define XFRM6_TUNNEL_SPI_MIN   1
 
#define XFRM6_TUNNEL_SPI_MAX   0xffffffff
 

Functions

__be32 xfrm6_tunnel_spi_lookup (struct net *net, const xfrm_address_t *saddr)
 
 EXPORT_SYMBOL (xfrm6_tunnel_spi_lookup)
 
__be32 xfrm6_tunnel_alloc_spi (struct net *net, xfrm_address_t *saddr)
 
 EXPORT_SYMBOL (xfrm6_tunnel_alloc_spi)
 
 module_init (xfrm6_tunnel_init)
 
 module_exit (xfrm6_tunnel_fini)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS_XFRM_TYPE (AF_INET6, XFRM_PROTO_IPV6)
 

Macro Definition Documentation

#define XFRM6_TUNNEL_SPI_BYADDR_HSIZE   256

Definition at line 36 of file xfrm6_tunnel.c.

#define XFRM6_TUNNEL_SPI_BYSPI_HSIZE   256

Definition at line 37 of file xfrm6_tunnel.c.

#define XFRM6_TUNNEL_SPI_MAX   0xffffffff

Definition at line 40 of file xfrm6_tunnel.c.

#define XFRM6_TUNNEL_SPI_MIN   1

Definition at line 39 of file xfrm6_tunnel.c.

Function Documentation

EXPORT_SYMBOL ( xfrm6_tunnel_spi_lookup  )
EXPORT_SYMBOL ( xfrm6_tunnel_alloc_spi  )
MODULE_ALIAS_XFRM_TYPE ( AF_INET6  ,
XFRM_PROTO_IPV6   
)
module_exit ( xfrm6_tunnel_fini  )
module_init ( xfrm6_tunnel_init  )
MODULE_LICENSE ( "GPL"  )
__be32 xfrm6_tunnel_alloc_spi ( struct net net,
xfrm_address_t saddr 
)

Definition at line 177 of file xfrm6_tunnel.c.

__be32 xfrm6_tunnel_spi_lookup ( struct net net,
const xfrm_address_t saddr 
)

Definition at line 104 of file xfrm6_tunnel.c.