1 # SPDX-License-Identifier: GPL-2.0-only 1 # SPDX-License-Identifier: GPL-2.0-only 2 # 2 # 3 # SCTP configuration 3 # SCTP configuration 4 # 4 # 5 5 6 menuconfig IP_SCTP 6 menuconfig IP_SCTP 7 tristate "The SCTP Protocol" 7 tristate "The SCTP Protocol" 8 depends on INET 8 depends on INET 9 depends on IPV6 || IPV6=n 9 depends on IPV6 || IPV6=n 10 select CRYPTO 10 select CRYPTO 11 select CRYPTO_HMAC 11 select CRYPTO_HMAC 12 select CRYPTO_SHA1 12 select CRYPTO_SHA1 13 select LIBCRC32C 13 select LIBCRC32C 14 select NET_UDP_TUNNEL !! 14 ---help--- 15 help << 16 Stream Control Transmission Protocol 15 Stream Control Transmission Protocol 17 16 18 From RFC 2960 <http://www.ietf.org/r 17 From RFC 2960 <http://www.ietf.org/rfc/rfc2960.txt>. 19 18 20 "SCTP is a reliable transport protoc 19 "SCTP is a reliable transport protocol operating on top of a 21 connectionless packet network such a 20 connectionless packet network such as IP. It offers the following 22 services to its users: 21 services to its users: 23 22 24 -- acknowledged error-free non-dupli 23 -- acknowledged error-free non-duplicated transfer of user data, 25 -- data fragmentation to conform to 24 -- data fragmentation to conform to discovered path MTU size, 26 -- sequenced delivery of user messag 25 -- sequenced delivery of user messages within multiple streams, 27 with an option for order-of-arrival 26 with an option for order-of-arrival delivery of individual user 28 messages, 27 messages, 29 -- optional bundling of multiple use 28 -- optional bundling of multiple user messages into a single SCTP 30 packet, and 29 packet, and 31 -- network-level fault tolerance thr 30 -- network-level fault tolerance through supporting of multi- 32 homing at either or both ends of an 31 homing at either or both ends of an association." 33 32 34 To compile this protocol support as 33 To compile this protocol support as a module, choose M here: the 35 module will be called sctp. Debug me 34 module will be called sctp. Debug messages are handled by the 36 kernel's dynamic debugging framework 35 kernel's dynamic debugging framework. 37 36 38 If in doubt, say N. 37 If in doubt, say N. 39 38 40 if IP_SCTP 39 if IP_SCTP 41 40 42 config SCTP_DBG_OBJCNT 41 config SCTP_DBG_OBJCNT 43 bool "SCTP: Debug object counts" 42 bool "SCTP: Debug object counts" 44 depends on PROC_FS 43 depends on PROC_FS 45 help 44 help 46 If you say Y, this will enable debug 45 If you say Y, this will enable debugging support for counting the 47 type of objects that are currently a 46 type of objects that are currently allocated. This is useful for 48 identifying memory leaks. This debug 47 identifying memory leaks. This debug information can be viewed by 49 'cat /proc/net/sctp/sctp_dbg_objcnt' 48 'cat /proc/net/sctp/sctp_dbg_objcnt' 50 49 51 If unsure, say N 50 If unsure, say N 52 choice 51 choice 53 prompt "Default SCTP cookie HMAC encod 52 prompt "Default SCTP cookie HMAC encoding" 54 default SCTP_DEFAULT_COOKIE_HMAC_MD5 53 default SCTP_DEFAULT_COOKIE_HMAC_MD5 55 help 54 help 56 This option sets the default sctp co 55 This option sets the default sctp cookie hmac algorithm 57 when in doubt select 'md5' 56 when in doubt select 'md5' 58 57 59 config SCTP_DEFAULT_COOKIE_HMAC_MD5 58 config SCTP_DEFAULT_COOKIE_HMAC_MD5 60 bool "Enable optional MD5 hmac cookie 59 bool "Enable optional MD5 hmac cookie generation" 61 help 60 help 62 Enable optional MD5 hmac based SCTP 61 Enable optional MD5 hmac based SCTP cookie generation 63 select SCTP_COOKIE_HMAC_MD5 62 select SCTP_COOKIE_HMAC_MD5 64 63 65 config SCTP_DEFAULT_COOKIE_HMAC_SHA1 64 config SCTP_DEFAULT_COOKIE_HMAC_SHA1 66 bool "Enable optional SHA1 hmac cookie 65 bool "Enable optional SHA1 hmac cookie generation" 67 help 66 help 68 Enable optional SHA1 hmac based SCTP 67 Enable optional SHA1 hmac based SCTP cookie generation 69 select SCTP_COOKIE_HMAC_SHA1 68 select SCTP_COOKIE_HMAC_SHA1 70 69 71 config SCTP_DEFAULT_COOKIE_HMAC_NONE 70 config SCTP_DEFAULT_COOKIE_HMAC_NONE 72 bool "Use no hmac alg in SCTP cookie g 71 bool "Use no hmac alg in SCTP cookie generation" 73 help 72 help 74 Use no hmac algorithm in SCTP cookie 73 Use no hmac algorithm in SCTP cookie generation 75 74 76 endchoice 75 endchoice 77 76 78 config SCTP_COOKIE_HMAC_MD5 77 config SCTP_COOKIE_HMAC_MD5 79 bool "Enable optional MD5 hmac cookie 78 bool "Enable optional MD5 hmac cookie generation" 80 help 79 help 81 Enable optional MD5 hmac based SCTP 80 Enable optional MD5 hmac based SCTP cookie generation 82 select CRYPTO_HMAC if SCTP_COOKIE_HMAC 81 select CRYPTO_HMAC if SCTP_COOKIE_HMAC_MD5 83 select CRYPTO_MD5 if SCTP_COOKIE_HMAC_ 82 select CRYPTO_MD5 if SCTP_COOKIE_HMAC_MD5 84 83 85 config SCTP_COOKIE_HMAC_SHA1 84 config SCTP_COOKIE_HMAC_SHA1 86 bool "Enable optional SHA1 hmac cookie 85 bool "Enable optional SHA1 hmac cookie generation" 87 help 86 help 88 Enable optional SHA1 hmac based SCTP 87 Enable optional SHA1 hmac based SCTP cookie generation 89 select CRYPTO_HMAC if SCTP_COOKIE_HMAC 88 select CRYPTO_HMAC if SCTP_COOKIE_HMAC_SHA1 90 select CRYPTO_SHA1 if SCTP_COOKIE_HMAC 89 select CRYPTO_SHA1 if SCTP_COOKIE_HMAC_SHA1 91 90 92 config INET_SCTP_DIAG 91 config INET_SCTP_DIAG 93 depends on INET_DIAG 92 depends on INET_DIAG 94 def_tristate INET_DIAG 93 def_tristate INET_DIAG 95 94 96 95 97 endif # IP_SCTP 96 endif # IP_SCTP
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.