1SKB_FIND_TEXT(9)               Linux Networking               SKB_FIND_TEXT(9)
2
3
4

NAME

6       skb_find_text - Find a text pattern in skb data
7

SYNOPSIS

9       unsigned int skb_find_text(struct sk_buff * skb, unsigned int from,
10                                  unsigned int to, struct ts_config * config,
11                                  struct ts_state * state);
12

ARGUMENTS

14       skb
15           the buffer to look in
16
17       from
18           search offset
19
20       to
21           search limit
22
23       config
24           textsearch configuration
25
26       state
27           uninitialized textsearch state variable
28

DESCRIPTION

30       Finds a pattern in the skb data according to the specified textsearch
31       configuration. Use textsearch_next to retrieve subsequent occurrences
32       of the pattern. Returns the offset to the first occurrence or UINT_MAX
33       if no match was found.
34
36Kernel Hackers Manual 2.6.       November 2011                SKB_FIND_TEXT(9)
Impressum