Mistake on this page?
Report an issue in GitHub or email us
Data Fields
whd_packet_filter_t Struct Reference

Structure describing a packet filter list item. More...

#include <whd_types.h>

Data Fields

uint32_t id
 Unique identifier for a packet filter item. More...
 
whd_packet_filter_rule_t rule
 Filter matches are either POSITIVE or NEGATIVE matching. More...
 
uint16_t offset
 Offset in bytes to start filtering (referenced to the start of the ethernet packet) More...
 
uint16_t mask_size
 Size of the mask in bytes. More...
 
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. More...
 

Detailed Description

Structure describing a packet filter list item.

Definition at line 1037 of file whd_types.h.

Field Documentation

whd_bool_t enabled_status

When returned from wwd_wifi_get_packet_filters, indicates if the filter is enabled.

Definition at line 1045 of file whd_types.h.

uint32_t id

Unique identifier for a packet filter item.

Definition at line 1039 of file whd_types.h.

uint8_t* mask

Pattern mask bytes to be ANDed with the pattern eg.

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

Definition at line 1043 of file whd_types.h.

uint16_t mask_size

Size of the mask in bytes.

Definition at line 1042 of file whd_types.h.

uint16_t offset

Offset in bytes to start filtering (referenced to the start of the ethernet packet)

Definition at line 1041 of file whd_types.h.

uint8_t* pattern

Pattern bytes used to filter eg.

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

Definition at line 1044 of file whd_types.h.

Filter matches are either POSITIVE or NEGATIVE matching.

Definition at line 1040 of file whd_types.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.