Kconfig 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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_OBJCNT
  43. bool "SCTP: Debug object counts"
  44. depends on PROC_FS
  45. help
  46. If you say Y, this will enable debugging support for counting the
  47. type of objects that are currently allocated. This is useful for
  48. identifying memory leaks. This debug information can be viewed by
  49. 'cat /proc/net/sctp/sctp_dbg_objcnt'
  50. If unsure, say N
  51. choice
  52. prompt "Default SCTP cookie HMAC encoding"
  53. default SCTP_DEFAULT_COOKIE_HMAC_MD5
  54. help
  55. This option sets the default sctp cookie hmac algorithm
  56. when in doubt select 'md5'
  57. config SCTP_DEFAULT_COOKIE_HMAC_MD5
  58. bool "Enable optional MD5 hmac cookie generation"
  59. help
  60. Enable optional MD5 hmac based SCTP cookie generation
  61. select SCTP_COOKIE_HMAC_MD5
  62. config SCTP_DEFAULT_COOKIE_HMAC_SHA1
  63. bool "Enable optional SHA1 hmac cookie generation"
  64. help
  65. Enable optional SHA1 hmac based SCTP cookie generation
  66. select SCTP_COOKIE_HMAC_SHA1
  67. config SCTP_DEFAULT_COOKIE_HMAC_NONE
  68. bool "Use no hmac alg in SCTP cookie generation"
  69. help
  70. Use no hmac algorithm in SCTP cookie generation
  71. endchoice
  72. config SCTP_COOKIE_HMAC_MD5
  73. bool "Enable optional MD5 hmac cookie generation"
  74. help
  75. Enable optional MD5 hmac based SCTP cookie generation
  76. select CRYPTO_HMAC if SCTP_COOKIE_HMAC_MD5
  77. select CRYPTO_MD5 if SCTP_COOKIE_HMAC_MD5
  78. config SCTP_COOKIE_HMAC_SHA1
  79. bool "Enable optional SHA1 hmac cookie generation"
  80. help
  81. Enable optional SHA1 hmac based SCTP cookie generation
  82. select CRYPTO_HMAC if SCTP_COOKIE_HMAC_SHA1
  83. select CRYPTO_SHA1 if SCTP_COOKIE_HMAC_SHA1
  84. endif # IP_SCTP