CONFIG_NET_CONTEXT_CHECK

Check options when calling various net_context functions

Type: bool

Help

If you know that the options passed to net_context…() functions are ok, then you can disable the checks to save some memory.

Direct dependencies

!NET_RAW_MODE && NETWORKING

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

At subsys/net/ip/Kconfig:421

Included via Kconfig:10Kconfig.zephyr:44subsys/Kconfig:24subsys/net/Kconfig:83

Menu path: (Top) → Networking → Link layer and IP networking support → IP stack

config NET_CONTEXT_CHECK
    bool "Check options when calling various net_context functions"
    default y
    depends on !NET_RAW_MODE && NETWORKING
    help
      If you know that the options passed to net_context...() functions
      are ok, then you can disable the checks to save some memory.

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