~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/net/sctp/Kconfig

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: GPL-2.0-only
  2 #
  3 # SCTP configuration
  4 #
  5 
  6 menuconfig IP_SCTP
  7         tristate "The SCTP Protocol"
  8         depends on INET
  9         depends on IPV6 || IPV6=n
 10         select CRYPTO
 11         select CRYPTO_HMAC
 12         select CRYPTO_SHA1
 13         select LIBCRC32C
 14         select NET_UDP_TUNNEL
 15         help
 16           Stream Control Transmission Protocol
 17 
 18           From RFC 2960 <http://www.ietf.org/rfc/rfc2960.txt>.
 19 
 20           "SCTP is a reliable transport protocol operating on top of a
 21           connectionless packet network such as IP.  It offers the following
 22           services to its users:
 23 
 24           -- acknowledged error-free non-duplicated transfer of user data,
 25           -- data fragmentation to conform to discovered path MTU size,
 26           -- sequenced delivery of user messages within multiple streams,
 27           with an option for order-of-arrival delivery of individual user
 28           messages,
 29           -- optional bundling of multiple user messages into a single SCTP
 30           packet, and
 31           -- network-level fault tolerance through supporting of multi-
 32           homing at either or both ends of an association."
 33 
 34           To compile this protocol support as a module, choose M here: the
 35           module will be called sctp. Debug messages are handled by the
 36           kernel's dynamic debugging framework.
 37 
 38           If in doubt, say N.
 39 
 40 if IP_SCTP
 41 
 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 
 51           If unsure, say N
 52 choice
 53         prompt "Default SCTP cookie HMAC encoding"
 54         default SCTP_DEFAULT_COOKIE_HMAC_MD5
 55         help
 56           This option sets the default sctp cookie hmac algorithm
 57           when in doubt select 'md5'
 58 
 59 config SCTP_DEFAULT_COOKIE_HMAC_MD5
 60         bool "Enable optional MD5 hmac cookie generation"
 61         help
 62           Enable optional MD5 hmac based SCTP cookie generation
 63         select SCTP_COOKIE_HMAC_MD5
 64 
 65 config SCTP_DEFAULT_COOKIE_HMAC_SHA1
 66         bool "Enable optional SHA1 hmac cookie generation"
 67         help
 68           Enable optional SHA1 hmac based SCTP cookie generation
 69         select SCTP_COOKIE_HMAC_SHA1
 70 
 71 config SCTP_DEFAULT_COOKIE_HMAC_NONE
 72         bool "Use no hmac alg in SCTP cookie generation"
 73         help
 74           Use no hmac algorithm in SCTP cookie generation
 75 
 76 endchoice
 77 
 78 config SCTP_COOKIE_HMAC_MD5
 79         bool "Enable optional MD5 hmac cookie generation"
 80         help
 81           Enable optional MD5 hmac based SCTP cookie generation
 82         select CRYPTO_HMAC if SCTP_COOKIE_HMAC_MD5
 83         select CRYPTO_MD5 if SCTP_COOKIE_HMAC_MD5
 84 
 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 
 92 config INET_SCTP_DIAG
 93         depends on INET_DIAG
 94         def_tristate INET_DIAG
 95 
 96 
 97 endif # IP_SCTP

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php