treewide: Add SPDX license identifier - Makefile/Kconfig
[linux-2.6-block.git] / net / xfrm / Kconfig
CommitLineData
ec8f24b7 1# SPDX-License-Identifier: GPL-2.0-only
1da177e4
LT
2#
3# XFRM configuration
4#
6a2e9b73
SR
5config XFRM
6 bool
e54d1527 7 depends on INET
97e219b7 8 select GRO_CELLS
a84e3f53 9 select SKB_EXTENSIONS
6a2e9b73 10
25393d3f
SK
11config XFRM_OFFLOAD
12 bool
25393d3f 13
7e152524
JB
14config XFRM_ALGO
15 tristate
16 select XFRM
17 select CRYPTO
18
e54d1527 19if INET
1da177e4 20config XFRM_USER
654b32c6 21 tristate "Transformation user configuration interface"
7e152524 22 select XFRM_ALGO
1da177e4 23 ---help---
654b32c6
MN
24 Support for Transformation(XFRM) user configuration interface
25 like IPsec used by native Linux tools.
1da177e4
LT
26
27 If unsure, say Y.
28
f203b76d
SK
29config XFRM_INTERFACE
30 tristate "Transformation virtual interface"
31 depends on XFRM && IPV6
32 ---help---
33 This provides a virtual interface to route IPsec traffic.
34
35 If unsure, say N.
36
c11f1a15 37config XFRM_SUB_POLICY
f215bf48
KC
38 bool "Transformation sub policy support"
39 depends on XFRM
c11f1a15
MN
40 ---help---
41 Support sub policy for developers. By using sub policy with main
42 one, two policies can be applied to the same packet at once.
43 Policy which lives shorter time in kernel should be a sub.
44
45 If unsure, say N.
46
d0473655 47config XFRM_MIGRATE
f215bf48
KC
48 bool "Transformation migrate database"
49 depends on XFRM
d0473655
SS
50 ---help---
51 A feature to update locator(s) of a given IPsec security
52 association dynamically. This feature is required, for
53 instance, in a Mobile IPv6 environment with IPsec configuration
54 where mobile nodes change their attachment point to the Internet.
55
56 If unsure, say N.
57
8ea84349 58config XFRM_STATISTICS
f215bf48 59 bool "Transformation statistics"
e54d1527 60 depends on XFRM && PROC_FS
8ea84349
MN
61 ---help---
62 This statistics is not a SNMP/MIB specification but shows
63 statistics about transformation error (or almost error) factor
64 at packet processing for developer.
65
66 If unsure, say N.
67
6fccab67
HX
68config XFRM_IPCOMP
69 tristate
7e152524 70 select XFRM_ALGO
6fccab67
HX
71 select CRYPTO
72 select CRYPTO_DEFLATE
73
6a2e9b73
SR
74config NET_KEY
75 tristate "PF_KEY sockets"
7e152524 76 select XFRM_ALGO
6a2e9b73
SR
77 ---help---
78 PF_KEYv2 socket family, compatible to KAME ones.
79 They are required if you are going to use IPsec tools ported
80 from KAME.
81
82 Say Y unless you know what you are doing.
83
f6ed0ec0 84config NET_KEY_MIGRATE
f215bf48
KC
85 bool "PF_KEY MIGRATE"
86 depends on NET_KEY
f6ed0ec0
SS
87 select XFRM_MIGRATE
88 ---help---
89 Add a PF_KEY MIGRATE message to PF_KEYv2 socket family.
90 The PF_KEY MIGRATE message is used to dynamically update
91 locator(s) of a given IPsec security association.
92 This feature is required, for instance, in a Mobile IPv6
93 environment with IPsec configuration where mobile nodes
94 change their attachment point to the Internet. Detail
95 information can be found in the internet-draft
96 <draft-sugimoto-mip6-pfkey-migrate>.
97
98 If unsure, say N.
e54d1527
FW
99
100endif # INET