Kconfig 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. #
  2. # SCTP configuration
  3. #
  4. menuconfig IP_SCTP
  5. tristate "The SCTP Protocol"
  6. depends on INET
  7. depends on IPV6 || IPV6=n
  8. select CRYPTO
  9. select CRYPTO_HMAC
  10. select CRYPTO_SHA1
  11. select LIBCRC32C
  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. Debug messages are handeled by the
  29. kernel's dynamic debugging framework.
  30. If in doubt, say N.
  31. if IP_SCTP
  32. config SCTP_DBG_OBJCNT
  33. bool "SCTP: Debug object counts"
  34. depends on PROC_FS
  35. help
  36. If you say Y, this will enable debugging support for counting the
  37. type of objects that are currently allocated. This is useful for
  38. identifying memory leaks. This debug information can be viewed by
  39. 'cat /proc/net/sctp/sctp_dbg_objcnt'
  40. If unsure, say N
  41. choice
  42. prompt "Default SCTP cookie HMAC encoding"
  43. default SCTP_DEFAULT_COOKIE_HMAC_MD5
  44. help
  45. This option sets the default sctp cookie hmac algorithm
  46. when in doubt select 'md5'
  47. config SCTP_DEFAULT_COOKIE_HMAC_MD5
  48. bool "Enable optional MD5 hmac cookie generation"
  49. help
  50. Enable optional MD5 hmac based SCTP cookie generation
  51. select SCTP_COOKIE_HMAC_MD5
  52. config SCTP_DEFAULT_COOKIE_HMAC_SHA1
  53. bool "Enable optional SHA1 hmac cookie generation"
  54. help
  55. Enable optional SHA1 hmac based SCTP cookie generation
  56. select SCTP_COOKIE_HMAC_SHA1
  57. config SCTP_DEFAULT_COOKIE_HMAC_NONE
  58. bool "Use no hmac alg in SCTP cookie generation"
  59. help
  60. Use no hmac algorithm in SCTP cookie generation
  61. endchoice
  62. config SCTP_COOKIE_HMAC_MD5
  63. bool "Enable optional MD5 hmac cookie generation"
  64. help
  65. Enable optional MD5 hmac based SCTP cookie generation
  66. select CRYPTO_HMAC if SCTP_COOKIE_HMAC_MD5
  67. select CRYPTO_MD5 if SCTP_COOKIE_HMAC_MD5
  68. config SCTP_COOKIE_HMAC_SHA1
  69. bool "Enable optional SHA1 hmac cookie generation"
  70. help
  71. Enable optional SHA1 hmac based SCTP cookie generation
  72. select CRYPTO_HMAC if SCTP_COOKIE_HMAC_SHA1
  73. select CRYPTO_SHA1 if SCTP_COOKIE_HMAC_SHA1
  74. config INET_SCTP_DIAG
  75. depends on INET_DIAG
  76. def_tristate INET_DIAG
  77. endif # IP_SCTP