[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ns] Doubt in mac802_11
I am starting to implement a new routing protocol for adhoc networks.
The create-wireless-node function in ns~/tcl/lib/ns-lib.tcl has been
modified to call startup( ) function in my program ntp.cc at time 0.0
Please don't be confused by the rest of the functions.
This function tries to flood the network.
The packets go down the ll,mac and physical layer.But while coming up they
are lost in the
mac layer.The mac-protocol used here is mac802_11.
What could be wrong?Does xmit_failure have to do something with this?
I am attaching ntp.h,ntp.cc ( my protocol files), ntptest.tcl ( the test
file for this protocol) and
a changed version of ns-lib.tcl
Thank You
Madhan
Ntptest.tcl
Ntp.cc
Ntp.h
Ns-lib.tcl