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 subsys/net/ip/Kconfig.ipv4:20

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

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