The latest development version of this page may be more current than this released 2.7.5 version.

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:39subsys/net/Kconfig:89subsys/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.)