From: vunnavafuture@gmail.com (Kesava Srinivas)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Forwarding an Altered Packet !!!
Date: Mon, 28 Nov 2011 13:02:52 +0530 [thread overview]
Message-ID: <CADWUQZ5JPtzShvWsptb4a-SYO68Lo=ui2E2mZe50Sa6ba=HoeQ@mail.gmail.com> (raw)
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
reply other threads:[~2011-11-28 7:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CADWUQZ5JPtzShvWsptb4a-SYO68Lo=ui2E2mZe50Sa6ba=HoeQ@mail.gmail.com' \
--to=vunnavafuture@gmail.com \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).