The latest development version of this page may be more current than this released 2.7.5 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 ifs and menus.)

Default

  • 6

Kconfig definition

At subsys/net/ip/Kconfig:519

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:39subsys/net/Kconfig:89

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