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

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:22subsys/net/Kconfig:80

Menu path: (Top) → 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.)