CONFIG_NET_SOCKETS_TLS_MAX_CONTEXTS

Maximum number of TLS/DTLS contexts

Type: int

Help

"This variable specifies maximum number of TLS/DTLS contexts that can
 be allocated at the same time."

Direct dependencies

NET_SOCKETS_SOCKOPT_TLS && NET_SOCKETS && NETWORKING

(Includes any dependencies from ifs and menus.)

Default

  • 1

Kconfig definition

At <Zephyr>/subsys/net/lib/sockets/Kconfig:120

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

config NET_SOCKETS_TLS_MAX_CONTEXTS
    int "Maximum number of TLS/DTLS contexts"
    default 1
    depends on NET_SOCKETS_SOCKOPT_TLS && NET_SOCKETS && NETWORKING
    help
      "This variable specifies maximum number of TLS/DTLS contexts that can
       be allocated at the same time."

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)