From: Manjunath Prabhu <manjunath.mp@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: modify tcp header in the kernel
Date: Sat, 24 Jul 2004 15:31:01 +0530 [thread overview]
Message-ID: <2de46576040724030153d7877@mail.gmail.com> (raw)
hi,
i am using the debian linux and am working on the 2.6.6 kernel.
i want to access the tcp header, modify it (by passing it through my
function) and then
put it back for the regular flow to continue.
can somebody tell me where i can access TCP header....
this is what i think should be done.
1.will using (struct sk_buff*)skb->h.th be sufficient
2.using hook to divert the regular flow.
3.passing it to my function.
4.putting it back.
am i right???
-best regards,
manjunath
next reply other threads:[~2004-07-24 10:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-24 10:01 Manjunath Prabhu [this message]
2004-07-24 10:41 ` Olaf Dietsche
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=2de46576040724030153d7877@mail.gmail.com \
--to=manjunath.mp@gmail.com \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®