|
void | AirpcapGetVersion (unsigned *VersionMajor, unsigned *VersionMinor, unsigned *VersionRev, unsigned *VersionBuild) |
| Return a string with the API version.
|
|
char * | AirpcapGetLastError (PAirpcapHandle AdapterHandle) |
| Return the last error related to the specified handle.
|
|
bool | AirpcapGetDeviceList (PAirpcapDeviceDescription *PPAllDevs, char *Ebuf) |
| Return the list of available devices.
|
|
void | AirpcapFreeDeviceList (PAirpcapDeviceDescription PAllDevs) |
| Free a list of devices returned by AirpcapGetDeviceList()
|
|
PAirpcapHandle | AirpcapOpen (char *DeviceName, char *Ebuf) |
| Open an adapter.
|
|
void | AirpcapClose (PAirpcapHandle AdapterHandle) |
| Close an adapter.
|
|
bool | AirpcapSetMonitorMode (PAirpcapHandle AdapterHandle, bool MonitorModeEnabled) |
| Sets the monitor mode for the specified adapter.
|
|
bool | AirpcapGetMonitorMode (PAirpcapHandle AdapterHandle, bool *PMonitorModeEnabled) |
| Returns true if the specified adapter is in monitor mode.
|
|
bool | AirpcapSetLinkType (PAirpcapHandle AdapterHandle, AirpcapLinkType NewLinkType) |
| Set the link type of an adapter.
|
|
bool | AirpcapGetLinkType (PAirpcapHandle AdapterHandle, PAirpcapLinkType PLinkType) |
| Get the link type of the specified adapter.
|
|
bool | AirpcapSetFcsPresence (PAirpcapHandle AdapterHandle, bool IsFcsPresent) |
| Configures the adapter on whether to include the MAC Frame Check Sequence in the captured packets.
|
|
bool | AirpcapGetFcsPresence (PAirpcapHandle AdapterHandle, bool *PIsFcsPresent) |
| Returns true if the specified adapter includes the MAC Frame Check Sequence in the captured packets.
|
|
bool | AirpcapSetFcsValidation (PAirpcapHandle AdapterHandle, AirpcapValidationType ValidationType) |
| Configures the adapter to accept or drop frames with an incorrect Frame Check sequence (FCS).
|
|
bool | AirpcapGetFcsValidation (PAirpcapHandle AdapterHandle, PAirpcapValidationType ValidationType) |
| Checks if the specified adapter is configured to capture frames with incorrect an incorrect Frame Check Sequence (FCS).
|
|
bool | AirpcapSetDeviceKeys (PAirpcapHandle AdapterHandle, PAirpcapKeysCollection KeysCollection) |
| Set the list of decryption keys that the driver is going to use with the specified device.
|
|
bool | AirpcapGetDeviceKeys (PAirpcapHandle AdapterHandle, PAirpcapKeysCollection KeysCollection, unsigned *PKeysCollectionSize) |
| Returns the list of decryption keys in the driver that are currently associated with the specified device.
|
|
bool | AirpcapSetDriverKeys (PAirpcapHandle AdapterHandle, PAirpcapKeysCollection KeysCollection) |
| Set the global list of decryption keys that the driver is going to use with all the devices.
|
|
bool | AirpcapGetDriverKeys (PAirpcapHandle AdapterHandle, PAirpcapKeysCollection KeysCollection, unsigned *PKeysCollectionSize) |
| Returns the global list of decryption keys in the driver that are associated with all the devices.
|
|
bool | AirpcapSetDecryptionState (PAirpcapHandle AdapterHandle, AirpcapDecryptionState Enable) |
| Turns on or off the decryption of the incoming frames with the adapter-specific keys.
|
|
bool | AirpcapGetDecryptionState (PAirpcapHandle AdapterHandle, PAirpcapDecryptionState PEnable) |
| Tells if this open instance is configured to perform the decryption of the incoming frames with the adapter-specific keys.
|
|
bool | AirpcapSetDriverDecryptionState (PAirpcapHandle AdapterHandle, AirpcapDecryptionState Enable) |
| Turns on or off the decryption of the incoming frames with the global driver set of keys.
|
|
bool | AirpcapGetDriverDecryptionState (PAirpcapHandle AdapterHandle, PAirpcapDecryptionState PEnable) |
| Tells if this open instance is configured to perform the decryption of the incoming frames with the global driver set of keys.
|
|
bool | AirpcapSetDeviceChannel (PAirpcapHandle AdapterHandle, unsigned Channel) |
| Set the radio channel of a device.
|
|
bool | AirpcapGetDeviceChannel (PAirpcapHandle AdapterHandle, unsigned *PChannel) |
| Get the radio channel of a device.
|
|
bool | AirpcapSetKernelBuffer (PAirpcapHandle AdapterHandle, unsigned BufferSize) |
| Set the size of the kernel packet buffer for this adapter.
|
|
bool | AirpcapGetKernelBufferSize (PAirpcapHandle AdapterHandle, unsigned *PSizeBytes) |
| Get the size of the kernel packet buffer for this adapter.
|
|
bool | AirpcapStoreCurConfigAsAdapterDefault (PAirpcapHandle AdapterHandle) |
| Saves the configuration of the specified adapter in the registry, so that it becomes the default for this adapter.
|
|
bool | AirpcapSetFilter (PAirpcapHandle AdapterHandle, void *Instructions, unsigned Len) |
| Set the BPF kernel filter for an adapter.
|
|
bool | AirpcapGetMacAddress (PAirpcapHandle AdapterHandle, PAirpcapMacAddress PMacAddress) |
| Return the MAC address of an adapter.
|
|
bool | AirpcapSetMinToCopy (PAirpcapHandle AdapterHandle, unsigned MinToCopy) |
| Set the mintocopy parameter for an open adapter.
|
|
bool | AirpcapGetReadEvent (PAirpcapHandle AdapterHandle, void ***PReadEvent) |
| Gets an event that is signaled when that is signalled when packets are available in the kernel buffer (see AirpcapSetMinToCopy()).
|
|
bool | AirpcapRead (PAirpcapHandle AdapterHandle, uint8_t *Buffer, unsigned BufSize, unsigned *PReceievedBytes) |
| Fills a user-provided buffer with zero or more packets that have been captured on the referenced adapter.
|
|
bool | AirpcapWrite (PAirpcapHandle AdapterHandle, char *TxPacket, uint32_t PacketLen) |
| Transmits a packet.
|
|
bool | AirpcapGetStats (PAirpcapHandle AdapterHandle, PAirpcapStats PStats) |
| Get per-adapter WinPcap-compatible capture statistics.
|
|
bool | AirpcapGetLedsNumber (PAirpcapHandle AdapterHandle, unsigned *NumberOfLeds) |
| Get the number of LEDs the referenced adapter has available.
|
|
bool | AirpcapTurnLedOn (PAirpcapHandle AdapterHandle, unsigned LedNumber) |
| Turn on one of the adapter's LEDs.
|
|
bool | AirpcapTurnLedOff (PAirpcapHandle AdapterHandle, unsigned LedNumber) |
| Turn off one of the adapter's LEDs.
|
|
bool | AirpcapSetDeviceChannelEx (PAirpcapHandle AdapterHandle, AirpcapChannelInfo ChannelInfo) |
| Set the channel of a device through its radio frequency. In case of 802.11n enabled devices, it sets the extension channel, if used.
|
|
bool | AirpcapGetDeviceChannelEx (PAirpcapHandle AdapterHandle, PAirpcapChannelInfo PChannelInfo) |
| Get the channel of a device through its radiofrequency. In case of 802.11n enabled devices, it gets the extension channel, if in use.
|
|
bool | AirpcapGetDeviceSupportedChannels (PAirpcapHandle AdapterHandle, PAirpcapChannelInfo *ppChannelInfo, unsigned *pNumChannelInfo) |
| Get the list of supported channels for a given device. In case of a 802.11n capable device, information related to supported extension channels is also reported.
|
|
bool | AirpcapConvertFrequencyToChannel (unsigned Frequency, unsigned *PChannel, PAirpcapChannelBand PBand) |
| Converts a given frequency to the corresponding channel.
|
|
bool | AirpcapConvertChannelToFrequency (unsigned Channel, unsigned *PFrequency) |
| Converts a given channel to the corresponding frequency.
|
|
Copyright (c) 2006-2007 CACE Technologies, Davis (California) All rights reserved.
SPDX-License-Identifier: BSD-3-Clause