Home
last modified time | relevance | path

Searched refs:patlen (Results 1 – 3 of 3) sorted by relevance

/linux-6.3-rc2/lib/
A Dts_bm.c53 unsigned int patlen; member
63 int shift = bm->patlen - 1, bs; in bm_find()
75 for (i = 0; i < bm->patlen; i++) in bm_find()
78 != bm->pattern[bm->patlen-1-i]) in bm_find()
119 bm->bad_shift[i] = bm->patlen; in compute_prefix_tbl()
120 for (i = 0; i < bm->patlen - 1; i++) { in compute_prefix_tbl()
124 = bm->patlen - 1 - i; in compute_prefix_tbl()
130 for (i = 1; i < bm->patlen; i++) in compute_prefix_tbl()
131 bm->good_shift[i] = bm->patlen; in compute_prefix_tbl()
156 bm->patlen = len; in bm_init()
[all …]
/linux-6.3-rc2/net/netfilter/
A Dxt_string.c49 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()
/linux-6.3-rc2/include/uapi/linux/netfilter/
A Dxt_string.h20 __u8 patlen; member

Completed in 11 milliseconds