:orphan: .. title:: choice: Default Network Interface .. _choice_582: .. describe:: choice: Default Network Interface *Default Network Interface* Type: ``bool`` Help ==== .. code-block:: none If system has multiple interfaces enabled, then user shall be able to choose default interface. Otherwise first interface will be the default interface. Direct dependencies =================== \ :kconfig:`NETWORKING ` *(Includes any dependencies from ifs and menus.)* Default ======= - \ :kconfig:`NET_DEFAULT_IF_FIRST ` Choice options ============== - \ :kconfig:`NET_DEFAULT_IF_FIRST ` - \ :kconfig:`NET_DEFAULT_IF_ETHERNET ` - \ :kconfig:`NET_DEFAULT_IF_BLUETOOTH ` - \ :kconfig:`NET_DEFAULT_IF_IEEE802154 ` - \ :kconfig:`NET_DEFAULT_IF_OFFLOAD ` - \ :kconfig:`NET_DEFAULT_IF_DUMMY ` - \ :kconfig:`NET_DEFAULT_IF_CANBUS ` - \ :kconfig:`NET_DEFAULT_IF_CANBUS_RAW ` - \ :kconfig:`NET_DEFAULT_IF_PPP ` Kconfig definition ================== At ``/net/ip/Kconfig:700`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:44`` → ``/Kconfig:39`` → ``/net/Kconfig:87`` Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → IP stack .. code-block:: kconfig choice bool "Default Network Interface" default NET_DEFAULT_IF_FIRST depends on NETWORKING help If system has multiple interfaces enabled, then user shall be able to choose default interface. Otherwise first interface will be the default interface. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*