Searched refs:patlen (Results 1 – 5 of 5) sorted by relevance
53 unsigned int patlen; member58 static unsigned int matchpat(const u8 *pattern, unsigned int patlen, in matchpat() argument63 for (i = 0; i < patlen; i++) { in matchpat()85 int shift = bm->patlen - 1; in bm_find()96 i = matchpat(&bm->pattern[bm->patlen-1], bm->patlen, in bm_find()98 if (i == bm->patlen) { in bm_find()101 return consumed + (shift-(bm->patlen-1)); in bm_find()138 bm->bad_shift[i] = bm->patlen; in compute_prefix_tbl()139 for (i = 0; i < bm->patlen - 1; i++) { in compute_prefix_tbl()140 bm->bad_shift[bm->pattern[i]] = bm->patlen - 1 - i; in compute_prefix_tbl()[all …]
22 patlen=1164 send $((1000 - $patlen))73 send $((1400 - $patlen))81 send $((1500 - $patlen))105 send $((1600 - $patlen))113 send $((1600 - $patlen + 1))
49 if (conf->patlen > XT_STRING_MAX_PATTERN_SIZE) in string_mt_check()56 ts_conf = textsearch_prepare(conf->algo, conf->pattern, conf->patlen, in string_mt_check()
20 __u8 patlen; member
4268 unsigned int patlen = config->ops->get_pattern_len(config); in skb_find_text() local4280 return (ret + patlen <= to - from ? ret : UINT_MAX); in skb_find_text()