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

Go to the source code of this file.

Macros

#define IPSEC_PORT_ANY   0
 
#define IPSEC_ULPROTO_ANY   255
 
#define IPSEC_PROTO_ANY   255
 
#define IPSEC_MANUAL_REQID_MAX   0x3fff
 
#define IPSEC_REPLAYWSIZE   32
 

Enumerations

enum  { IPSEC_MODE_ANY = 0, IPSEC_MODE_TRANSPORT = 1, IPSEC_MODE_TUNNEL = 2, IPSEC_MODE_BEET = 3 }
 
enum  {
  IPSEC_DIR_ANY = 0, IPSEC_DIR_INBOUND = 1, IPSEC_DIR_OUTBOUND = 2, IPSEC_DIR_FWD = 3,
  IPSEC_DIR_MAX = 4, IPSEC_DIR_INVALID = 5
}
 
enum  {
  IPSEC_POLICY_DISCARD = 0, IPSEC_POLICY_NONE = 1, IPSEC_POLICY_IPSEC = 2, IPSEC_POLICY_ENTRUST = 3,
  IPSEC_POLICY_BYPASS = 4
}
 
enum  { IPSEC_LEVEL_DEFAULT = 0, IPSEC_LEVEL_USE = 1, IPSEC_LEVEL_REQUIRE = 2, IPSEC_LEVEL_UNIQUE = 3 }
 

Macro Definition Documentation

#define IPSEC_MANUAL_REQID_MAX   0x3fff

Definition at line 43 of file ipsec.h.

#define IPSEC_PORT_ANY   0

Definition at line 8 of file ipsec.h.

#define IPSEC_PROTO_ANY   255

Definition at line 10 of file ipsec.h.

#define IPSEC_REPLAYWSIZE   32

Definition at line 45 of file ipsec.h.

#define IPSEC_ULPROTO_ANY   255

Definition at line 9 of file ipsec.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
IPSEC_MODE_ANY 
IPSEC_MODE_TRANSPORT 
IPSEC_MODE_TUNNEL 
IPSEC_MODE_BEET 

Definition at line 12 of file ipsec.h.

anonymous enum
Enumerator:
IPSEC_DIR_ANY 
IPSEC_DIR_INBOUND 
IPSEC_DIR_OUTBOUND 
IPSEC_DIR_FWD 
IPSEC_DIR_MAX 
IPSEC_DIR_INVALID 

Definition at line 19 of file ipsec.h.

anonymous enum
Enumerator:
IPSEC_POLICY_DISCARD 
IPSEC_POLICY_NONE 
IPSEC_POLICY_IPSEC 
IPSEC_POLICY_ENTRUST 
IPSEC_POLICY_BYPASS 

Definition at line 28 of file ipsec.h.

anonymous enum
Enumerator:
IPSEC_LEVEL_DEFAULT 
IPSEC_LEVEL_USE 
IPSEC_LEVEL_REQUIRE 
IPSEC_LEVEL_UNIQUE 

Definition at line 36 of file ipsec.h.