The latest development version of this page may be more current than this released 2.7.5 version.

CONFIG_ETH_NATIVE_POSIX_DEV_NAME

Host ethernet TUN/TAP device name

Type: string

Help

This option sets the TUN/TAP device name in your host system.

Direct dependencies

ETH_NATIVE_POSIX && NET_L2_ETHERNET

(Includes any dependencies from ifs and menus.)

Default

  • “/dev/net/tun”

Kconfig definition

At drivers/ethernet/Kconfig.native_posix:88

Included via Kconfig:8Kconfig.zephyr:42drivers/Kconfig:20drivers/ethernet/Kconfig:54

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

config ETH_NATIVE_POSIX_DEV_NAME
    string "Host ethernet TUN/TAP device name"
    default "/dev/net/tun"
    depends on ETH_NATIVE_POSIX && NET_L2_ETHERNET
    help
      This option sets the TUN/TAP device name in your host system.

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