Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
if_tunnel.h File Reference
#include <linux/types.h>
#include <asm/byteorder.h>

Go to the source code of this file.

Data Structures

struct  ip_tunnel_parm
 
struct  ip_tunnel_prl
 
struct  ip_tunnel_6rd
 

Macros

#define SIOCGETTUNNEL   (SIOCDEVPRIVATE + 0)
 
#define SIOCADDTUNNEL   (SIOCDEVPRIVATE + 1)
 
#define SIOCDELTUNNEL   (SIOCDEVPRIVATE + 2)
 
#define SIOCCHGTUNNEL   (SIOCDEVPRIVATE + 3)
 
#define SIOCGETPRL   (SIOCDEVPRIVATE + 4)
 
#define SIOCADDPRL   (SIOCDEVPRIVATE + 5)
 
#define SIOCDELPRL   (SIOCDEVPRIVATE + 6)
 
#define SIOCCHGPRL   (SIOCDEVPRIVATE + 7)
 
#define SIOCGET6RD   (SIOCDEVPRIVATE + 8)
 
#define SIOCADD6RD   (SIOCDEVPRIVATE + 9)
 
#define SIOCDEL6RD   (SIOCDEVPRIVATE + 10)
 
#define SIOCCHG6RD   (SIOCDEVPRIVATE + 11)
 
#define GRE_CSUM   __cpu_to_be16(0x8000)
 
#define GRE_ROUTING   __cpu_to_be16(0x4000)
 
#define GRE_KEY   __cpu_to_be16(0x2000)
 
#define GRE_SEQ   __cpu_to_be16(0x1000)
 
#define GRE_STRICT   __cpu_to_be16(0x0800)
 
#define GRE_REC   __cpu_to_be16(0x0700)
 
#define GRE_FLAGS   __cpu_to_be16(0x00F8)
 
#define GRE_VERSION   __cpu_to_be16(0x0007)
 
#define SIT_ISATAP   0x0001
 
#define PRL_DEFAULT   0x0001
 
#define IFLA_GRE_MAX   (__IFLA_GRE_MAX - 1)
 
#define VTI_ISVTI   0x0001
 
#define IFLA_VTI_MAX   (__IFLA_VTI_MAX - 1)
 

Enumerations

enum  {
  IFLA_GRE_UNSPEC, IFLA_GRE_LINK, IFLA_GRE_IFLAGS, IFLA_GRE_OFLAGS,
  IFLA_GRE_IKEY, IFLA_GRE_OKEY, IFLA_GRE_LOCAL, IFLA_GRE_REMOTE,
  IFLA_GRE_TTL, IFLA_GRE_TOS, IFLA_GRE_PMTUDISC, IFLA_GRE_ENCAP_LIMIT,
  IFLA_GRE_FLOWINFO, IFLA_GRE_FLAGS, __IFLA_GRE_MAX
}
 
enum  {
  IFLA_VTI_UNSPEC, IFLA_VTI_LINK, IFLA_VTI_IKEY, IFLA_VTI_OKEY,
  IFLA_VTI_LOCAL, IFLA_VTI_REMOTE, __IFLA_VTI_MAX
}
 

Macro Definition Documentation

#define GRE_CSUM   __cpu_to_be16(0x8000)

Definition at line 21 of file if_tunnel.h.

#define GRE_FLAGS   __cpu_to_be16(0x00F8)

Definition at line 27 of file if_tunnel.h.

#define GRE_KEY   __cpu_to_be16(0x2000)

Definition at line 23 of file if_tunnel.h.

#define GRE_REC   __cpu_to_be16(0x0700)

Definition at line 26 of file if_tunnel.h.

#define GRE_ROUTING   __cpu_to_be16(0x4000)

Definition at line 22 of file if_tunnel.h.

#define GRE_SEQ   __cpu_to_be16(0x1000)

Definition at line 24 of file if_tunnel.h.

#define GRE_STRICT   __cpu_to_be16(0x0800)

Definition at line 25 of file if_tunnel.h.

#define GRE_VERSION   __cpu_to_be16(0x0007)

Definition at line 28 of file if_tunnel.h.

#define IFLA_GRE_MAX   (__IFLA_GRE_MAX - 1)

Definition at line 80 of file if_tunnel.h.

#define IFLA_VTI_MAX   (__IFLA_VTI_MAX - 1)

Definition at line 95 of file if_tunnel.h.

#define PRL_DEFAULT   0x0001

Definition at line 53 of file if_tunnel.h.

#define SIOCADD6RD   (SIOCDEVPRIVATE + 9)

Definition at line 17 of file if_tunnel.h.

#define SIOCADDPRL   (SIOCDEVPRIVATE + 5)

Definition at line 13 of file if_tunnel.h.

#define SIOCADDTUNNEL   (SIOCDEVPRIVATE + 1)

Definition at line 9 of file if_tunnel.h.

#define SIOCCHG6RD   (SIOCDEVPRIVATE + 11)

Definition at line 19 of file if_tunnel.h.

#define SIOCCHGPRL   (SIOCDEVPRIVATE + 7)

Definition at line 15 of file if_tunnel.h.

#define SIOCCHGTUNNEL   (SIOCDEVPRIVATE + 3)

Definition at line 11 of file if_tunnel.h.

#define SIOCDEL6RD   (SIOCDEVPRIVATE + 10)

Definition at line 18 of file if_tunnel.h.

#define SIOCDELPRL   (SIOCDEVPRIVATE + 6)

Definition at line 14 of file if_tunnel.h.

#define SIOCDELTUNNEL   (SIOCDEVPRIVATE + 2)

Definition at line 10 of file if_tunnel.h.

#define SIOCGET6RD   (SIOCDEVPRIVATE + 8)

Definition at line 16 of file if_tunnel.h.

#define SIOCGETPRL   (SIOCDEVPRIVATE + 4)

Definition at line 12 of file if_tunnel.h.

#define SIOCGETTUNNEL   (SIOCDEVPRIVATE + 0)

Definition at line 8 of file if_tunnel.h.

#define SIT_ISATAP   0x0001

Definition at line 41 of file if_tunnel.h.

#define VTI_ISVTI   0x0001

Definition at line 83 of file if_tunnel.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
IFLA_GRE_UNSPEC 
IFLA_GRE_LINK 
IFLA_GRE_IFLAGS 
IFLA_GRE_OFLAGS 
IFLA_GRE_IKEY 
IFLA_GRE_OKEY 
IFLA_GRE_LOCAL 
IFLA_GRE_REMOTE 
IFLA_GRE_TTL 
IFLA_GRE_TOS 
IFLA_GRE_PMTUDISC 
IFLA_GRE_ENCAP_LIMIT 
IFLA_GRE_FLOWINFO 
IFLA_GRE_FLAGS 
__IFLA_GRE_MAX 

Definition at line 62 of file if_tunnel.h.

anonymous enum
Enumerator:
IFLA_VTI_UNSPEC 
IFLA_VTI_LINK 
IFLA_VTI_IKEY 
IFLA_VTI_OKEY 
IFLA_VTI_LOCAL 
IFLA_VTI_REMOTE 
__IFLA_VTI_MAX 

Definition at line 85 of file if_tunnel.h.