linux/net/sctp/Kconfig
<<
>>
Prefs
   1#
   2# SCTP configuration
   3#
   4
   5menuconfig IP_SCTP
   6        tristate "The SCTP Protocol"
   7        depends on INET
   8        depends on IPV6 || IPV6=n
   9        select CRYPTO
  10        select CRYPTO_HMAC
  11        select CRYPTO_SHA1
  12        select LIBCRC32C
  13        ---help---
  14          Stream Control Transmission Protocol
  15
  16          From RFC 2960 <http://www.ietf.org/rfc/rfc2960.txt>.
  17
  18          "SCTP is a reliable transport protocol operating on top of a
  19          connectionless packet network such as IP.  It offers the following
  20          services to its users:
  21
  22          -- acknowledged error-free non-duplicated transfer of user data,
  23          -- data fragmentation to conform to discovered path MTU size,
  24          -- sequenced delivery of user messages within multiple streams,
  25          with an option for order-of-arrival delivery of individual user
  26          messages,
  27          -- optional bundling of multiple user messages into a single SCTP
  28          packet, and
  29          -- network-level fault tolerance through supporting of multi-
  30          homing at either or both ends of an association."
  31
  32          To compile this protocol support as a module, choose M here: the
  33          module will be called sctp.
  34
  35          If in doubt, say N.
  36
  37if IP_SCTP
  38
  39config NET_SCTPPROBE
  40        tristate "SCTP: Association probing"
  41        depends on PROC_FS && KPROBES
  42        ---help---
  43        This module allows for capturing the changes to SCTP association
  44        state in response to incoming packets. It is used for debugging
  45        SCTP congestion control algorithms. If you don't understand
  46        what was just said, you don't need it: say N.
  47
  48        To compile this code as a module, choose M here: the
  49        module will be called sctp_probe.
  50
  51config SCTP_DBG_MSG
  52        bool "SCTP: Debug messages"
  53        help
  54          If you say Y, this will enable verbose debugging messages. 
  55
  56          If unsure, say N.  However, if you are running into problems, use 
  57          this option to gather detailed trace information
  58
  59config SCTP_DBG_OBJCNT
  60        bool "SCTP: Debug object counts"
  61        depends on PROC_FS
  62        help
  63          If you say Y, this will enable debugging support for counting the 
  64          type of objects that are currently allocated.  This is useful for 
  65          identifying memory leaks. This debug information can be viewed by
  66          'cat /proc/net/sctp/sctp_dbg_objcnt'
  67
  68          If unsure, say N
  69choice
  70        prompt "Default SCTP cookie HMAC encoding"
  71        default SCTP_DEFAULT_COOKIE_HMAC_MD5
  72        help
  73          This option sets the default sctp cookie hmac algorithm
  74          when in doubt select 'md5'
  75
  76config SCTP_DEFAULT_COOKIE_HMAC_MD5
  77        bool "Enable optional MD5 hmac cookie generation"
  78        help
  79          Enable optional MD5 hmac based SCTP cookie generation
  80        select SCTP_COOKIE_HMAC_MD5
  81
  82config SCTP_DEFAULT_COOKIE_HMAC_SHA1
  83        bool "Enable optional SHA1 hmac cookie generation"
  84        help
  85          Enable optional SHA1 hmac based SCTP cookie generation
  86        select SCTP_COOKIE_HMAC_SHA1
  87
  88config SCTP_DEFAULT_COOKIE_HMAC_NONE
  89        bool "Use no hmac alg in SCTP cookie generation"
  90        help
  91          Use no hmac algorithm in SCTP cookie generation
  92
  93endchoice
  94
  95config SCTP_COOKIE_HMAC_MD5
  96        bool "Enable optional MD5 hmac cookie generation"
  97        help
  98          Enable optional MD5 hmac based SCTP cookie generation
  99        select CRYPTO_HMAC if SCTP_COOKIE_HMAC_MD5
 100        select CRYPTO_MD5 if SCTP_COOKIE_HMAC_MD5
 101
 102config SCTP_COOKIE_HMAC_SHA1
 103        bool "Enable optional SHA1 hmac cookie generation"
 104        help
 105          Enable optional SHA1 hmac based SCTP cookie generation
 106        select CRYPTO_HMAC if SCTP_COOKIE_HMAC_SHA1
 107        select CRYPTO_SHA1 if SCTP_COOKIE_HMAC_SHA1
 108
 109
 110endif # IP_SCTP
 111
lxr.linux.no kindly hosted by Redpill Linpro AS, provider of Linux consulting and operations services since 1995.