CONFIG_ETH_NATIVE_POSIX_DRV_NAME

Ethernet driver name

Type: string

Help

This option sets the driver name and name of the network interface in your host system. If there are multiple network interfaces defined, then this value is used as a prefix and the interface names will be zeth0, zeth1, etc.

Direct dependencies

ETH_NATIVE_POSIX && NET_L2_ETHERNET

(Includes any dependencies from ifs and menus.)

Default

  • “zeth”

Kconfig definition

At <Zephyr>/drivers/ethernet/Kconfig.native_posix:79

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:32<Zephyr>/drivers/Kconfig:20<Zephyr>/drivers/ethernet/Kconfig:54

Menu path: (Top) → Device Drivers → Ethernet Drivers → Native Posix Ethernet driver

config ETH_NATIVE_POSIX_DRV_NAME
    string "Ethernet driver name"
    default "zeth"
    depends on ETH_NATIVE_POSIX && NET_L2_ETHERNET
    help
      This option sets the driver name and name of the network interface
      in your host system. If there are multiple network interfaces defined,
      then this value is used as a prefix and the interface names will be
      zeth0, zeth1, etc.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)