Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

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