From mboxrd@z Thu Jan 1 00:00:00 1970 From: Padam J Singh Subject: Re: Async processing using NetFilters Date: Thu, 26 Apr 2007 14:39:46 +0530 Message-ID: <46306C5A.2060101@padamj.com> References: <200704260852.l3Q8qPg0028578@brahma.intotoind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: netfilter-devel@lists.netfilter.org To: Lokesh Return-path: In-Reply-To: <200704260852.l3Q8qPg0028578@brahma.intotoind.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-devel-bounces@lists.netfilter.org Errors-To: netfilter-devel-bounces@lists.netfilter.org List-Id: netfilter-devel.vger.kernel.org Hello Lokesh, Try the NF_STOLEN approach, and take care of the skb. You can re-inject the packet this way. R, Padam. Lokesh wrote: > Hi All, >> I'm using Linux RedHat 9 kernel version 2.4.20-8 >> I want to do some asynchronous processing of packets in my kernel >> module that is registered as >> Netfilter Hook. I tried to make use of NF_QUEUE but found that only >> one call back function per >> protocol family (PF) is provided and already some module (probably >> NET_LINK socket interface) >> is making use of it for PF_INET. Is there any way to use NF_QUEUE >> facility without disturbing >> NET_LINK ? why per hook registration of call back function of >> NF_QUEUE is not provided? >> How to proceed if someone had to do async processing of packets so >> that pkts can be queued to crypto hardware processing unit and can be >> safely reinjected back into kernel later so that other registered >> hooks can get pkts? >> any help is highly appreciated. >> Thanks > > > > ******************************************************************************** > > This email message (including any attachments) is for the sole use of > the intended recipient(s) and may contain confidential, proprietary > and privileged information. Any unauthorized review, use, disclosure > or distribution is prohibited. If you are not the intended recipient, > please immediately notify the sender by reply email and destroy all > copies of the original message. Thank you. > > Intoto Inc. > >