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