| To: | Thomas Graf <tgraf@xxxxxxx> |
|---|---|
| Subject: | Re: [RFC] textsearch infrastructure + skb_find_text() |
| From: | Pablo Neira <pablo@xxxxxxxxxxx> |
| Date: | Fri, 06 May 2005 03:33:34 +0200 |
| Cc: | netdev@xxxxxxxxxxx, jamal <hadi@xxxxxxxxxx> |
| In-reply-to: | <20050505174224.GB25977@postel.suug.ch> |
| References: | <20050504234036.GH18452@postel.suug.ch> <427A51A2.8090600@eurodev.net> <20050505174224.GB25977@postel.suug.ch> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20050105 Debian/1.7.5-1 |
Thomas Graf wrote:
* Pablo Neira <427A51A2.8090600@xxxxxxxxxxx> 2005-05-05 19:02
- I don't see a way to look for matches in fragments. I mean, say we've got "dancing " in a fragment and "chicken" in the next one. Currently we don't get a match. Yes, we could just use one of those args in ts_state to store if we found a partial match or not. I've been reworking the framework for string matching that I sent you two/three months ago, you've definitely worked on a good base. Since then I've introduced a lot of changes and actually I've been testing it (ick, that means that we've clashed!). Boyer-Moore requires such hack to look for matches around the fragment borders. But no problem, such hack will go inside the bm_find function. It's a lot more generic allowing it to be in lib/ so it can be used from other subsystem as well. Sure, your approach is definitely more generic because I just thought about using such string matching framework for net apps, it's different from that point of view, but I still see things that reminds me to my proposed framework, say that ts_state thing ;). I think that I can merge both works and then roll on. I still need more time to study more in deep your proposition. No problem mate. Just curious about something, since this stuff will live under lib, what kind of applications in kernel space could use this string matching framework ? I bet that non-net kernel guys will surely ask about it ;-> I'll be back working on this stuff next week, expect some feedback. -- Pablo |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: resend patch: xfrm policybyid, Herbert Xu |
|---|---|
| Next by Date: | Re: resend patch: xfrm policybyid, jamal |
| Previous by Thread: | Re: [RFC] textsearch infrastructure + skb_find_text(), Thomas Graf |
| Next by Thread: | Re: [RFC] textsearch infrastructure + skb_find_text(), Thomas Graf |
| Indexes: | [Date] [Thread] [Top] [All Lists] |