netdev
[Top] [All Lists]

Re: [RFC] textsearch infrastructure et al v2

To: tgraf@xxxxxxx
Subject: Re: [RFC] textsearch infrastructure et al v2
From: "David S. Miller" <davem@xxxxxxxxxxxxx>
Date: Tue, 31 May 2005 14:56:27 -0700 (PDT)
Cc: netdev@xxxxxxxxxxx, hadi@xxxxxxxxxx
In-reply-to: <20050527224725.GG15391@postel.suug.ch>
References: <20050527224725.GG15391@postel.suug.ch>
Sender: netdev-bounce@xxxxxxxxxxx
From: Thomas Graf <tgraf@xxxxxxx>
Date: Sat, 28 May 2005 00:47:25 +0200

> Any other ideas around?

You could just fetch "windows" of data.

You can define this window to be 32 bytes, or whatever.

Then you use skb_copy_data() into this 32 byte window scratch
pad the text searcher uses, and you're done.  It starts looking
like an MPEG stream parser :-)

<Prev in Thread] Current Thread [Next in Thread>