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 ifs and menus.)

Default

  • 6

Kconfig definition

At <Zephyr>/subsys/net/ip/Kconfig:456

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:34<Zephyr>/subsys/net/Kconfig:87

Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → IP stack

config NET_MAX_CONTEXTS
    int "Number of network contexts to allocate"
    default 6
    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.

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