Al Salamo Alikom,
Here is the AWK calculation of total_RTRpackets_sent, the control packets
sent by the RTR
> #defining the variables to be used to store every field in the trace line
>>
>> event = $1;
>
> layer = $4;
>
> if(event != "N") {
>
>
> if (layer == "RTR")
>
> {
>
> if(event == "s" || event == "f")
>
> {
>
> total_RTRpackets_sent++;
> }
> }
>
> }
>
>
On Thu, Sep 8, 2011 at 1:02 PM, jeni martin <[email protected]> wrote:
>
>
>
>
>
>
>
> Dear all,
> I wanted to count control packets in the trace file by using awk file, but
> I don't know which packets are control packet as the most type of packets
> are cbr from routing layer (RTR).can anyone tell me which kinds of packet
> are control packet in trace file?
> Regards,
>