Searched refs:settings (Results 1 – 2 of 2) sorted by relevance
4367 whd_pf_add_packet_filter(whd_interface_t ifp, const whd_packet_filter_t *settings) in whd_pf_add_packet_filter() argument4373 …(uint32_t)( (2 * (uint32_t)settings->mask_size) + WL_PKT_FILTER_FIXED_LEN + WL_PKT_FILTER_PATTERN_… in whd_pf_add_packet_filter()4384 packet_filter->id = settings->id; in whd_pf_add_packet_filter()4386 packet_filter->negate_match = settings->rule; in whd_pf_add_packet_filter()4387 packet_filter->u.pattern.offset = (uint32_t)settings->offset; in whd_pf_add_packet_filter()4388 packet_filter->u.pattern.size_bytes = settings->mask_size; in whd_pf_add_packet_filter()4391 memcpy(packet_filter->u.pattern.mask_and_pattern, settings->mask, settings->mask_size); in whd_pf_add_packet_filter()4394 …memcpy(packet_filter->u.pattern.mask_and_pattern + settings->mask_size, settings->pattern, setting… in whd_pf_add_packet_filter()
1066 whd_result_t whd_pf_add_packet_filter(whd_interface_t ifp, const whd_packet_filter_t *settings);