:orphan: .. title:: choice: Default Network Interface .. _choice_420: .. describe:: choice: Default Network Interface *Default Network Interface* Type: ``bool`` Help ==== 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 =================== \ :option:`NETWORKING ` *(Includes any dependencies from ifs and menus.)* Default ======= - \ :option:`NET_DEFAULT_IF_FIRST ` Choice options ============== - \ :option:`NET_DEFAULT_IF_FIRST ` - \ :option:`NET_DEFAULT_IF_ETHERNET ` - \ :option:`NET_DEFAULT_IF_BLUETOOTH ` - \ :option:`NET_DEFAULT_IF_IEEE802154 ` - \ :option:`NET_DEFAULT_IF_OFFLOAD ` - \ :option:`NET_DEFAULT_IF_DUMMY ` - \ :option:`NET_DEFAULT_IF_CANBUS ` - \ :option:`NET_DEFAULT_IF_CANBUS_RAW ` - \ :option:`NET_DEFAULT_IF_PPP ` Kconfig definition ================== .. highlight:: kconfig At ``subsys/net/ip/Kconfig:681`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:34`` → ``subsys/Kconfig:37`` → ``subsys/net/Kconfig:87`` Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → IP stack .. parsed-literal:: choice bool "Default Network Interface" default \ :option:`NET_DEFAULT_IF_FIRST ` depends on \ :option:`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.)*