Kconfig 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. #
  2. # SCTP configuration
  3. #
  4. menuconfig IP_SCTP
  5. tristate "The SCTP Protocol (EXPERIMENTAL)"
  6. depends on INET && EXPERIMENTAL
  7. depends on IPV6 || IPV6=n
  8. select CRYPTO
  9. select CRYPTO_HMAC
  10. select CRYPTO_SHA1
  11. select CRYPTO_MD5 if SCTP_HMAC_MD5
  12. select LIBCRC32C
  13. ---help---
  14. Stream Control Transmission Protocol
  15. From RFC 2960 <http://www.ietf.org/rfc/rfc2960.txt>.
  16. "SCTP is a reliable transport protocol operating on top of a
  17. connectionless packet network such as IP. It offers the following
  18. services to its users:
  19. -- acknowledged error-free non-duplicated transfer of user data,
  20. -- data fragmentation to conform to discovered path MTU size,
  21. -- sequenced delivery of user messages within multiple streams,
  22. with an option for order-of-arrival delivery of individual user
  23. messages,
  24. -- optional bundling of multiple user messages into a single SCTP
  25. packet, and
  26. -- network-level fault tolerance through supporting of multi-
  27. homing at either or both ends of an association."
  28. To compile this protocol support as a module, choose M here: the
  29. module will be called sctp.
  30. If in doubt, say N.
  31. if IP_SCTP
  32. config SCTP_DBG_MSG
  33. bool "SCTP: Debug messages"
  34. help
  35. If you say Y, this will enable verbose debugging messages.
  36. If unsure, say N. However, if you are running into problems, use
  37. this option to gather detailed trace information
  38. config SCTP_DBG_OBJCNT
  39. bool "SCTP: Debug object counts"
  40. depends on PROC_FS
  41. help
  42. If you say Y, this will enable debugging support for counting the
  43. type of objects that are currently allocated. This is useful for
  44. identifying memory leaks. This debug information can be viewed by
  45. 'cat /proc/net/sctp/sctp_dbg_objcnt'
  46. If unsure, say N
  47. choice
  48. prompt "SCTP: Cookie HMAC Algorithm"
  49. default SCTP_HMAC_MD5
  50. help
  51. HMAC algorithm to be used during association initialization. It
  52. is strongly recommended to use HMAC-SHA1 or HMAC-MD5. See
  53. configuration for Cryptographic API and enable those algorithms
  54. to make usable by SCTP.
  55. config SCTP_HMAC_NONE
  56. bool "None"
  57. help
  58. Choosing this disables the use of an HMAC during association
  59. establishment. It is advised to use either HMAC-MD5 or HMAC-SHA1.
  60. config SCTP_HMAC_SHA1
  61. bool "HMAC-SHA1"
  62. help
  63. Enable the use of HMAC-SHA1 during association establishment. It
  64. is advised to use either HMAC-MD5 or HMAC-SHA1.
  65. config SCTP_HMAC_MD5
  66. bool "HMAC-MD5"
  67. help
  68. Enable the use of HMAC-MD5 during association establishment. It is
  69. advised to use either HMAC-MD5 or HMAC-SHA1.
  70. endchoice
  71. endif # IP_SCTP