You should extract the packets that are received by nodes at the Agent 
level, type the following in the shell

grep -w AGT trace_file_name | grep -w ^r | wc -l

similarly you could do the same with overhead using the proper key words

Ahmed

----- Original Message ----- 
From: "Sasan Sahraei" <[EMAIL PROTECTED]>
To: "Ahmed Al Maashri" <[EMAIL PROTECTED]>
Cc: "hamdi benmessaoud" <[EMAIL PROTECTED]>; "ns_users" 
<ns-users@isi.edu>
Sent: Thursday, March 23, 2006 8:46 AM
Subject: Re: [ns] urgent help routing overhead with dsdv gave me 1


> how can you calculate "total number of delivered packets to destinations".
>
> are you talking about packets delivered successfuly? how do you calculate
> that?
>
> S.
>
>
>>
>> I would say that overhead should be calculated by determining the ration
>> of:
>>
>> Total number of routing packets used to discover and maintain path sent 
>> by
>> all nodes divided by total number of delivered packets to destinations.
>>
>> Ahmed
>>
>> ----- Original Message -----
>> From: "hamdi benmessaoud" <[EMAIL PROTECTED]>
>> To: "ns_users" <ns-users@ISI.EDU>
>> Sent: Tuesday, March 14, 2006 11:09 PM
>> Subject: [ns] urgent help routing overhead with dsdv gave me 1
>>
>>
>>>            Hi all,
>>>  I  try to calculate the overhead routing with the different protocols
>>> :dsdv aodv and dsr
>>>
>>>  i used the formula :
>>>      overhead routing = number of routing control paket /total  number
>>> of packet   emited in the  layer 3
>>>
>>>  with:
>>>    number of routing control packet = lines with "s" + "rtr" + ("dsr" or
>>> "aodv" or "message" )
>>>
>>>  total number of packet emited in the layer 3 = "s" +"rtr"
>>>
>>>  it woks well with dsr and aodv
>>>  but in dsdv it gave me always 1
>>>  The reason is that in dsrv it don't make the difference between the
>>> routing paket and the data packet it represent them with
>>>    "message "
>>>  for me message is also the data because i don't use cbr or tcp i use
>>> the message send recv so my traffic is of type "message "
>>>
>>>  So is there a method in dsdv to differenciate the routing paket of data
>>> packet ??????
>>>
>>>   please help me
>>>
>>>  Amel
>>>
>>>
>>>
>>> ---------------------------------
>>> Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les
>>> tarifs exceptionnels pour appeler la France et
>>> l'international.Téléchargez la version beta.
>>>
>>
>
>
>
> 


Reply via email to