xref: /openbmc/linux/net/sctp/Kconfig (revision b7e0fe9f)
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
121da177e4SLinus Torvalds	select CRYPTO_MD5 if SCTP_HMAC_MD5
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
391da177e4SLinus Torvaldsconfig SCTP_DBG_MSG
401da177e4SLinus Torvalds	bool "SCTP: Debug messages"
411da177e4SLinus Torvalds	help
421da177e4SLinus Torvalds	  If you say Y, this will enable verbose debugging messages.
431da177e4SLinus Torvalds
441da177e4SLinus Torvalds	  If unsure, say N.  However, if you are running into problems, use
451da177e4SLinus Torvalds	  this option to gather detailed trace information
461da177e4SLinus Torvalds
471da177e4SLinus Torvaldsconfig SCTP_DBG_OBJCNT
481da177e4SLinus Torvalds	bool "SCTP: Debug object counts"
491da177e4SLinus Torvalds	help
501da177e4SLinus Torvalds	  If you say Y, this will enable debugging support for counting the
511da177e4SLinus Torvalds	  type of objects that are currently allocated.  This is useful for
521da177e4SLinus Torvalds	  identifying memory leaks.   If the /proc filesystem is enabled this
531da177e4SLinus Torvalds	  debug information can be viewed by
541da177e4SLinus Torvalds	  'cat /proc/net/sctp/sctp_dbg_objcnt'
551da177e4SLinus Torvalds
561da177e4SLinus Torvalds	  If unsure, say N
571da177e4SLinus Torvalds
581da177e4SLinus Torvaldschoice
591da177e4SLinus Torvalds	prompt "SCTP: Cookie HMAC Algorithm"
601da177e4SLinus Torvalds	default SCTP_HMAC_MD5
611da177e4SLinus Torvalds	help
621da177e4SLinus Torvalds	  HMAC algorithm to be used during association initialization.  It
631da177e4SLinus Torvalds	  is strongly recommended to use HMAC-SHA1 or HMAC-MD5.  See
641da177e4SLinus Torvalds	  configuration for Cryptographic API and enable those algorithms
651da177e4SLinus Torvalds          to make usable by SCTP.
661da177e4SLinus Torvalds
671da177e4SLinus Torvaldsconfig SCTP_HMAC_NONE
681da177e4SLinus Torvalds	bool "None"
691da177e4SLinus Torvalds	help
701da177e4SLinus Torvalds	  Choosing this disables the use of an HMAC during association
711da177e4SLinus Torvalds	  establishment.  It is advised to use either HMAC-MD5 or HMAC-SHA1.
721da177e4SLinus Torvalds
731da177e4SLinus Torvaldsconfig SCTP_HMAC_SHA1
741da177e4SLinus Torvalds	bool "HMAC-SHA1"
751da177e4SLinus Torvalds	help
761da177e4SLinus Torvalds	  Enable the use of HMAC-SHA1 during association establishment.  It
771da177e4SLinus Torvalds	  is advised to use either HMAC-MD5 or HMAC-SHA1.
781da177e4SLinus Torvalds
791da177e4SLinus Torvaldsconfig SCTP_HMAC_MD5
801da177e4SLinus Torvalds	bool "HMAC-MD5"
811da177e4SLinus Torvalds	help
821da177e4SLinus Torvalds	  Enable the use of HMAC-MD5 during association establishment.  It is
831da177e4SLinus Torvalds	  advised to use either HMAC-MD5 or HMAC-SHA1.
841da177e4SLinus Torvalds
851da177e4SLinus Torvaldsendchoice
8629e32ccdSJan Engelhardt
8729e32ccdSJan Engelhardtendif # IP_SCTP
88