LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   LKM in 2.6 w/o the kernel source to intercept the IP packet and process in kernel sp (https://www.linuxquestions.org/questions/linux-networking-3/lkm-in-2-6-w-o-the-kernel-source-to-intercept-the-ip-packet-and-process-in-kernel-sp-591361/)

csvk 10-12-2007 02:20 PM

LKM in 2.6 w/o the kernel source to intercept the IP packet and process in kernel sp
 
I am trying to create a kernel module to intercept the packet processing code to add some application specific details to the packet at kernel space. I looked at ip_local_delivery_finish in ip_input.c which delivers the packet to the other higher level protocols which I will be using. But with the kernel source code i could able to add a hook in the method and call the LKM.

But I would like to know if i can call ip_local_delivery_finish in my module after processing my application specific stuff ? Is this even possible without the kernel source ?

Thanks
K


All times are GMT -5. The time now is 11:06 AM.