1SKB_FIND_TEXT(9) Linux Networking SKB_FIND_TEXT(9)
2
3
4
6 skb_find_text - Find a text pattern in skb data
7
9 unsigned int skb_find_text(struct sk_buff * skb, unsigned int from,
10 unsigned int to, struct ts_config * config);
11
13 skb
14 the buffer to look in
15
16 from
17 search offset
18
19 to
20 search limit
21
22 config
23 textsearch configuration
24
26 Finds a pattern in the skb data according to the specified textsearch
27 configuration. Use textsearch_next to retrieve subsequent occurrences
28 of the pattern. Returns the offset to the first occurrence or UINT_MAX
29 if no match was found.
30
32Kernel Hackers Manual 3.10 June 2019 SKB_FIND_TEXT(9)