- patches.apparmor/remove_suid_new_case_in_2.6.22.diff: Merge fix.
[linux-flexiantxendom0-3.2.10.git] / net / sctp / Kconfig
1 #
2 # SCTP configuration
3 #
4
5 menuconfig IP_SCTP
6         tristate "The SCTP Protocol (EXPERIMENTAL)"
7         depends on INET && EXPERIMENTAL
8         depends on IPV6 || IPV6=n
9         select CRYPTO if SCTP_HMAC_SHA1 || SCTP_HMAC_MD5
10         select CRYPTO_HMAC if SCTP_HMAC_SHA1 || SCTP_HMAC_MD5
11         select CRYPTO_SHA1 if SCTP_HMAC_SHA1
12         select CRYPTO_MD5 if SCTP_HMAC_MD5
13         ---help---
14           Stream Control Transmission Protocol
15
16           From RFC 2960 <http://www.ietf.org/rfc/rfc2960.txt>.
17
18           "SCTP is a reliable transport protocol operating on top of a
19           connectionless packet network such as IP.  It offers the following
20           services to its users:
21
22           -- acknowledged error-free non-duplicated transfer of user data,
23           -- data fragmentation to conform to discovered path MTU size,
24           -- sequenced delivery of user messages within multiple streams,
25           with an option for order-of-arrival delivery of individual user
26           messages,
27           -- optional bundling of multiple user messages into a single SCTP
28           packet, and
29           -- network-level fault tolerance through supporting of multi-
30           homing at either or both ends of an association."
31
32           To compile this protocol support as a module, choose M here: the
33           module will be called sctp.
34
35           If in doubt, say N.
36
37 if IP_SCTP
38
39 config SCTP_DBG_MSG
40         bool "SCTP: Debug messages"
41         help
42           If you say Y, this will enable verbose debugging messages. 
43
44           If unsure, say N.  However, if you are running into problems, use 
45           this option to gather detailed trace information
46
47 config SCTP_DBG_OBJCNT
48         bool "SCTP: Debug object counts"
49         help
50           If you say Y, this will enable debugging support for counting the 
51           type of objects that are currently allocated.  This is useful for 
52           identifying memory leaks.   If the /proc filesystem is enabled this 
53           debug information can be viewed by 
54           'cat /proc/net/sctp/sctp_dbg_objcnt'
55
56           If unsure, say N
57
58 choice
59         prompt "SCTP: Cookie HMAC Algorithm"
60         default SCTP_HMAC_MD5
61         help
62           HMAC algorithm to be used during association initialization.  It
63           is strongly recommended to use HMAC-SHA1 or HMAC-MD5.  See 
64           configuration for Cryptographic API and enable those algorithms
65           to make usable by SCTP. 
66
67 config SCTP_HMAC_NONE
68         bool "None"
69         help 
70           Choosing this disables the use of an HMAC during association 
71           establishment.  It is advised to use either HMAC-MD5 or HMAC-SHA1.
72
73 config SCTP_HMAC_SHA1
74         bool "HMAC-SHA1"
75         help 
76           Enable the use of HMAC-SHA1 during association establishment.  It 
77           is advised to use either HMAC-MD5 or HMAC-SHA1.
78
79 config SCTP_HMAC_MD5
80         bool "HMAC-MD5"
81         help
82           Enable the use of HMAC-MD5 during association establishment.  It is 
83           advised to use either HMAC-MD5 or HMAC-SHA1.
84
85 endchoice
86
87 endif # IP_SCTP