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

GridEncap Element Documentation

NAME

GridEncap -- Click element; Encapsulates packets in static Grid data encapsulation header (GRID_NBR_ENCAP), including ethernet, Grid, and grid data encap headers.

SYNOPSIS

GridEncap(ETH, IP)

Ports: 1 input, 1 output
Processing: agnostic
Package: grid (core)

DESCRIPTION

ETH and IP are this node's ethernet and IP addresses, respectively. Sets the ethernet type to the Grid ethertype; sets the ethernet source address to ETH. Sets the Grid src and tx IP to be IP. Sets all locations to invalid. Does not set checksum. Sets the grid destination IP to the packet's dest_ip annotation.

SEE ALSO

LookupLocalGridRoute, FixSrcLoc, FixDstLoc, SetGridChecksum

Generated by 'click-elem2man' from '../elements/grid/gridencap.hh' on 7/Mar/2009.

COMMENTS

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