From: "François Delawarde" <fdelawarde@wirelessmundi.com>
To: netdev@vger.kernel.org
Subject: netfilter hooks for IFB device
Date: Wed, 25 Nov 2009 16:30:20 +0100 [thread overview]
Message-ID: <1259163020.28137.141.camel@luna.tc.commsmundi.com> (raw)
Hi,
I'm interested in adding optional netfilter hooks to the IFB device
(enabled by module param), in order to have full IMQ functionality (to
use CONNMARKs and others) without having to add any iptables or
netfilter target.
I'm aiming for something very simple inspired by this older IMQ
implementation:
http://pupa.da.ru/imq/imq.c
The only thing is, I have no idea what to do in the callback function
once the netfilter hooks are registered.
How can I 'steal' the packet in the hook and make it pass through
ifb_xmit to have it enqueued?
Thanks,
François.
reply other threads:[~2009-11-25 15:59 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=1259163020.28137.141.camel@luna.tc.commsmundi.com \
--to=fdelawarde@wirelessmundi.com \
--cc=netdev@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