[ns] the whole ns process in a simple simulation
Liuhai
lhmyn at 163.com
Mon Feb 9 16:57:14 PST 2004
hi,Joshua Robinson£¡
Thanks a lot, what surprises me is between cbr to dsr, I am a little more clear about the lower layer. So you mentioned classifier, could you explain it in details???
======= 2004-02-09 04:01:00 ÄúÔÚÀ´ÐÅÖÐдµÀ£º=======
>Sounds like you have a pretty good idea of what's going on. Don't forget
>udp.cc where part of the packet creation occurs. Although I don't know
>exactly how this works, I can tell you that node has a classifier
>associated with it - and this is what takes the packet from the agent and
>delivers it to the routing protocol. If you have any further questions
>about what happens between the LL and the channel, I can help you out -
>that's where I've been playing around :)
>
>hope this helps,
>Joshua
>
>On Mon, 9 Feb 2004, Liuhai wrote:
>
>>
>> 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
>>
>>
>>
>>
>>
>
>.
= = = = = = = = = = = = = = = = = = = =
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ÖÂ
Àñ£¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Liuhai
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡lhmyn at 163.com
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2004-02-10
More information about the Ns-users
mailing list