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:292

Included via Kconfig:10Kconfig.zephyr:35subsys/Kconfig:22subsys/net/Kconfig:91

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.)