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

ToSimTrace Element Documentation

NAME

ToSimTrace -- Click element; adds trace entries to an ns2 trace file

SYNOPSIS

ToSimTrace()

Ports: One input, one output
Processing: push
Drivers: ns
Package: ns (core)

DESCRIPTION

This element allows you to add trace entries to an ns2 trace file. The event id is used to set "r" (receive), "f" (forward), "D" (drop), "s" (send) or any other id. The timestamp is set to the current time. The packet length that is traced is obtained from packet->length(). Additional info is added behind the entry. This is not ns2 default behaviour, but since the packets are traced as raw at the ns2 level, ToSimTrace traces the packets as raw as well, but to distinguish you can add the packet type in additional info or use a SimPacketAnalyzer).

SEE ALSO

SimPacketAnalyzer

Generated by 'click-elem2man' from '../elements/ns/tosimtrace.hh' on 2/Mar/2006.

COMMENTS

 
elements/tosimtrace.txt · Last modified: 2006/03/02 23:07 (external edit)
 
Recent changes RSS feed Driven by DokuWiki