The latest development version of this page may be more current than this released 2.7.5 version.

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

NET_SOCKETS_SOCKOPT_TLS && MBEDTLS_SSL_ALPN && NET_SOCKETS && NETWORKING

(Includes any dependencies from ifs and menus.)

Default

  • 2

Kconfig definition

At subsys/net/lib/sockets/Kconfig:127

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:39subsys/net/Kconfig:91subsys/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

config NET_SOCKETS_TLS_MAX_APP_PROTOCOLS
    int "Maximum number of supported application layer protocols"
    default 2
    depends on NET_SOCKETS_SOCKOPT_TLS && MBEDTLS_SSL_ALPN && NET_SOCKETS && 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.)