From: "jywang" <jywang@cnic.cn>
To: netfilter <netfilter@lists.netfilter.org>
Subject: how to use sk_buff in netfilter
Date: Thu, 27 Oct 2005 15:22:05 +0800 [thread overview]
Message-ID: <00d501c5dac7$22306070$060ae29f@javaboy> (raw)
Hi,all
i want to make some change on ip packet in NF_IP_PRE_ROUTING
hook. but i don't know what is the exactly means of each piece in
struct sk_buff.
i know how to generate a packet, but how to generate a correct
sk_buff of the packet is a difficult for me, and how to put the
sk_buff to the system is a problem too.
How? or where to get more details of that? is there a example
program to learn?
so great appreciation to you all.
-----------------------------------------------------
Name: jinyi wang
Phone: (86-10) 5881-2325
Division: R&D,Computer Network Information Center,
Chinese Academy of Sciences
Address: 4,4th South Street, Zhongguancun,
Haidian District, Beijing, China
Zip code: 100080
Email: jywang@cnic.cn
next reply other threads:[~2005-10-27 7:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-27 7:22 jywang [this message]
2005-10-27 8:55 ` how to use sk_buff in netfilter KOVACS Krisztian
2005-10-31 5:34 ` jywang
2005-10-31 7:00 ` Henrik Nordstrom
2005-10-31 7:08 ` jywang
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='00d501c5dac7$22306070$060ae29f@javaboy' \
--to=jywang@cnic.cn \
--cc=netfilter@lists.netfilter.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