CONFIG_NET_IF_MAX_IPV4_COUNT

Max number of IPv4 network interfaces in the system

Type: int

Help

This tells how many network interfaces there will be in the system
that will have IPv4 enabled.

Direct dependencies

NET_IPV4 && !NET_RAW_MODE && NETWORKING

(Includes any dependencies from ifs and menus.)

Defaults

Kconfig definition

At <Zephyr>/subsys/net/ip/Kconfig.ipv4:20

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:44<Zephyr>/subsys/Kconfig:39<Zephyr>/subsys/net/Kconfig:83<Zephyr>/subsys/net/ip/Kconfig:117

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

config NET_IF_MAX_IPV4_COUNT
    int "Max number of IPv4 network interfaces in the system"
    default NET_VLAN_COUNT if NET_VLAN
    default 1
    depends on NET_IPV4 && !NET_RAW_MODE && NETWORKING
    help
      This tells how many network interfaces there will be in the system
      that will have IPv4 enabled.

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