Searched refs:patlen (Results 1 - 5 of 5) sorted by relevance

/linux-master/lib/
H A Dts_bm.c53 unsigned int patlen; member in struct:ts_bm
58 static unsigned int matchpat(const u8 *pattern, unsigned int patlen, argument
63 for (i = 0; i < patlen; i++) {
85 int shift = bm->patlen - 1;
96 i = matchpat(&bm->pattern[bm->patlen-1], bm->patlen,
98 if (i == bm->patlen) {
101 return consumed + (shift-(bm->patlen-1));
138 bm->bad_shift[i] = bm->patlen;
139 for (i = 0; i < bm->patlen
[all...]
/linux-master/tools/testing/selftests/netfilter/
H A Dxt_string.sh22 patlen=11
64 send $((1000 - $patlen))
73 send $((1400 - $patlen))
81 send $((1500 - $patlen))
105 send $((1600 - $patlen))
113 send $((1600 - $patlen + 1))
/linux-master/include/uapi/linux/netfilter/
H A Dxt_string.h20 __u8 patlen; member in struct:xt_string_info
/linux-master/net/netfilter/
H A Dxt_string.c49 if (conf->patlen > XT_STRING_MAX_PATTERN_SIZE)
56 ts_conf = textsearch_prepare(conf->algo, conf->pattern, conf->patlen,
/linux-master/net/core/
H A Dskbuff.c4419 unsigned int patlen = config->ops->get_pattern_len(config); local
4431 return (ret + patlen <= to - from ? ret : UINT_MAX);

Completed in 265 milliseconds