]> bbs.cooldavid.org Git - net-next-2.6.git/commit - include/linux/skbuff.h
[NET]: skb_find_text() - Find a text pattern in skb data
authorThomas Graf <tgraf@suug.ch>
Fri, 24 Jun 2005 04:00:17 +0000 (21:00 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Jun 2005 04:00:17 +0000 (21:00 -0700)
commit3fc7e8a6d842f72d16d2623b1022814a635ab961
tree93f60c9af99b790c1d79bef1d3414fea3d7b9c5c
parent677e90eda3bd8cfde0b748daaa46476162a03950
[NET]: skb_find_text() - Find a text pattern in skb data

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.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h
net/core/skbuff.c