-
Notifications
You must be signed in to change notification settings - Fork 82
ToHost.u
Tom Barbette edited this page Oct 3, 2018
·
2 revisions
ToHost.u — Click element; sends packets to Linux via Universal TUN/TAP device.
ToHost(DEVNAME)
Ports: 1 input, no outputs
Processing: push
Drivers: userlevel
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.
- drops (read-only) — Reports the number of packets ToHost has dropped because they had a null device annotation.
Generated by click-elem2man from ../elements/userlevel/tohost.hh:10
on 2018/10/03.