Kconfig 2.1 KB

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