| 1 |
# SPDX-License-Identifier: GPL-2.0-only |
| 2 |
# |
| 3 |
# SCTP configuration |
| 4 |
# |
| 5 |
|
| 6 |
menuconfig IP_SCTP |
| 7 |
tristate "The SCTP Protocol" |
| 8 |
depends on INET |
| 9 |
depends on IPV6 || IPV6=n |
| 10 |
select CRYPTO_LIB_SHA1 |
| 11 |
select CRYPTO_LIB_SHA256 |
| 12 |
select CRYPTO_LIB_UTILS |
| 13 |
select NET_CRC32C |
| 14 |
select NET_UDP_TUNNEL |
| 15 |
help |
| 16 |
Stream Control Transmission Protocol |
| 17 |
|
| 18 |
From RFC 2960 <http://www.ietf.org/rfc/rfc2960.txt>. |
| 19 |
|
| 20 |
"SCTP is a reliable transport protocol operating on top of a |
| 21 |
connectionless packet network such as IP. It offers the following |
| 22 |
services to its users: |
| 23 |
|
| 24 |
-- acknowledged error-free non-duplicated transfer of user data, |
| 25 |
-- data fragmentation to conform to discovered path MTU size, |
| 26 |
-- sequenced delivery of user messages within multiple streams, |
| 27 |
with an option for order-of-arrival delivery of individual user |
| 28 |
messages, |
| 29 |
-- optional bundling of multiple user messages into a single SCTP |
| 30 |
packet, and |
| 31 |
-- network-level fault tolerance through supporting of multi- |
| 32 |
homing at either or both ends of an association." |
| 33 |
|
| 34 |
To compile this protocol support as a module, choose M here: the |
| 35 |
module will be called sctp. Debug messages are handled by the |
| 36 |
kernel's dynamic debugging framework. |
| 37 |
|
| 38 |
If in doubt, say N. |
| 39 |
|
| 40 |
if IP_SCTP |
| 41 |
|
| 42 |
config SCTP_DBG_OBJCNT |
| 43 |
bool "SCTP: Debug object counts" |
| 44 |
depends on PROC_FS |
| 45 |
help |
| 46 |
If you say Y, this will enable debugging support for counting the |
| 47 |
type of objects that are currently allocated. This is useful for |
| 48 |
identifying memory leaks. This debug information can be viewed by |
| 49 |
'cat /proc/net/sctp/sctp_dbg_objcnt' |
| 50 |
|
| 51 |
If unsure, say N |
| 52 |
|
| 53 |
choice |
| 54 |
prompt "Default SCTP cookie authentication method" |
| 55 |
default SCTP_DEFAULT_COOKIE_HMAC_SHA256 |
| 56 |
help |
| 57 |
This option sets the default SCTP cookie authentication method, for |
| 58 |
when a method hasn't been explicitly selected via the |
| 59 |
net.sctp.cookie_hmac_alg sysctl. |
| 60 |
|
| 61 |
If unsure, choose the default (HMAC-SHA256). |
| 62 |
|
| 63 |
config SCTP_DEFAULT_COOKIE_HMAC_SHA256 |
| 64 |
bool "HMAC-SHA256" |
| 65 |
|
| 66 |
config SCTP_DEFAULT_COOKIE_HMAC_NONE |
| 67 |
bool "None" |
| 68 |
|
| 69 |
endchoice |
| 70 |
|
| 71 |
config INET_SCTP_DIAG |
| 72 |
depends on INET_DIAG |
| 73 |
def_tristate INET_DIAG |
| 74 |
|
| 75 |
|
| 76 |
endif # IP_SCTP |