Single union to describe all packet filters.
Data Fields | |
cy_pf_feature_t | feature |
Type of filter. | |
uint32_t | bits |
Various on/off options applicable to all types of packet filters. | |
uint8_t | id |
Each filter is given a unique 8 bit identifier. | |
union { | |
cy_pf_pn_cfg_t pf | |
Port filter. | |
cy_pf_ethtype_cfg_t eth | |
Eth_type filter. | |
cy_pf_ip_cfg_t ip | |
IP type filter. | |
} | u |
Individual filter types | |