1# 2# SCTP configuration 3# 4mainmenu_option next_comment 5comment ' SCTP Configuration (EXPERIMENTAL)' 6 7tristate ' The SCTP Protocol (EXPERIMENTAL)' CONFIG_IP_SCTP 8 9if [ "$CONFIG_IP_SCTP" = "y" -a "$CONFIG_IPV6" = "m" ]; then 10 define_tristate CONFIG_IP_SCTP m 11fi 12 13if [ "$CONFIG_IP_SCTP" != "n" ]; then 14 bool ' SCTP: Debug messages' CONFIG_SCTP_DBG_MSG 15 bool ' SCTP: Debug object counts' CONFIG_SCTP_DBG_OBJCNT 16 if [ "$CONFIG_CRYPTO_HMAC" = "n" ]; then 17 choice ' SCTP: Cookie HMAC Algorithm' \ 18 "HMAC-NONE CONFIG_SCTP_HMAC_NONE" HMAC-NONE 19 else 20 if [ "$CONFIG_CRYPTO_MD5" = "n" -a "$CONFIG_CRYPTO_SHA1" = "n" ]; then 21 choice ' SCTP: Cookie HMAC Algorithm' \ 22 "HMAC-NONE CONFIG_SCTP_HMAC_NONE" HMAC-NONE 23 else 24 if [ "$CONFIG_CRYPTO_MD5" != "n" -a "$CONFIG_CRYPTO_SHA1" != "n" ]; then 25 choice ' SCTP: Cookie HMAC Algorithm' \ 26 "HMAC-NONE CONFIG_SCTP_HMAC_NONE \ 27 HMAC-SHA1 CONFIG_SCTP_HMAC_SHA1 \ 28 HMAC-MD5 CONFIG_SCTP_HMAC_MD5" HMAC-MD5 29 else 30 if [ "$CONFIG_CRYPTO_MD5" != "n" ]; then 31 choice 'SCTP: Cookie HMAC Algorithm' \ 32 "HMAC-NONE CONFIG_SCTP_HMAC_NONE \ 33 HMAC-MD5 CONFIG_SCTP_HMAC_MD5" HMAC-MD5 34 else 35 choice 'SCTP: Cookie HMAC Algorithm' \ 36 "HMAC-NONE CONFIG_SCTP_HMAC_NONE \ 37 HMAC-SHA1 CONFIG_SCTP_HMAC_SHA1" HMAC-SHA1 38 fi 39 fi 40 fi 41 fi 42fi 43endmenu 44