#include <wwd_structures.h>
Data Fields | |
| wiced_bool_t | enabled_status |
| uint32_t | id |
| uint8_t * | mask |
| uint16_t | mask_size |
| uint16_t | offset |
| uint8_t * | pattern |
| wiced_packet_filter_rule_t | rule |
Structure describing a packet filter list item
| wiced_bool_t wiced_packet_filter_t::enabled_status |
When returned from wwd_wifi_get_packet_filters, indicates if the filter is enabled
| uint32_t wiced_packet_filter_t::id |
Unique identifier for a packet filter item
| uint8_t* wiced_packet_filter_t::mask |
Pattern mask bytes to be ANDed with the pattern eg. "\xff00" (must be in network byte order)
| uint16_t wiced_packet_filter_t::mask_size |
Size of the mask in bytes
| uint16_t wiced_packet_filter_t::offset |
Offset in bytes to start filtering (referenced to the start of the ethernet packet)
| uint8_t* wiced_packet_filter_t::pattern |
Pattern bytes used to filter eg. "\x0800" (must be in network byte order)
| wiced_packet_filter_rule_t wiced_packet_filter_t::rule |
Filter matches are either POSITIVE or NEGATIVE matching