understanding click linux module

sri <[email protected]> Wed, 24 Sep 2014 01:02:45 +0530
Newsgroups gmane.network.routing.click
Message-ID <CAM6XdyyyYe-vHbALLx+QQ_p1bQQ1=nRzsUAe30ehsm3qKSEdgQ@mail.gmail.com>
Hi,

I read in click documentation that it gets packet that before linux
networking stack sees that. How that is implemented?
Sorry for shooting novice questions. Am trying to understand how this is
done. I learned that we can write a kernel module that registers with
netfilter hooks and grab the packet for processing.
Which one is better?

Thanks,
Sri