[ns] the whole ns process in a simple simulation
Liuhai
lhmyn at 163.com
Sun Feb 8 16:45:37 PST 2004
hi all
I am not very clear with the whole process in a simple wireless simulation, we can use a the following simulation as our example:
set val(chan) Channel/WirelessChannel ;# channel type
set val(prop) Propagation/TwoRayGround ;# radio-propagation model
set val(netif) Phy/WirelessPhy ;# network interface type
set val(mac) Mac/802_11 ;# MAC type
set val(ifq) Queue/DropTail/PriQueue ;# interface queue type
set val(ll) LL ;# link layer type
set val(rp) DSR ;# routing protocol
the above is the main parameter of simulation, and agent layer is CBR + UDP. And I want to know the whole process from a packet's creation to reaching the destination.
As my understanding, the cbr packet is created in the file agent.{h,cc} and cbr_traffic.cc, but I dont know how it get to the dsragent.cc, then it flow from dsr to LL, then to IFQ then to Mac, then wirelessPhy, and last to the channel. am i right???
hope you can help, thanks in advance
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ÖÂ
Àñ£¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Liuhai
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡lhmyn at 163.com
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2004-02-09
More information about the Ns-users
mailing list