blob: 8210f549c4929914f29fe07f4d81809bbdb41a24 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# SCTP configuration
3#
4
Jan Engelhardt29e32cc2007-05-23 14:48:57 -07005menuconfig IP_SCTP
Linus Torvalds1da177e2005-04-16 15:20:36 -07006 tristate "The SCTP Protocol (EXPERIMENTAL)"
Jan Engelhardt29e32cc2007-05-23 14:48:57 -07007 depends on INET && EXPERIMENTAL
Linus Torvalds1da177e2005-04-16 15:20:36 -07008 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
Jan Engelhardt29e32cc2007-05-23 14:48:57 -070037if IP_SCTP
38
Linus Torvalds1da177e2005-04-16 15:20:36 -070039config SCTP_DBG_MSG
40 bool "SCTP: Debug messages"
Linus Torvalds1da177e2005-04-16 15:20:36 -070041 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
47config SCTP_DBG_OBJCNT
48 bool "SCTP: Debug object counts"
Linus Torvalds1da177e2005-04-16 15:20:36 -070049 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
58choice
59 prompt "SCTP: Cookie HMAC Algorithm"
Linus Torvalds1da177e2005-04-16 15:20:36 -070060 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
67config 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
73config 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
79config 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
85endchoice
Jan Engelhardt29e32cc2007-05-23 14:48:57 -070086
87endif # IP_SCTP