:orphan: .. title:: NET_SOCKETS_TLS_MAX_APP_PROTOCOLS .. option:: CONFIG_NET_SOCKETS_TLS_MAX_APP_PROTOCOLS *Maximum number of supported application layer protocols* Type: ``int`` Help ==== This variable sets maximum number of supported application layer protocols over TLS/DTL that can be set explicitly by a socket option. By default, no supported application layer protocol is set. Direct dependencies =================== \ :option:`NET_SOCKETS_SOCKOPT_TLS ` && \ :option:`MBEDTLS_SSL_ALPN ` && \ :option:`NET_SOCKETS ` && \ :option:`NETWORKING ` *(Includes any dependencies from ifs and menus.)* Default ======= - 2 Kconfig definition ================== .. highlight:: kconfig At ``subsys/net/lib/sockets/Kconfig:119`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:34`` → ``subsys/Kconfig:37`` → ``subsys/net/Kconfig:89`` → ``subsys/net/lib/Kconfig:30`` Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → Network Libraries → BSD Sockets compatible API .. parsed-literal:: config NET_SOCKETS_TLS_MAX_APP_PROTOCOLS int "Maximum number of supported application layer protocols" default 2 depends on \ :option:`NET_SOCKETS_SOCKOPT_TLS ` && \ :option:`MBEDTLS_SSL_ALPN ` && \ :option:`NET_SOCKETS ` && \ :option:`NETWORKING ` help This variable sets maximum number of supported application layer protocols over TLS/DTL that can be set explicitly by a socket option. By default, no supported application layer protocol is set. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*