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 if’s and menus.)

Kconfig definition

At subsys/net/ip/Kconfig.ipv4:23

Included via Kconfig:10Kconfig.zephyr:35subsys/Kconfig:22subsys/net/Kconfig:91subsys/net/ip/Kconfig:34

Menu path: (top menu) → Networking → IP stack → IPv4

config NET_IF_MAX_IPV4_COUNT
    int
    prompt "Max number of IPv4 network interfaces in the system" if NET_IPV4 && !NET_RAW_MODE && NETWORKING
    default NET_VLAN_COUNT if NET_VLAN && NET_IPV4 && !NET_RAW_MODE && NETWORKING
    default 1 if NET_IPV4 && !NET_RAW_MODE && NETWORKING
    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.

(Definitions include propagated dependencies, including from if’s and menus.)