Packet Generation in the Kernel
Hi Guys,
I am learning about net filters and i am practicing some sample programs on it. I am very new to this and I have a general query. I got the packet to a desired function using PRE_ROUTING hook. now how do i frame a packet from this point ? I am just trying to simulate a echo client server program in the kernel level using these hooks . can someone point to me some useful info on sockets in the kernel level ? Thanks in Advance ... |
In net filter hook, they don't use socket API, use skb API.
|
All times are GMT -5. The time now is 04:35 AM. |