PAirpcapHandle pcap_get_airpcap_handle (pcap_t *p)返回一个和适配器相关联的AirPcap句柄。这个句柄可以被用来改变和CACE无线技术有关的设置。 bool pcap_offline_filter (struct bpf_program *prog, const structpcap_pkthdr *header, const u_char *pkt_data)当给定的过滤器应用于一个脱机数据包时,返回true...
PAirpcapHandlepcap_get_airpcap_handle (pcap_t *p) Returns the AirPcap handler associated with an adapter. This handler can be used to change the wireless-related settings of the CACE Technologies AirPcap wireless capture adapters. boolpcap_offline_filter (struct bpf_program *prog, const struct ...
p->get_airpcap_handle_op = TcGetAirPcapHandle; #else p->selectable_fd = -1; #endif p->cleanup_op = TcCleanup; return 0; bad: TcCleanup(p); return PCAP_ERROR; } pcap_t * TcCreate(const char *device, char *ebuf, int *is_ours) ...
00667 PAirpcapHandle pcap_get_airpcap_handle(pcap_t *p); 00668 00686 bool pcap_offline_filter(struct bpf_program *prog, const struct pcap_pkthdr *header, const u_char *pkt_data); 00687 00712 int pcap_live_dump(pcap_t *p, char *filename, int maxsize, int maxpacks); 00713 00714 0073...
Remove code related to obsolete HW AirPcap 7个月前 config.guess Autoconf: Update config.{guess,sub}, timestamps 2024-01-01 1年前 config.sub Autoconf: Update config.{guess,sub}, timestamps 2024-01-01 1年前 configure.ac autotools, CMake: fix issues with snprintf test and sanitizers. ...
PAirpcapHandle pcap_get_airpcap_handle (pcap_t *p) 返回一个和适配器相关联的AirPcap句柄。这个句柄可以被用来改变和CACE无线技术有关的设置。 bool pcap_offline_filter (struct bpf_program *prog, const struct pcap_pkthdr *header, const u_char *pkt_data) 当给定的过滤器应用于一个脱机数据包时,返...
// reteieve the airpcap device given the winpcap handle AirPcapDeviceHandle = WinPcap.SafeNativeMethods.pcap_get_airpcap_handle(PcapHandle); } /// /// Open the device. To start capturing call the 'StartCapture' function /// /// /// A <see cref="DeviceMode"/> /// ...
Source File:AirPcapDevice.cs 1 2 3 4 5 6 7 publicoverridevoidOpen(DeviceMode mode,intread_timeout) { base.Open(mode, read_timeout); // reteieve the airpcap device given the winpcap handle AirPcapDeviceHandle = WinPcap.SafeNativeMethods.pcap_get_airpcap_handle(PcapHandle); ...
typedef PAirpcapHandle (*get_airpcap_handle_op_t)(pcap_t *); #endif typedef void (*cleanup_op_t)(pcap_t *); /* * We put all the stuff used in the read code path at the beginning, * to try to keep it together in the same cache line or lines. */ struct pcap { /...
#endif // HAVE_AIRPCAP_API #ifdef HAVE_NPFIM_API if(AdapterObject->Flags == INFO_FLAG_NPFIM_DEVICE) { Result = (BOOLEAN)g_NpfImHandlers.NpfImSetBpfFilter(AdapterObject->NpfImHandle, fp->bf_insns, fp->bf_len * sizeof(struct bpf_insn)); ...