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

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_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.)