Kconfig 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  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 NET_SCTPPROBE
  33. tristate "SCTP: Association probing"
  34. depends on PROC_FS && KPROBES
  35. ---help---
  36. This module allows for capturing the changes to SCTP association
  37. state in response to incoming packets. It is used for debugging
  38. SCTP congestion control algorithms. If you don't understand
  39. what was just said, you don't need it: say N.
  40. To compile this code as a module, choose M here: the
  41. module will be called sctp_probe.
  42. config SCTP_DBG_TSNS
  43. bool "SCTP: Debug transactions"
  44. help
  45. If you say Y, this will enable transaction debugging, visible
  46. from the kernel's dynamic debugging framework.
  47. If unsure, say N. However, if you are running into problems, use
  48. this option to gather outqueue trace information.
  49. config SCTP_DBG_OBJCNT
  50. bool "SCTP: Debug object counts"
  51. depends on PROC_FS
  52. help
  53. If you say Y, this will enable debugging support for counting the
  54. type of objects that are currently allocated. This is useful for
  55. identifying memory leaks. This debug information can be viewed by
  56. 'cat /proc/net/sctp/sctp_dbg_objcnt'
  57. If unsure, say N
  58. choice
  59. prompt "Default SCTP cookie HMAC encoding"
  60. default SCTP_DEFAULT_COOKIE_HMAC_MD5
  61. help
  62. This option sets the default sctp cookie hmac algorithm
  63. when in doubt select 'md5'
  64. config SCTP_DEFAULT_COOKIE_HMAC_MD5
  65. bool "Enable optional MD5 hmac cookie generation"
  66. help
  67. Enable optional MD5 hmac based SCTP cookie generation
  68. select SCTP_COOKIE_HMAC_MD5
  69. config SCTP_DEFAULT_COOKIE_HMAC_SHA1
  70. bool "Enable optional SHA1 hmac cookie generation"
  71. help
  72. Enable optional SHA1 hmac based SCTP cookie generation
  73. select SCTP_COOKIE_HMAC_SHA1
  74. config SCTP_DEFAULT_COOKIE_HMAC_NONE
  75. bool "Use no hmac alg in SCTP cookie generation"
  76. help
  77. Use no hmac algorithm in SCTP cookie generation
  78. endchoice
  79. config SCTP_COOKIE_HMAC_MD5
  80. bool "Enable optional MD5 hmac cookie generation"
  81. help
  82. Enable optional MD5 hmac based SCTP cookie generation
  83. select CRYPTO_HMAC if SCTP_COOKIE_HMAC_MD5
  84. select CRYPTO_MD5 if SCTP_COOKIE_HMAC_MD5
  85. config SCTP_COOKIE_HMAC_SHA1
  86. bool "Enable optional SHA1 hmac cookie generation"
  87. help
  88. Enable optional SHA1 hmac based SCTP cookie generation
  89. select CRYPTO_HMAC if SCTP_COOKIE_HMAC_SHA1
  90. select CRYPTO_SHA1 if SCTP_COOKIE_HMAC_SHA1
  91. endif # IP_SCTP