[Ns-developers] [ns3] Regression in ns-3-dev
Mathieu Lacage
mathieu.lacage at sophia.inria.fr
Fri Apr 11 11:23:05 PDT 2008
On Fri, 2008-04-11 at 09:52 -0700, Tom Henderson wrote:
> > 1) We could teach the ns-3 pcap code to write bits out in a standard way
> > (Network Byte Order = big endian, perhaps).
> >
> > 2) We can keep big and little endian versions of the trace files around and
> > compare against whichever is right.
>
> 2) seems somewhat cumbersome. Another option would be to have the
> regression script compare the ascii output of "tcpdump -r <trace>"
> command and let tcpdump handle the endianness issues? That would put a
> dependency of having tcpdump in the user's path, though.
>
> 1) seems like a worthwhile direction to pursue
> (src/common/pcap-writer.cc). I'll log a bug on it for now.
I pushed something to do just that in ns-3-dev:
http://code.nsnam.org/ns-3-dev/rev/5a7ae076410e
regression still pass on my x86-64 box and I guess it should just work
on ppc. Someone cares enough to verify that it really works ?
Mathieu
More information about the Ns-developers
mailing list