This is automatically generated documentation. Edit after the "COMMENTS" heading; changes to the main body will be lost.

ToHost.u Element Documentation

NAME

ToHost.u -- Click element; sends packets to Linux via Universal TUN/TAP device.

SYNOPSIS

ToHost(DEVNAME)

Ports: 1 input, no outputs
Processing: push
Drivers: userlevel
Package: userlevel (core)

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

FromHost.u, FromHost

Generated by 'click-elem2man' from '../elements/userlevel/tohost.hh' on 28/Feb/2010.

COMMENTS

 
elements/tohost.u.txt · Last modified: 2010/02/28 13:58 (external edit)
 
Recent changes RSS feed Driven by DokuWiki