Blame view

net/xfrm/Kconfig 2.54 KB
ec8f24b7f   Thomas Gleixner   treewide: Add SPD...
1
  # SPDX-License-Identifier: GPL-2.0-only
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2
3
4
  #
  # XFRM configuration
  #
6a2e9b738   Sam Ravnborg   [NET]: move confi...
5
6
  config XFRM
         bool
e54d15276   Florian Westphal   xfrm: kconfig: ma...
7
         depends on INET
97e219b7c   Eric Dumazet   gro_cells: move t...
8
         select GRO_CELLS
a84e3f533   Florian Westphal   xfrm: prefer secp...
9
         select SKB_EXTENSIONS
6a2e9b738   Sam Ravnborg   [NET]: move confi...
10

25393d3fc   Steffen Klassert   net: Prepare gro ...
11
12
  config XFRM_OFFLOAD
         bool
25393d3fc   Steffen Klassert   net: Prepare gro ...
13

7e1525249   Jan Beulich   xfrm: make xfrm_a...
14
15
16
17
  config XFRM_ALGO
  	tristate
  	select XFRM
  	select CRYPTO
597179b0b   Arnd Bergmann   ipsec: select cry...
18
19
  	select CRYPTO_HASH
  	select CRYPTO_BLKCIPHER
7e1525249   Jan Beulich   xfrm: make xfrm_a...
20

e54d15276   Florian Westphal   xfrm: kconfig: ma...
21
  if INET
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
22
  config XFRM_USER
654b32c6a   Masahide NAKAMURA   [XFRM]: Fix messa...
23
  	tristate "Transformation user configuration interface"
7e1525249   Jan Beulich   xfrm: make xfrm_a...
24
  	select XFRM_ALGO
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
25
  	---help---
654b32c6a   Masahide NAKAMURA   [XFRM]: Fix messa...
26
27
  	  Support for Transformation(XFRM) user configuration interface
  	  like IPsec used by native Linux tools.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
28
29
  
  	  If unsure, say Y.
f203b76d7   Steffen Klassert   xfrm: Add virtual...
30
31
32
33
34
35
36
  config XFRM_INTERFACE
  	tristate "Transformation virtual interface"
  	depends on XFRM && IPV6
  	---help---
  	  This provides a virtual interface to route IPsec traffic.
  
  	  If unsure, say N.
c11f1a15c   Masahide NAKAMURA   [XFRM] POLICY: Ad...
37
  config XFRM_SUB_POLICY
f215bf48c   Kees Cook   net/xfrm: remove ...
38
39
  	bool "Transformation sub policy support"
  	depends on XFRM
c11f1a15c   Masahide NAKAMURA   [XFRM] POLICY: Ad...
40
41
42
43
44
45
  	---help---
  	  Support sub policy for developers. By using sub policy with main
  	  one, two policies can be applied to the same packet at once.
  	  Policy which lives shorter time in kernel should be a sub.
  
  	  If unsure, say N.
d0473655c   Shinta Sugimoto   [XFRM]: CONFIG_XF...
46
  config XFRM_MIGRATE
f215bf48c   Kees Cook   net/xfrm: remove ...
47
48
  	bool "Transformation migrate database"
  	depends on XFRM
d0473655c   Shinta Sugimoto   [XFRM]: CONFIG_XF...
49
50
51
52
53
54
55
  	---help---
  	  A feature to update locator(s) of a given IPsec security
  	  association dynamically.  This feature is required, for
  	  instance, in a Mobile IPv6 environment with IPsec configuration
  	  where mobile nodes change their attachment point to the Internet.
  
  	  If unsure, say N.
8ea843495   Masahide NAKAMURA   [XFRM]: Add packe...
56
  config XFRM_STATISTICS
f215bf48c   Kees Cook   net/xfrm: remove ...
57
  	bool "Transformation statistics"
e54d15276   Florian Westphal   xfrm: kconfig: ma...
58
  	depends on XFRM && PROC_FS
8ea843495   Masahide NAKAMURA   [XFRM]: Add packe...
59
60
61
62
63
64
  	---help---
  	  This statistics is not a SNMP/MIB specification but shows
  	  statistics about transformation error (or almost error) factor
  	  at packet processing for developer.
  
  	  If unsure, say N.
6fccab671   Herbert Xu   ipsec: ipcomp - M...
65
66
  config XFRM_IPCOMP
  	tristate
7e1525249   Jan Beulich   xfrm: make xfrm_a...
67
  	select XFRM_ALGO
6fccab671   Herbert Xu   ipsec: ipcomp - M...
68
69
  	select CRYPTO
  	select CRYPTO_DEFLATE
6a2e9b738   Sam Ravnborg   [NET]: move confi...
70
71
  config NET_KEY
  	tristate "PF_KEY sockets"
7e1525249   Jan Beulich   xfrm: make xfrm_a...
72
  	select XFRM_ALGO
6a2e9b738   Sam Ravnborg   [NET]: move confi...
73
74
75
76
77
78
  	---help---
  	  PF_KEYv2 socket family, compatible to KAME ones.
  	  They are required if you are going to use IPsec tools ported
  	  from KAME.
  
  	  Say Y unless you know what you are doing.
f6ed0ec0e   Shinta Sugimoto   [PFKEYV2]: CONFIG...
79
  config NET_KEY_MIGRATE
f215bf48c   Kees Cook   net/xfrm: remove ...
80
81
  	bool "PF_KEY MIGRATE"
  	depends on NET_KEY
f6ed0ec0e   Shinta Sugimoto   [PFKEYV2]: CONFIG...
82
83
84
85
86
87
88
89
90
91
92
93
  	select XFRM_MIGRATE
  	---help---
  	  Add a PF_KEY MIGRATE message to PF_KEYv2 socket family.
  	  The PF_KEY MIGRATE message is used to dynamically update
  	  locator(s) of a given IPsec security association.
  	  This feature is required, for instance, in a Mobile IPv6
  	  environment with IPsec configuration where mobile nodes
  	  change their attachment point to the Internet.  Detail
  	  information can be found in the internet-draft
  	  <draft-sugimoto-mip6-pfkey-migrate>.
  
  	  If unsure, say N.
e54d15276   Florian Westphal   xfrm: kconfig: ma...
94
95
  
  endif # INET