Kconfig 2.5 KB

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