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