
spanagent.cc:  contains code for coordinator election, local broadcast, etc.
gfrt.cc:       geographic forward code
neibtab.hh,cc: neighbor table

the sim directory contains all simulation scenarios for the mobicom
paper and winet paper. also contains many perl scripts for processing
.tr and .out files

also modified cmu/mac-802_11.{cc,hh} to implement 802.11 PSM. the 
following line in mobile_node-span.tcl starts the 802.11 PSM:

  $ns_ at 0.000[$self id] "$mac start"

mobile_node.tcl does not contain this line, and therefore if you
run simulations with this tcl script regular 802.11 will be used.

once you get it to compile (i.e. install tcl, otcl, etc), you
can run simulations using

cmu/span/sim/run-span.pl scen_file

or

cmu/span/sim/run.pl scen_file

outputs (.tr, .out, and .stdout) are dumped to

/tmp/scen_file.{tr,out,stdout}
  
the run-span.pl script runs span, on top of 802.11 (it uses
mobile_node-span.tcl). the run.pl script is w/o span, on top
of regular 802.11 (it uses mobile_node.tcl).

