資源簡介
Linux下網(wǎng)絡(luò)數(shù)據(jù)包抓取源碼分析和包過濾,請大家下載學(xué)習(xí),用C開發(fā)的

代碼片段和文件信息
/*?airpcap_loader.c
?*
?*?$Id:?airpcap_loader.c?30954?2009-11-13?20:20:40Z?gerald?$
?*
?*?Giorgio?Tino?
?*?Copyright?(c)?CACE?Technologies?LLC?2006
?*
?*?Wireshark?-?Network?traffic?analyzer
?*?By?Gerald?Combs?
?*?Copyright?2000?Gerald?Combs
?*
?*?This?program?is?free?software;?you?can?redistribute?it?and/or
?*?modify?it?under?the?terms?of?the?GNU?General?Public?License
?*?as?published?by?the?Free?Software?Foundation;?either?version?2
?*?of?the?License?or?(at?your?option)?any?later?version.
?*
?*?This?program?is?distributed?in?the?hope?that?it?will?be?useful
?*?but?WITHOUT?ANY?WARRANTY;?without?even?the?implied?warranty?of
?*?MERCHANTABILITY?or?FITNESS?FOR?A?PARTICULAR?PURPOSE.??See?the
?*?GNU?General?Public?License?for?more?details.
?*
?*?You?should?have?received?a?copy?of?the?GNU?General?Public?License
?*?along?with?this?program;?if?not?write?to?the?Free?Software
?*?Foundation?Inc.?59?Temple?Place?-?Suite?330?Boston?MA??02111-1307?USA.
?*/
#ifdef?HAVE_CONFIG_H
#?include?“config.h“
#endif
#ifdef?HAVE_AIRPCAP
#ifdef?HAVE_LIBPCAP
#include?
#include?
#include?
#include?
#endif
#include?
#include?
#include?
#include?
#include?
#include?
#include?
#include?“capture_ui_utils.h“
#include?“simple_dialog.h“
#include?
#include?“airpcap_loader.h“
/*
?*?Set?to?TRUE?if?the?DLL?was?successfully?loaded?AND?all?functions
?*?are?present.
?*/
static?gboolean?AirpcapLoaded?=?FALSE;
#ifdef?_WIN32
/*
?*?We?load?dynamically?the?dag?library?in?order?link?it?only?when
?*?it‘s?present?on?the?system
?*/
static?void?*?AirpcapLib?=?NULL;
static?AirpcapGetLastErrorHandler?g_PAirpcapGetLastError;
static?AirpcapSetKernelBufferHandler?g_PAirpcapSetKernelBuffer;
static?AirpcapSetFilterHandler?g_PAirpcapSetFilter;
static?AirpcapGetMacAddressHandler?g_PAirpcapGetMacAddress;
static?AirpcapSetMinToCopyHandler?g_PAirpcapSetMinToCopy;
static?AirpcapGetReadEventHandler?g_PAirpcapGetReadEvent;
static?AirpcapReadHandler?g_PAirpcapRead;
static?AirpcapGetStatsHandler?g_PAirpcapGetStats;
#endif
static?int?AirpcapVersion?=?3;
static?AirpcapGetDeviceListHandler?g_PAirpcapGetDeviceList;
static?AirpcapFreeDeviceListHandler?g_PAirpcapFreeDeviceList;
static?AirpcapOpenHandler?g_PAirpcapOpen;
static?AirpcapCloseHandler?g_PAirpcapClose;
static?AirpcapGetlinkTypeHandler?g_PAirpcapGetlinkType;
static?AirpcapSetlinkTypeHandler?g_PAirpcapSetlinkType;
static?AirpcapTurnLedOnHandler?g_PAirpcapTurnLedOn;
static?AirpcapTurnLedOffHandler?g_PAirpcapTurnLedOff;
static?AirpcapGetDeviceChannelHandler?g_PAirpcapGetDeviceChannel;
static?AirpcapSetDeviceChannelHandler?g_PAirpcapSetDeviceChannel;
static?AirpcapGetFcsPresenceHandler?g_PAirpcapGetFcsPresence;
static?AirpcapSetFcsPresenceHandler?g_PAirpcapSetFcsPresence;
static?AirpcapGetFcsValidationHandler?g_PAir
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄??????????0??2010-09-25?18:56??wireshark-1[1].2.5
?????目錄??????????0??2010-09-25?19:15??wireshark-1[1].2.5\wireshark-1.2.5
?????文件??????49538??2009-12-18?01:39??wireshark-1[1].2.5\wireshark-1.2.5\acinclude.m4
?????目錄??????????0??2010-09-25?18:56??wireshark-1[1].2.5\wireshark-1.2.5\aclocal-fallback
?????文件???????8178??2009-12-18?01:37??wireshark-1[1].2.5\wireshark-1.2.5\aclocal-fallback\glib-2.0.m4
?????文件???????7530??2009-12-18?01:37??wireshark-1[1].2.5\wireshark-1.2.5\aclocal-fallback\gtk-2.0.m4
?????文件???????4174??2009-12-18?01:37??wireshark-1[1].2.5\wireshark-1.2.5\aclocal-fallback\libgcrypt.m4
?????文件???????3847??2009-12-18?01:37??wireshark-1[1].2.5\wireshark-1.2.5\aclocal-fallback\libsmi.m4
?????文件???????1963??2009-12-18?01:39??wireshark-1[1].2.5\wireshark-1.2.5\aclocal-flags
?????文件?????278642??2009-12-18?01:39??wireshark-1[1].2.5\wireshark-1.2.5\aclocal.m4
?????文件???????1652??2009-12-18?01:39??wireshark-1[1].2.5\wireshark-1.2.5\adns_dll.dep
?????文件???????2753??2009-12-18?01:39??wireshark-1[1].2.5\wireshark-1.2.5\adns_dll.rc
?????文件??????44692??2009-12-18?01:39??wireshark-1[1].2.5\wireshark-1.2.5\airpcap.h
?????文件??????71505??2009-12-18?01:39??wireshark-1[1].2.5\wireshark-1.2.5\airpcap_loader.c
?????文件??????17845??2009-12-18?01:39??wireshark-1[1].2.5\wireshark-1.2.5\airpcap_loader.h
?????文件???????3730??2009-12-18?01:39??wireshark-1[1].2.5\wireshark-1.2.5\alert_box.c
?????文件???????2208??2009-12-18?01:39??wireshark-1[1].2.5\wireshark-1.2.5\alert_box.h
?????目錄??????????0??2010-09-25?19:14??wireshark-1[1].2.5\wireshark-1.2.5\asn1
?????目錄??????????0??2010-09-25?18:56??wireshark-1[1].2.5\wireshark-1.2.5\asn1\acp133
?????文件???????2807??2009-12-18?01:37??wireshark-1[1].2.5\wireshark-1.2.5\asn1\acp133\acp133.asn
?????文件??????11419??2009-12-18?01:37??wireshark-1[1].2.5\wireshark-1.2.5\asn1\acp133\acp133.cnf
?????文件????????951??2009-12-18?01:37??wireshark-1[1].2.5\wireshark-1.2.5\asn1\acp133\Makefile.am
?????文件???????1824??2009-12-18?01:37??wireshark-1[1].2.5\wireshark-1.2.5\asn1\acp133\Makefile.common
?????文件??????17850??2009-12-18?01:39??wireshark-1[1].2.5\wireshark-1.2.5\asn1\acp133\Makefile.in
?????文件???????1043??2009-12-18?01:37??wireshark-1[1].2.5\wireshark-1.2.5\asn1\acp133\Makefile.nmake
?????文件??????15182??2009-12-18?01:37??wireshark-1[1].2.5\wireshark-1.2.5\asn1\acp133\MHSDirectoryob
?????文件???????5638??2009-12-18?01:37??wireshark-1[1].2.5\wireshark-1.2.5\asn1\acp133\packet-acp133-template.c
?????文件???????1137??2009-12-18?01:37??wireshark-1[1].2.5\wireshark-1.2.5\asn1\acp133\packet-acp133-template.h
?????目錄??????????0??2010-09-25?18:56??wireshark-1[1].2.5\wireshark-1.2.5\asn1\acse
?????文件??????17003??2009-12-18?01:37??wireshark-1[1].2.5\wireshark-1.2.5\asn1\acse\acse.asn
............此處省略2331個文件信息
評論
共有 條評論