ToHost.u
sends packets to Linux via Universal TUN/TAP device.
SYNOPSIS§
ToHost(DEVNAME)
Ports: 1 input, no outputs
Processing: push
Drivers: userlevel
DESCRIPTION§
Hands packets to the ordinary Linux protocol stack. Expects packets with Ethernet headers.
You should probably give Linux IP packets addressed to the local machine (including broadcasts), and a copy of each ARP reply.
ToHost requires an initialized FromHost with the same DEVNAME.
IPv4 packets should have a destination IP address corresponding to DEVNAME, and a routable source address. Otherwise Linux will silently drop the packets.
ELEMENT HANDLERS§
- drops (read-only) — Reports the number of packets ToHost has dropped because they had a null device annotation.
SEE ALSO§
Generated by click-elem2man from ../elements/userlevel/tohost.hh:10 on 2026/11/02.