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

HostEtherFilter Element Documentation

NAME

HostEtherFilter -- Click element; drops Ethernet packets sent to other machines

SYNOPSIS

HostEtherFilter(ETHER [, DROP_OWN, DROP_OTHER, KEYWORDS])

Ports: 1 input, 1-2 outputs
Processing: agnostic, but output 1 is push
Package: ethernet (core)

DESCRIPTION

Expects Ethernet packets as input. Acts basically like Ethernet input hardware for a device with address ETHER. In particular, HostEtherFilter sets each packet's packet type annotation to HOST, BROADCAST, MULTICAST, or OTHERHOST based on its Ethernet destination address. Emits most packets on the first output. If DROP_OWN is true, drops packets whose source address is ETHER; defaults to false. If DROP_OTHER is true, drops packets sent to hosts other than ETHER (that is, packets with unicast destination addresses not equal to ETHER); defaults to true. If the element has two outputs, filtered packets are emitted on the second output rather than dropped. Keyword arguments are:

DROP_OWN
Same as the DROP_OWN parameter.
DROP_OTHER
Same as the DROP_OTHER parameter.
OFFSET
The ethernet header starts OFFSET bytes into the packet. Default OFFSET is 0.

Generated by 'click-elem2man' from '../elements/ethernet/hostetherfilter.hh' on 24/May/2007.

COMMENTS

 
elements/hostetherfilter.txt · Last modified: 2007/05/24 00:16 (external edit)
 
Recent changes RSS feed Driven by DokuWiki