12.07.2015 Views

The ns Manual (formerly ns Notes and Documentation)1 - NM Lab at ...

The ns Manual (formerly ns Notes and Documentation)1 - NM Lab at ...

The ns Manual (formerly ns Notes and Documentation)1 - NM Lab at ...

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

- Leave queue: <strong>The</strong> packet left the queue from to .<strong>The</strong> other flags have the following meaning:-t is the time the event occurred.-s is the origin<strong>at</strong>ing node.-d is the destin<strong>at</strong>ion node.-p is the descriptive name of the type of packet seen. See section 26.5 for the different types of packets supportedin <strong>ns</strong>.-e is the size (in bytes) of the packet.-c is the convers<strong>at</strong>ion id or flow-id of th<strong>at</strong> session.-i is the packet id in the convers<strong>at</strong>ion.-a is the packet <strong>at</strong>tribute, which is currently used as color id.-x is taken from <strong>ns</strong>-traces <strong>and</strong> it gives the source <strong>and</strong> destin<strong>at</strong>ion node <strong>and</strong>port addresses, sequence number, flags (if any) <strong>and</strong> the type of message. For example -x {0.1 -2147483648.0-1 ----- SRM_SESS} denotes an SRM message being sent from node 0 (port 1).Additional flags may be added for some protocols.-P gives an ASCII string specifying a comma separ<strong>at</strong>ed list of packet types. Some values are:TCP A tcp d<strong>at</strong>a packet.ACK Generic acknowledgement.NACK Generic neg<strong>at</strong>ive acknowledgement.SRM SRM d<strong>at</strong>a packet.-n gives the packet sequence number.46.1.6 Node MarkingNode marks are colored concentric circles, boxes, or hexago<strong>ns</strong> around nodes. <strong>The</strong>y are cre<strong>at</strong>ed by:m -t -n -s -c -h -o <strong>and</strong> can be deleted by:m -t -n -s -XNote th<strong>at</strong> once cre<strong>at</strong>ed, a node mark cannot change its shape. <strong>The</strong> possible choices for shapes are, circle, box, <strong>and</strong> hexagon.<strong>The</strong>y are defined as lowercase strings exactly as above. A nam trace showing a node mark is:m -t 4 -s 0 -n m1 -c blue -h circleindic<strong>at</strong>ing node 0 is marked with a blue circle <strong>at</strong> time 4.0. <strong>The</strong> name of the mark is m1.399

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!