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

SR2SetSourceRoute Element Documentation

NAME

SR2SetSourceRoute -- Click element;

SYNOPSIS

SR2SetSourceRoute(IP, SRForwarder element)

Ports: 1 input, 1-2 outputs
Processing: agnostic
Package: roofnet

DESCRIPTION

Set the Source Route for packet's destination inside the source route header based on the destination ip annotation. If no source route is found for a given packet, the unmodified packet is sent to output 1 if the output is present. Regular Arguments:

IP
IPAddress
SRForwarder Element

ELEMENT HANDLERS

clear (write)
Removes all routes from this element
routes (read)
Prints routes
set_route (write)
Writing "5.0.0.1 5.0.0.2 5.0.0.3" to this element will make all packets destined for 5.0.0.3 from 5.0.0.1 to use a two-hop route through 5.0.0.2.

SEE ALSO

SRForwarder

Generated by 'click-elem2man' from 'sr2/sr2setsourceroute.hh:14' on 17/Jan/2012.

COMMENTS

 
elements/sr2setsourceroute.txt · Last modified: 2012/01/17 10:23 (external edit)
 
Recent changes RSS feed Driven by DokuWiki