[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] Strangeness when using remove-all-packet-headers
Hi Brian!
I am running wireless simulations so I don't know if this
is of any help to you...
I've successfully removed all packetheaders, but I had
to add not only IP and AODV (my routingproto), but also
"LL Mac ARP RTP" because the simulations crashed otherwise
because these fields were accessed e.g. in the cmutrace-class.
Maybe this solves your problems...
Bye
Felix
Brian Lee Bowers wrote:
> I thought I would try out remove-all-packet-headers. I used the
> command sequence shown on page 109 (section 12.1.2) of the ns Manual
> remove-all-packet-headers
> add-packet-header IP TCP
>
> I ran the simulation. Running time and packet counts dropped
> dramatically (packet count went from 3222 unique packet IDs to 31
> unique packet IDs). Additionally, 6 of the 7 TCP header flags were
> set in every packet when only IP and TCP were enabled - for
> comparison, 0 of 7 flags were set when I left all headers enabled.
> The trace file has the following in the flags field:
> CP-AEFN
>
> Of the 288 lines in the trace file, all 288 have CP-AEFN.
>
> Am I missing something simple, or is it just a BAD idea to remove the
> excess headers?
>
> --
> Brian Lee Bowers | RADIANT Team
> bowersb@lanl.gov | Los Alamos National Laboratory