Description: I wrote a few very simple capture process to capture a rough test efficiency (is the packet loss rate) Test1 application packet.dll shows the basic steps to capture Test2 to capture packet.dll by calling Test4 and Test2 are basically the same, but direct Export-driven packet.sys call function, which eliminates the packaging process packet.dll
To Search:
File list (Check if you may need any files):
几个简单的捕获程序
..................\Readme.txt
..................\test1
..................\.....\Debug
..................\.....\.....\Packet32.dll
..................\.....\.....\Packet32.lib
..................\.....\.....\StdAfx.obj
..................\.....\.....\test1.exe
..................\.....\.....\test1.ilk
..................\.....\.....\test1.obj
..................\.....\.....\test1.pch
..................\.....\.....\test1.pdb
..................\.....\.....\vc60.idb
..................\.....\.....\vc60.pdb
..................\.....\Packet32.dll
..................\.....\packet32.h
..................\.....\Packet32.lib
..................\.....\ReadMe.txt
..................\.....\StdAfx.cpp
..................\.....\StdAfx.h
..................\.....\test1.cpp
..................\.....\test1.dsp
..................\.....\test1.dsw
..................\.....\test1.h
..................\.....\test1.ncb
..................\.....\test1.opt
..................\.....\test1.plg
..................\test2
..................\.....\arkopacket.h
..................\.....\Debug
..................\.....\.....\arkopacket.dll
..................\.....\.....\arkopacket.lib
..................\.....\.....\NetSniffer.obj
..................\.....\.....\StdAfx.obj
..................\.....\.....\test2.exe
..................\.....\.....\test2.ilk
..................\.....\.....\test2.obj
..................\.....\.....\test2.pch
..................\.....\.....\test2.pdb
..................\.....\.....\test2.res
..................\.....\.....\test2Dlg.obj
..................\.....\.....\vc60.idb
..................\.....\.....\vc60.pdb
..................\.....\NetSniffer.cpp
..................\.....\NetSniffer.h
..................\.....\ReadMe.txt
..................\.....\res
..................\.....\...\test2.rc2
..................\.....\Resource.h
..................\.....\StdAfx.cpp
..................\.....\StdAfx.h
..................\.....\test2.aps
..................\.....\test2.clw
..................\.....\test2.cpp
..................\.....\test2.dsp
..................\.....\test2.dsw
..................\.....\test2.h
..................\.....\test2.ncb
..................\.....\test2.opt
..................\.....\test2.plg
..................\.....\test2.rc
..................\.....\test2Dlg.cpp
..................\.....\test2Dlg.h
..................\test4
..................\.....\Debug
..................\.....\.....\NetSniffer.obj
..................\.....\.....\StdAfx.obj
..................\.....\.....\test4.ilk
..................\.....\.....\test4.obj
..................\.....\.....\test4.pch
..................\.....\.....\test4.pdb
..................\.....\.....\test4.res
..................\.....\.....\test4Dlg.obj
..................\.....\.....\vc60.idb
..................\.....\.....\vc60.pdb
..................\.....\DEVIOCTL.H
..................\.....\NetSniffer.cpp
..................\.....\NetSniffer.h
..................\.....\NTDDNDIS.H
..................\.....\NTDDPACK.H
..................\.....\PACKOFF.H
..................\.....\PACKON.H
..................\.....\ReadMe.txt
..................\.....\res
..................\.....\...\test4.rc2
..................\.....\Resource.h
..................\.....\StdAfx.cpp
..................\.....\StdAfx.h
..................\.....\test4.aps
..................\.....\test4.clw
..................\.....\test4.cpp
..................\.....\test4.dsp
..................\.....\test4.dsw
..................\.....\test4.h
..................\.....\test4.ncb
..................\.....\test4.opt
..................\.....\test4.plg
..................\.....\test4.rc