xref: /linux/net/sctp/Kconfig (revision 0d0863b02002c25140a1b9e113b81211bcc780e8)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# SCTP configuration
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
529e32ccdSJan Engelhardtmenuconfig IP_SCTP
61da177e4SLinus Torvalds	tristate "The SCTP Protocol (EXPERIMENTAL)"
729e32ccdSJan Engelhardt	depends on INET && EXPERIMENTAL
81da177e4SLinus Torvalds	depends on IPV6 || IPV6=n
9b7e0fe9fSVlad Yasevich	select CRYPTO
10b7e0fe9fSVlad Yasevich	select CRYPTO_HMAC
11b7e0fe9fSVlad Yasevich	select CRYPTO_SHA1
129ad0977fSVlad Yasevich	select LIBCRC32C
131da177e4SLinus Torvalds	---help---
141da177e4SLinus Torvalds	  Stream Control Transmission Protocol
151da177e4SLinus Torvalds
161da177e4SLinus Torvalds	  From RFC 2960 <http://www.ietf.org/rfc/rfc2960.txt>.
171da177e4SLinus Torvalds
181da177e4SLinus Torvalds	  "SCTP is a reliable transport protocol operating on top of a
191da177e4SLinus Torvalds	  connectionless packet network such as IP.  It offers the following
201da177e4SLinus Torvalds	  services to its users:
211da177e4SLinus Torvalds
221da177e4SLinus Torvalds	  -- acknowledged error-free non-duplicated transfer of user data,
231da177e4SLinus Torvalds	  -- data fragmentation to conform to discovered path MTU size,
241da177e4SLinus Torvalds	  -- sequenced delivery of user messages within multiple streams,
251da177e4SLinus Torvalds	  with an option for order-of-arrival delivery of individual user
261da177e4SLinus Torvalds	  messages,
271da177e4SLinus Torvalds	  -- optional bundling of multiple user messages into a single SCTP
281da177e4SLinus Torvalds	  packet, and
291da177e4SLinus Torvalds	  -- network-level fault tolerance through supporting of multi-
301da177e4SLinus Torvalds	  homing at either or both ends of an association."
311da177e4SLinus Torvalds
321da177e4SLinus Torvalds	  To compile this protocol support as a module, choose M here: the
331da177e4SLinus Torvalds	  module will be called sctp.
341da177e4SLinus Torvalds
351da177e4SLinus Torvalds	  If in doubt, say N.
361da177e4SLinus Torvalds
3729e32ccdSJan Engelhardtif IP_SCTP
3829e32ccdSJan Engelhardt
39787a51a0SWei Yongjunconfig NET_SCTPPROBE
40787a51a0SWei Yongjun	tristate "SCTP: Association probing"
41787a51a0SWei Yongjun        depends on PROC_FS && KPROBES
42787a51a0SWei Yongjun        ---help---
43787a51a0SWei Yongjun        This module allows for capturing the changes to SCTP association
44787a51a0SWei Yongjun        state in response to incoming packets. It is used for debugging
45787a51a0SWei Yongjun        SCTP congestion control algorithms. If you don't understand
46787a51a0SWei Yongjun        what was just said, you don't need it: say N.
47787a51a0SWei Yongjun
48787a51a0SWei Yongjun        To compile this code as a module, choose M here: the
49787a51a0SWei Yongjun        module will be called sctp_probe.
50787a51a0SWei Yongjun
511da177e4SLinus Torvaldsconfig SCTP_DBG_MSG
521da177e4SLinus Torvalds	bool "SCTP: Debug messages"
531da177e4SLinus Torvalds	help
541da177e4SLinus Torvalds	  If you say Y, this will enable verbose debugging messages.
551da177e4SLinus Torvalds
561da177e4SLinus Torvalds	  If unsure, say N.  However, if you are running into problems, use
571da177e4SLinus Torvalds	  this option to gather detailed trace information
581da177e4SLinus Torvalds
591da177e4SLinus Torvaldsconfig SCTP_DBG_OBJCNT
601da177e4SLinus Torvalds	bool "SCTP: Debug object counts"
61c4e85f82SFlorian Westphal	depends on PROC_FS
621da177e4SLinus Torvalds	help
631da177e4SLinus Torvalds	  If you say Y, this will enable debugging support for counting the
641da177e4SLinus Torvalds	  type of objects that are currently allocated.  This is useful for
65c4e85f82SFlorian Westphal	  identifying memory leaks. This debug information can be viewed by
661da177e4SLinus Torvalds	  'cat /proc/net/sctp/sctp_dbg_objcnt'
671da177e4SLinus Torvalds
681da177e4SLinus Torvalds	  If unsure, say N
69*0d0863b0SNeil Hormanchoice
70*0d0863b0SNeil Horman	prompt "Default SCTP cookie HMAC encoding"
71*0d0863b0SNeil Horman	default SCTP_COOKIE_HMAC_MD5
72*0d0863b0SNeil Horman	help
73*0d0863b0SNeil Horman	  This option sets the default sctp cookie hmac algorithm
74*0d0863b0SNeil Horman	  when in doubt select 'md5'
75*0d0863b0SNeil Horman
76*0d0863b0SNeil Hormanconfig SCTP_DEFAULT_COOKIE_HMAC_MD5
77*0d0863b0SNeil Horman	bool "Enable optional MD5 hmac cookie generation"
78*0d0863b0SNeil Horman	help
79*0d0863b0SNeil Horman	  Enable optional MD5 hmac based SCTP cookie generation
80*0d0863b0SNeil Horman	select SCTP_COOKIE_HMAC_MD5
81*0d0863b0SNeil Horman
82*0d0863b0SNeil Hormanconfig SCTP_DEFAULT_COOKIE_HMAC_SHA1
83*0d0863b0SNeil Horman	bool "Enable optional SHA1 hmac cookie generation"
84*0d0863b0SNeil Horman	help
85*0d0863b0SNeil Horman	  Enable optional SHA1 hmac based SCTP cookie generation
86*0d0863b0SNeil Horman	select SCTP_COOKIE_HMAC_SHA1
87*0d0863b0SNeil Horman
88*0d0863b0SNeil Hormanconfig SCTP_DEFAULT_COOKIE_HMAC_NONE
89*0d0863b0SNeil Horman	bool "Use no hmac alg in SCTP cookie generation"
90*0d0863b0SNeil Horman	help
91*0d0863b0SNeil Horman	  Use no hmac algorithm in SCTP cookie generation
92*0d0863b0SNeil Horman
93*0d0863b0SNeil Hormanendchoice
941da177e4SLinus Torvalds
953c68198eSNeil Hormanconfig SCTP_COOKIE_HMAC_MD5
963c68198eSNeil Horman	bool "Enable optional MD5 hmac cookie generation"
971da177e4SLinus Torvalds	help
983c68198eSNeil Horman	  Enable optional MD5 hmac based SCTP cookie generation
993c68198eSNeil Horman	select CRYPTO_HMAC if SCTP_COOKIE_HMAC_MD5
1003c68198eSNeil Horman	select CRYPTO_MD5 if SCTP_COOKIE_HMAC_MD5
1011da177e4SLinus Torvalds
1023c68198eSNeil Hormanconfig SCTP_COOKIE_HMAC_SHA1
1033c68198eSNeil Horman	bool "Enable optional SHA1 hmac cookie generation"
1041da177e4SLinus Torvalds	help
1053c68198eSNeil Horman	  Enable optional SHA1 hmac based SCTP cookie generation
1063c68198eSNeil Horman	select CRYPTO_HMAC if SCTP_COOKIE_HMAC_SHA1
1073c68198eSNeil Horman	select CRYPTO_SHA1 if SCTP_COOKIE_HMAC_SHA1
1081da177e4SLinus Torvalds
10929e32ccdSJan Engelhardt
11029e32ccdSJan Engelhardtendif # IP_SCTP
111