|
Profishark API
2.3.19.0
|
Packet filter configuration. More...
#include <ProfisharkAPI.h>
Data Fields | |
| ProfisharkAPIState | FilterEnabled |
| uint32_t | flags |
| uint16_t | mode |
| uint8_t | DestinationMAC [6] |
| uint8_t | SourceMAC [6] |
| uint8_t | DestinationIP [16] |
| uint8_t | SourceIP [16] |
| uint16_t | DestinationPort |
| uint16_t | SourcePort |
| unsigned int | DestinationMACMask:6 |
| unsigned int | SourceMACMask:6 |
| unsigned int | DestinationIPMask:16 |
| unsigned int | SourceIPMask:16 |
| unsigned int | DestinationPortMask:2 |
| unsigned int | SourcePortMask:2 |
Packet filter configuration.
| uint8_t DestinationIP[16] |
Destination IP, DestinationIP[0] is LSB. If IPv4, use only bytes 0..3.
| unsigned int DestinationIPMask |
Mask for destination IP. Each bit correspond to a byte of DestinationIP
| uint8_t DestinationMAC[6] |
Destination MAC, DestinationMAC[0] is LSB.
| unsigned int DestinationMACMask |
Mask for destination MAC. Each bit correspond to a byte of DestinationMAC
| uint16_t DestinationPort |
Destination Port
| unsigned int DestinationPortMask |
Mask for destination Port. Each bit correspond to a byte of DestinationPort
| ProfisharkAPIState FilterEnabled |
Enable or disable the filter
| uint32_t flags |
bit field containing ProfisharkApiPacketFilterFlags values
| uint16_t mode |
bit field containing ProfisharkApiPacketFilterMode values
| uint8_t SourceIP[16] |
Source IP, SourceIP[0] is LSB. If IPv4, use only bytes 0..3.
| unsigned int SourceIPMask |
Mask for Source IP . Each bit correspond to a byte of SourceIP
| uint8_t SourceMAC[6] |
Source MAC, SourceMAC[0] is LSB.
| unsigned int SourceMACMask |
Mask for Source MAC . Each bit correspond to a byte of SourceMAC
| uint16_t SourcePort |
Source Port
| unsigned int SourcePortMask |
Mask for Source Port . Each bit correspond to a byte of SourcePort