From: "zhou fan" Subject: A question about process on hook Date: Tue, 12 Apr 2005 11:28:33 +0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312; format=flowed Return-path: To: netfilter-devel@lists.netfilter.org 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 hi: when i read the linux network source code ,i encountered a problem: in ip_rcv(),there presented "NF_HOOK(PF_INET, NF_IP_PRE_ROUTING, skb, dev, NULL,ip_rcv_finish);" Does this means that ip_rcv_finish is a default func on the NF_IP_PRE_ROUTING HOOK? Does "(okfn)(*skb);" on this HOOK point equals to "ip_rcv_finish(*skb);"? If i registed a handler,take pre_route_handler for example, on the NF_IP_PRE_ROURING HOOK,dose the kernel processes the skb first by my pre_route_handler then ip_rcv_finish finally? Thank you for your help in advance! _________________________________________________________________ Ãâ·ÑÏÂÔØ MSN Explorer: http://explorer.msn.com/lccn