Hi all

I would appreciate it if you could help me. I need to import tcpdump 
trace file into ns2.

1. Which ns2 does support the Pcap/File?
set pcap0 [new Network/Pcap/File ]

I found the following doc at http://www.isi.edu/nsnam/ns/ns-emulation.html.


      Pcap/File Network Objects

These objects are similar to the Pcap/BPF objects, except that network 
data is taken from a trace file rather than the live network. As such, 
the notion of promiscuous mode and the naming of a particular interface 
(available to the BPF objects) are not available for the file objects. 
In addition, the ability to create trace files is still under 
development. This facility will provide the ability to create 
tcpdump-compatible trace files.

Cheers,
moses

Reply via email to