A question about process on hook
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