Module tap

Module tap 

Source

Structs§

RawTap
Raw TAP interface.
Tap
TAP interface. There is no need to split the IpSocket into a reader and a writer, because it does not need to borrow self mutably to call recv_from and send_to. Just wrap it in Arc and clone it.

Constants§

TUNDEV
TUNSETIFF
TUNSETPERSIST

Functions§

tap_add_ioctl
Add a TAP interface with the given name.
tap_del_ioctl
Delete a TAP interface with the given name.