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

Number of network contexts to allocate

Type: int

Help

Each network context is used to describe a network 5-tuple that is used when listening or sending network traffic. This is very similar as one could call a network socket in some other systems.

Direct dependencies

!NET_RAW_MODE && NETWORKING

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definition

At subsys/net/ip/Kconfig:340

Included via Kconfig:10Kconfig.zephyr:39subsys/Kconfig:24subsys/net/Kconfig:82

Menu path: (top menu) → Networking → IP stack

config NET_MAX_CONTEXTS
    int
    prompt "Number of network contexts to allocate" if !NET_RAW_MODE && NETWORKING
    default 6 if !NET_RAW_MODE && NETWORKING
    depends on !NET_RAW_MODE && NETWORKING
    help
      Each network context is used to describe a network 5-tuple that
      is used when listening or sending network traffic. This is very
      similar as one could call a network socket in some other systems.

(Definitions include propagated dependencies, including from if’s and menus.)