From mboxrd@z Thu Jan 1 00:00:00 1970 From: vunnavafuture@gmail.com (Kesava Srinivas) Date: Mon, 28 Nov 2011 13:02:52 +0530 Subject: Forwarding an Altered Packet !!! Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org HI Team, Trying to Forward an Altered Packet in kspace. Need some Help in this ! Picked up an ICMP Packet at PRE_ROUTING Hook & added IP Header over it by expanding skbuffer. Now want to forward the Edited Packet with New Header to the Right out interface. Thought that by returning NF_ACCEPT ; Kernel would do Job for me. But that's NOT Happening. Please help me in understanding ; what Function we Should be calling in Forwarding the Edited Packet to the Right out interface ??? What about nf_reinject ?? Was that the right one to be used in this case ??? OR any Other Next Pointer plz... !!! Looking forward for the reply ! -Thanks in Advance, VKS. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20111128/26ec169a/attachment.html