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