:orphan: .. title:: CONFIG_NET_IF_MAX_IPV4_COUNT .. kconfig:: CONFIG_NET_IF_MAX_IPV4_COUNT CONFIG_NET_IF_MAX_IPV4_COUNT ############################ *Max number of IPv4 network interfaces in the system* Type: ``int`` Help ==== .. code-block:: none This tells how many network interfaces there will be in the system that will have IPv4 enabled. Direct dependencies =================== \ :kconfig:`NET_IPV4 ` && !\ :kconfig:`NET_RAW_MODE ` && \ :kconfig:`NETWORKING ` *(Includes any dependencies from ifs and menus.)* Defaults ======== - \ :kconfig:`NET_VLAN_COUNT ` if \ :kconfig:`NET_VLAN ` - 1 Kconfig definition ================== At ``/net/ip/Kconfig.ipv4:20`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:44`` → ``/Kconfig:39`` → ``/net/Kconfig:83`` → ``/net/ip/Kconfig:117`` Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → IP stack → IPv4 .. code-block:: kconfig 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.)*