1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 21da177e4SLinus Torvalds# 31da177e4SLinus Torvalds# SCTP configuration 41da177e4SLinus Torvalds# 51da177e4SLinus Torvalds 629e32ccdSJan Engelhardtmenuconfig IP_SCTP 73bdb1a44SKees Cook tristate "The SCTP Protocol" 83bdb1a44SKees Cook depends on INET 91da177e4SLinus Torvalds depends on IPV6 || IPV6=n 10bf40785fSEric Biggers select CRYPTO_LIB_SHA1 11bf40785fSEric Biggers select CRYPTO_LIB_SHA256 12bf40785fSEric Biggers select CRYPTO_LIB_UTILS 1355d22ee0SEric Biggers select NET_CRC32C 14965ae444SXin Long select NET_UDP_TUNNEL 15a7f7f624SMasahiro Yamada help 161da177e4SLinus Torvalds Stream Control Transmission Protocol 171da177e4SLinus Torvalds 181da177e4SLinus Torvalds From RFC 2960 <http://www.ietf.org/rfc/rfc2960.txt>. 191da177e4SLinus Torvalds 201da177e4SLinus Torvalds "SCTP is a reliable transport protocol operating on top of a 211da177e4SLinus Torvalds connectionless packet network such as IP. It offers the following 221da177e4SLinus Torvalds services to its users: 231da177e4SLinus Torvalds 241da177e4SLinus Torvalds -- acknowledged error-free non-duplicated transfer of user data, 251da177e4SLinus Torvalds -- data fragmentation to conform to discovered path MTU size, 261da177e4SLinus Torvalds -- sequenced delivery of user messages within multiple streams, 271da177e4SLinus Torvalds with an option for order-of-arrival delivery of individual user 281da177e4SLinus Torvalds messages, 291da177e4SLinus Torvalds -- optional bundling of multiple user messages into a single SCTP 301da177e4SLinus Torvalds packet, and 311da177e4SLinus Torvalds -- network-level fault tolerance through supporting of multi- 321da177e4SLinus Torvalds homing at either or both ends of an association." 331da177e4SLinus Torvalds 341da177e4SLinus Torvalds To compile this protocol support as a module, choose M here: the 359a233d32SChris Packham module will be called sctp. Debug messages are handled by the 36bb33381dSDaniel Borkmann kernel's dynamic debugging framework. 371da177e4SLinus Torvalds 381da177e4SLinus Torvalds If in doubt, say N. 391da177e4SLinus Torvalds 4029e32ccdSJan Engelhardtif IP_SCTP 4129e32ccdSJan Engelhardt 421da177e4SLinus Torvaldsconfig SCTP_DBG_OBJCNT 431da177e4SLinus Torvalds bool "SCTP: Debug object counts" 44c4e85f82SFlorian Westphal depends on PROC_FS 451da177e4SLinus Torvalds help 461da177e4SLinus Torvalds If you say Y, this will enable debugging support for counting the 471da177e4SLinus Torvalds type of objects that are currently allocated. This is useful for 48c4e85f82SFlorian Westphal identifying memory leaks. This debug information can be viewed by 491da177e4SLinus Torvalds 'cat /proc/net/sctp/sctp_dbg_objcnt' 501da177e4SLinus Torvalds 511da177e4SLinus Torvalds If unsure, say N 52*2f3dd6ecSEric Biggers 530d0863b0SNeil Hormanchoice 54*2f3dd6ecSEric Biggers prompt "Default SCTP cookie authentication method" 55*2f3dd6ecSEric Biggers default SCTP_DEFAULT_COOKIE_HMAC_SHA256 560d0863b0SNeil Horman help 57*2f3dd6ecSEric Biggers This option sets the default SCTP cookie authentication method, for 58*2f3dd6ecSEric Biggers when a method hasn't been explicitly selected via the 59*2f3dd6ecSEric Biggers net.sctp.cookie_hmac_alg sysctl. 600d0863b0SNeil Horman 61*2f3dd6ecSEric Biggers If unsure, choose the default (HMAC-SHA256). 620d0863b0SNeil Horman 63*2f3dd6ecSEric Biggersconfig SCTP_DEFAULT_COOKIE_HMAC_SHA256 64*2f3dd6ecSEric Biggers bool "HMAC-SHA256" 650d0863b0SNeil Horman 660d0863b0SNeil Hormanconfig SCTP_DEFAULT_COOKIE_HMAC_NONE 67*2f3dd6ecSEric Biggers bool "None" 680d0863b0SNeil Horman 690d0863b0SNeil Hormanendchoice 701da177e4SLinus Torvalds 718f840e47SXin Longconfig INET_SCTP_DIAG 728f840e47SXin Long depends on INET_DIAG 738f840e47SXin Long def_tristate INET_DIAG 748f840e47SXin Long 7529e32ccdSJan Engelhardt 7629e32ccdSJan Engelhardtendif # IP_SCTP 77