Re: [RFC] textsearch infrastructure et al v2
From: "David S. Miller" <davem@davemloft.net>
Date: 2005-05-31 21:56:27
From: "David S. Miller" <davem@davemloft.net>
Date: 2005-05-31 21:56:27
From: Thomas Graf <tgraf@suug.ch> 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 :-)