Skip to content

Windows

andymalakov edited this page Dec 4, 2014 · 3 revisions

#Windows walkthrough

The following steps describe how to use this tool on Linux. We used Centos 7.0 (x64).

The following steps may require root privileges.

##Step 0: Get a copy

git clone https://github.com/andymalakov/libpcap-latency-meter.git

The following notes assume that you placed them into LATENCY_METER directory.

##Step 1: WINPCAP library

Download and install winpcap. We tested with version 4.1.3.

##Step 2: jNetPcap (Java wrapper for LIBPCAP)

  • Download jNetPcap. We tested with version 1.4.r1425.
  • Copy jnetpcap.dll and jnetpcap-pcap100.dll into LATENCY_METER/bin.
  • Copy jnetpcap.jar into LATENCY_METER/lib.

##Step 3: Verify setup

Let's capture some network traffic. Build script includes 'hello' target that displays network interfaces discovered by WINPCAP and captures first few packets from interface #0.

ant build hello
... TODO...

Network devices found: #0: \Device\NPF_{0093D9BE-190D-4B59-BF8F-D9CE04004DBE} [Marvell Yukon Ethernet Controller.] #1: \Device\NPF_{BC81C4FC-242F-4F1C-9DAD-EA9523CC992D} [Intel(R) PRO/100 VE Network Connection]


#Next steps

   TODO: Reference to main document
   
Clone this wiki locally