table of contents
other versions
SKB_FIND_TEXT(9) | Linux Networking | SKB_FIND_TEXT(9) |
NAME¶
skb_find_text - Find a text pattern in skb data
SYNOPSIS¶
unsigned int skb_find_text(struct sk_buff * skb, unsigned int from, unsigned int to, struct ts_config * config);
ARGUMENTS¶
struct sk_buff * skb
the buffer to look in
unsigned int from
search offset
unsigned int to
search limit
struct ts_config * config
textsearch configuration
DESCRIPTION¶
Finds a pattern in the skb data according to the specified textsearch configuration. Use textsearch_next to retrieve subsequent occurrences of the pattern. Returns the offset to the first occurrence or UINT_MAX if no match was found.
COPYRIGHT¶
June 2017 | Kernel Hackers Manual 4.11 |