Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ipsec.h
Go to the documentation of this file.
1 #ifndef _LINUX_IPSEC_H
2 #define _LINUX_IPSEC_H
3 
4 /* The definitions, required to talk to KAME racoon IKE. */
5 
6 #include <linux/pfkeyv2.h>
7 
8 #define IPSEC_PORT_ANY 0
9 #define IPSEC_ULPROTO_ANY 255
10 #define IPSEC_PROTO_ANY 255
11 
12 enum {
13  IPSEC_MODE_ANY = 0, /* We do not support this for SA */
17 };
18 
19 enum {
23  IPSEC_DIR_FWD = 3, /* It is our own */
26 };
27 
28 enum {
34 };
35 
36 enum {
41 };
42 
43 #define IPSEC_MANUAL_REQID_MAX 0x3fff
44 
45 #define IPSEC_REPLAYWSIZE 32
46 
47 #endif /* _LINUX_IPSEC_H */