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

StoreEtherAddress Element Documentation

NAME

StoreEtherAddress -- Click element; stores Ethernet address in packet

SYNOPSIS

StoreEtherAddress(ADDR, OFFSET)

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

DESCRIPTION

Writes an Ethernet address ADDR into the packet at offset OFFSET. If OFFSET is out of range, the input packet is dropped or emitted on optional output 1. The OFFSET argument may be 'src' or 'dst'. These strings are equivalent to offsets 6 and 0, respectively, which are the offsets into an Ethernet header of the source and destination Ethernet addresses.

ELEMENT HANDLERS

addr (read/write)
Return or set the ADDR argument.

SEE ALSO

EtherEncap

Generated by 'click-elem2man' from '../elements/ethernet/storeetheraddress.hh' on 7/Mar/2009.

COMMENTS

 
elements/storeetheraddress.txt · Last modified: 2009/03/07 17:24 (external edit)
 
Recent changes RSS feed Driven by DokuWiki