[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MAC tracing in CMU




Juana,
This is a typo.
Try replacing sendtarget with down-target and recvtarget with up-target.
i.e, in ~ns/tcl/lib/ns-mobilenode.tcl's lines 271/272 & 278/279
replace line
	$mac sendtarget
with
	$mac up-target
and do the same with downtarget.

--Padma.


On Thu, 13 May 1999, Juana Elias Nakfour wrote:

> Hi everyone !!
> 	When running the example wired-cum-wireless-sim.tcl with 
> set MacTrace  ON
> I get the following errors:
> 
> (_o32 cmd line 1)
> invoked from within
> "_o32 cmd sendtarget"
> invoked from within
> "catch "$self cmd $args ret"
> (proceudre _o32 line 2)
> invoked from within
> $mac sendtarget
> procedure _o26 line 59
> Node/MobileNode add-interface line 59......................
> 
> I read the documentation about the mobility support in ns but still didn't
> understand how to trace tcp packets in the CMU mobile nodes. None of the
> examples given in ns do that. 
> thanks in advance !!!!!!
> 
> 
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Juana Nakfour                          | URL: www.cse.msu.edu/~nakfourj             
> Graduate Assistant                     | Address: 201 N. Pennsylvania 
> Computer Science and Engineering Dept. |          Lansing, MI 48912. 
> Michigan State University	       | Phone: (517) 487 9031	
>                          "F1 all the way.............."
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 

------------------------------------------------
Be true to your work, your word, and your friend.
--Thoreau

Padmaparna Haldar
ISI/USC.
310.822.1511 #352