Infineon Logo Wi-Fi Host Driver (WHD) Public API Reference Guide
 
whd_packet_filter_t Struct Reference

General Description

Structure describing a packet filter list item.

Data Fields

uint32_t id
 Unique identifier for a packet filter item.
 
whd_packet_filter_rule_t rule
 Filter matches are either POSITIVE or NEGATIVE matching.
 
uint16_t offset
 Offset in bytes to start filtering (referenced to the start of the ethernet packet)
 
uint16_t mask_size
 Size of the mask in bytes.
 
uint8_t * mask
 Pattern mask bytes to be ANDed with the pattern eg. More...
 
uint8_t * pattern
 Pattern bytes used to filter eg. More...
 
whd_bool_t enabled_status
 When returned from wwd_wifi_get_packet_filters, indicates if the filter is enabled.
 

Field Documentation

◆ mask

uint8_t* mask

Pattern mask bytes to be ANDed with the pattern eg.

"\xff00" (must be in network byte order)

◆ pattern

uint8_t* pattern

Pattern bytes used to filter eg.

"\x0800" (must be in network byte order)


The documentation for this struct was generated from the following file: