Hi list,

I'm having trouble about NF_HOOK() call.
I intent to add a netfilter hook with nf_register_hook.
THe hook point is NF_ARP_IN. But I'm not sure the caller's context.

In kernel code, dev.c I found the caller:
 netif_receive_skb -> arp_rcv -> NF_HOOK -> my_hook_cb

When my_hook_cb is invoked, what's the context?  And how can I detect it?
Any idea? Thanks in advance.


Regards~

--
c.j

Reply via email to