From: Julien Laganier <Julien.Laganier@Sun.COM>
To: linux-kernel@vger.kernel.org
Subject: linux-kernel@vger.kernel.org
Date: Fri, 25 May 2001 14:42:58 +0200 [thread overview]
Message-ID: <3B0E5352.D5D810F3@Sun.COM> (raw)
Hi folks,
I want to register a new Hook in the netfilter (from kernel 2.4.4)
canvas for IP. The struct
used for register is :
struct nf_hook_ops
{
struct list_head list;
/* User fills in from here down. */
nf_hookfn *hook;
int pf;
int hooknum;
/* Hooks are ordered in ascending priority. */
int priority;
};
And the hook function is a nf_hookfn, which is a typedef :
typedef unsigned int nf_hookfn(unsigned int hooknum,
struct sk_buff **skb,
const struct net_device *in,
const struct net_device *out,
int (*okfn)(struct sk_buff *));
What is the parameter int (*okfn)(struct sk_buff *) which is passed to
the hook ?
Thanx for the answers !!!
next reply other threads:[~2001-05-25 12:40 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-25 12:42 Julien Laganier [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-01-31 1:02 linux-kernel@vger.kernel.org Ulrich Weigand
2002-01-31 1:11 ` linux-kernel@vger.kernel.org Andrew Morton
2002-09-30 1:13 linux-kernel@vger.kernel.org omit_ECE
2002-09-30 1:18 ` linux-kernel@vger.kernel.org David S. Miller
2002-09-30 1:39 ` linux-kernel@vger.kernel.org Jeff Chua
2002-10-30 17:57 linux-kernel@vger.kernel.org Manfred Spraul
2002-10-30 21:22 ` linux-kernel@vger.kernel.org Bill Davidsen
2003-06-18 21:46 linux-kernel@vger.kernel.org David Mosberger
2004-06-21 9:19 linux-kernel@vger.kernel.org Romia Fersi
2004-07-26 14:48 LINUX-KERNEL@VGER.KERNEL.ORG Returned mail
2004-07-26 15:44 linux-kernel@vger.kernel.org rap
2005-07-05 13:58 Linux-kernel@vger.kernel.org linux-kernel
2007-08-14 9:58 linux-kernel@vger.kernel.org bizu
2007-08-14 9:58 linux-kernel@vger.kernel.org bizu
2008-03-09 17:02 linux-kernel@vger.kernel.org bruno.roussel
[not found] <de72ca4e0905172314q3c55ec52ic9ab762a0352a91d@mail.gmail.com>
2009-05-18 7:06 ` linux-kernel@vger.kernel.org Sudarshan Soma
2009-10-11 6:22 linux-kernel@vger.kernel.org Boyan
2010-05-29 11:22 linux-kernel@vger.kernel.org uwaysi.bin.kareem
2011-01-24 16:43 linux-kernel@vger.kernel.org sen wang
2022-10-14 8:51 linux-kernel@vger.kernel.org Mustafa Ayvaz
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=3B0E5352.D5D810F3@Sun.COM \
--to=julien.laganier@sun.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.