CONFIG_NET_CONFIG_MY_IPV4_NETMASK

My IPv4 netmask

Type: string

Help

Static netmask to use if not overridden by DHCP. Use empty value to skip setting static value.

Direct dependencies

NET_IPV4 && NET_CONFIG_SETTINGS && NETWORKING

(Includes any dependencies from ifs and menus.)

Default

  • “255.255.255.0”

Kconfig definition

At <Zephyr>/subsys/net/lib/config/Kconfig:97

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:34<Zephyr>/subsys/net/Kconfig:89<Zephyr>/subsys/net/lib/Kconfig:28

Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → Network Libraries → Set network settings for applications

config NET_CONFIG_MY_IPV4_NETMASK
    string "My IPv4 netmask"
    default "255.255.255.0"
    depends on NET_IPV4 && NET_CONFIG_SETTINGS && NETWORKING
    help
      Static netmask to use if not overridden by DHCP. Use empty value to
      skip setting static value.

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