blob: 58b3e882a187a1ff3205efa5de37fd9d15c758a8 [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
Vlad Yasevichb7e0fe92007-11-29 09:53:52 -05009 select CRYPTO
10 select CRYPTO_HMAC
11 select CRYPTO_SHA1
Linus Torvalds1da177e2005-04-16 15:20:36 -070012 select CRYPTO_MD5 if SCTP_HMAC_MD5
Vlad Yasevich9ad09772007-12-16 14:06:41 -080013 select LIBCRC32C
Linus Torvalds1da177e2005-04-16 15:20:36 -070014 ---help---
15 Stream Control Transmission Protocol
16
17 From RFC 2960 <http://www.ietf.org/rfc/rfc2960.txt>.
18
19 "SCTP is a reliable transport protocol operating on top of a
20 connectionless packet network such as IP. It offers the following
21 services to its users:
22
23 -- acknowledged error-free non-duplicated transfer of user data,
24 -- data fragmentation to conform to discovered path MTU size,
25 -- sequenced delivery of user messages within multiple streams,
26 with an option for order-of-arrival delivery of individual user
27 messages,
28 -- optional bundling of multiple user messages into a single SCTP
29 packet, and
30 -- network-level fault tolerance through supporting of multi-
31 homing at either or both ends of an association."
32
33 To compile this protocol support as a module, choose M here: the
34 module will be called sctp.
35
36 If in doubt, say N.
37
Jan Engelhardt29e32cc2007-05-23 14:48:57 -070038if IP_SCTP
39
Linus Torvalds1da177e2005-04-16 15:20:36 -070040config SCTP_DBG_MSG
41 bool "SCTP: Debug messages"
Linus Torvalds1da177e2005-04-16 15:20:36 -070042 help
43 If you say Y, this will enable verbose debugging messages.
44
45 If unsure, say N. However, if you are running into problems, use
46 this option to gather detailed trace information
47
48config SCTP_DBG_OBJCNT
49 bool "SCTP: Debug object counts"
Florian Westphalc4e85f82008-07-18 23:03:44 -070050 depends on PROC_FS
Linus Torvalds1da177e2005-04-16 15:20:36 -070051 help
52 If you say Y, this will enable debugging support for counting the
53 type of objects that are currently allocated. This is useful for
Florian Westphalc4e85f82008-07-18 23:03:44 -070054 identifying memory leaks. This debug information can be viewed by
Linus Torvalds1da177e2005-04-16 15:20:36 -070055 'cat /proc/net/sctp/sctp_dbg_objcnt'
56
57 If unsure, say N
58
59choice
60 prompt "SCTP: Cookie HMAC Algorithm"
Linus Torvalds1da177e2005-04-16 15:20:36 -070061 default SCTP_HMAC_MD5
62 help
63 HMAC algorithm to be used during association initialization. It
64 is strongly recommended to use HMAC-SHA1 or HMAC-MD5. See
65 configuration for Cryptographic API and enable those algorithms
66 to make usable by SCTP.
67
68config SCTP_HMAC_NONE
69 bool "None"
70 help
71 Choosing this disables the use of an HMAC during association
72 establishment. It is advised to use either HMAC-MD5 or HMAC-SHA1.
73
74config SCTP_HMAC_SHA1
75 bool "HMAC-SHA1"
76 help
77 Enable the use of HMAC-SHA1 during association establishment. It
78 is advised to use either HMAC-MD5 or HMAC-SHA1.
79
80config SCTP_HMAC_MD5
81 bool "HMAC-MD5"
82 help
83 Enable the use of HMAC-MD5 during association establishment. It is
84 advised to use either HMAC-MD5 or HMAC-SHA1.
85
86endchoice
Jan Engelhardt29e32cc2007-05-23 14:48:57 -070087
88endif # IP_SCTP