meh / rust-tun

TUN device creation and handling.
343 stars 136 forks source link

feat: add L2 devices support #14

Closed jibi closed 4 years ago

jibi commented 4 years ago

This commit adds support for L2 tun devices.

L2 tun devices are supported only on Linux, so trying to create one on OSX will return an UnsupportedLayer error.