diff options
| author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-10-22 08:34:51 -0400 |
|---|---|---|
| committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-10-22 08:34:51 -0400 |
| commit | c2fb7916927e989ea424e61ce5fe617e54878827 (patch) | |
| tree | 02f9d5482075f8931637d82bb697a6470270136a /include/uapi/linux/ipsec.h | |
| parent | 29de6ce574870a0d3fd157afdbf51c0282e2bf63 (diff) | |
| parent | 6f0c0580b70c89094b3422ba81118c7b959c7556 (diff) | |
Merge tag 'v3.7-rc2' into drm-intel-next-queued
Linux 3.7-rc2
Backmerge to solve two ugly conflicts:
- uapi. We've already added new ioctl definitions for -next. Do I need to say more?
- wc support gtt ptes. We've had to revert this for snb+ for 3.7 and
also fix a few other things in the code. Now we know how to make it
work on snb+, but to avoid losing the other fixes do the backmerge
first before re-enabling wc gtt ptes on snb+.
And a few other minor things, among them git getting confused in
intel_dp.c and seemingly causing a conflict out of nothing ...
Conflicts:
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_dp.c
drivers/gpu/drm/i915/intel_modes.c
include/drm/i915_drm.h
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/uapi/linux/ipsec.h')
| -rw-r--r-- | include/uapi/linux/ipsec.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/include/uapi/linux/ipsec.h b/include/uapi/linux/ipsec.h new file mode 100644 index 000000000000..d17a6302a0e9 --- /dev/null +++ b/include/uapi/linux/ipsec.h | |||
| @@ -0,0 +1,47 @@ | |||
| 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 */ | ||
| 14 | IPSEC_MODE_TRANSPORT = 1, | ||
| 15 | IPSEC_MODE_TUNNEL = 2, | ||
| 16 | IPSEC_MODE_BEET = 3 | ||
| 17 | }; | ||
| 18 | |||
| 19 | enum { | ||
| 20 | IPSEC_DIR_ANY = 0, | ||
| 21 | IPSEC_DIR_INBOUND = 1, | ||
| 22 | IPSEC_DIR_OUTBOUND = 2, | ||
| 23 | IPSEC_DIR_FWD = 3, /* It is our own */ | ||
| 24 | IPSEC_DIR_MAX = 4, | ||
| 25 | IPSEC_DIR_INVALID = 5 | ||
| 26 | }; | ||
| 27 | |||
| 28 | enum { | ||
| 29 | IPSEC_POLICY_DISCARD = 0, | ||
| 30 | IPSEC_POLICY_NONE = 1, | ||
| 31 | IPSEC_POLICY_IPSEC = 2, | ||
| 32 | IPSEC_POLICY_ENTRUST = 3, | ||
| 33 | IPSEC_POLICY_BYPASS = 4 | ||
| 34 | }; | ||
| 35 | |||
| 36 | enum { | ||
| 37 | IPSEC_LEVEL_DEFAULT = 0, | ||
| 38 | IPSEC_LEVEL_USE = 1, | ||
| 39 | IPSEC_LEVEL_REQUIRE = 2, | ||
| 40 | IPSEC_LEVEL_UNIQUE = 3 | ||
| 41 | }; | ||
| 42 | |||
| 43 | #define IPSEC_MANUAL_REQID_MAX 0x3fff | ||
| 44 | |||
| 45 | #define IPSEC_REPLAYWSIZE 32 | ||
| 46 | |||
| 47 | #endif /* _LINUX_IPSEC_H */ | ||
