Kconfig 3.3 KB

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