blob: a9edd2e205f4eabaeb842ec06406d0e61ec83127 [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
Vlad Yasevich9ad09772007-12-16 14:06:41 -080012 select LIBCRC32C
Linus Torvalds1da177e2005-04-16 15:20:36 -070013 ---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
Wei Yongjun787a51a2010-04-30 22:41:09 -040039config NET_SCTPPROBE
40 tristate "SCTP: Association probing"
41 depends on PROC_FS && KPROBES
42 ---help---
43 This module allows for capturing the changes to SCTP association
44 state in response to incoming packets. It is used for debugging
45 SCTP congestion control algorithms. If you don't understand
46 what was just said, you don't need it: say N.
47
48 To compile this code as a module, choose M here: the
49 module will be called sctp_probe.
50
Linus Torvalds1da177e2005-04-16 15:20:36 -070051config SCTP_DBG_MSG
52 bool "SCTP: Debug messages"
Linus Torvalds1da177e2005-04-16 15:20:36 -070053 help
54 If you say Y, this will enable verbose debugging messages.
55
56 If unsure, say N. However, if you are running into problems, use
57 this option to gather detailed trace information
58
59config SCTP_DBG_OBJCNT
60 bool "SCTP: Debug object counts"
Florian Westphalc4e85f82008-07-18 23:03:44 -070061 depends on PROC_FS
Linus Torvalds1da177e2005-04-16 15:20:36 -070062 help
63 If you say Y, this will enable debugging support for counting the
64 type of objects that are currently allocated. This is useful for
Florian Westphalc4e85f82008-07-18 23:03:44 -070065 identifying memory leaks. This debug information can be viewed by
Linus Torvalds1da177e2005-04-16 15:20:36 -070066 'cat /proc/net/sctp/sctp_dbg_objcnt'
67
68 If unsure, say N
69
Neil Horman3c681982012-10-24 09:20:03 +000070config SCTP_COOKIE_HMAC_MD5
71 bool "Enable optional MD5 hmac cookie generation"
Linus Torvalds1da177e2005-04-16 15:20:36 -070072 help
Neil Horman3c681982012-10-24 09:20:03 +000073 Enable optional MD5 hmac based SCTP cookie generation
74 default y
75 select CRYPTO_HMAC if SCTP_COOKIE_HMAC_MD5
76 select CRYPTO_MD5 if SCTP_COOKIE_HMAC_MD5
Linus Torvalds1da177e2005-04-16 15:20:36 -070077
Neil Horman3c681982012-10-24 09:20:03 +000078config SCTP_COOKIE_HMAC_SHA1
79 bool "Enable optional SHA1 hmac cookie generation"
Linus Torvalds1da177e2005-04-16 15:20:36 -070080 help
Neil Horman3c681982012-10-24 09:20:03 +000081 Enable optional SHA1 hmac based SCTP cookie generation
82 default y
83 select CRYPTO_HMAC if SCTP_COOKIE_HMAC_SHA1
84 select CRYPTO_SHA1 if SCTP_COOKIE_HMAC_SHA1
Linus Torvalds1da177e2005-04-16 15:20:36 -070085
Jan Engelhardt29e32cc2007-05-23 14:48:57 -070086
87endif # IP_SCTP