This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

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 drivers/ethernet/Kconfig.native_posix:79

Included via Kconfig:8Kconfig.zephyr:40drivers/Kconfig:20drivers/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.)