All of lore.kernel.org
 help / color / mirror / Atom feed
From: arif <aftnix@gmail.com>
To: netfilter-devel@vger.kernel.org
Cc: Netfilter Developer Mailing List <netfilter-devel@vger.kernel.org>
Subject: Re: Target extension with nf_hooks
Date: Sun, 02 Dec 2012 16:58:13 +0600	[thread overview]
Message-ID: <50BB3445.70706@gmail.com> (raw)
In-Reply-To: <alpine.LNX.2.01.1211111802590.6241@nerf07.vanv.qr>

On 11/11/2012 11:15 PM, Jan Engelhardt wrote:
>
> On Sunday 2012-11-11 15:47, Aft nix wrote:
>>
>> Thanks for the reply. Now mangle tables has this:
>>
>> include/uapi/linux/netfilter_ipv4.h:    NF_IP_PRI_MANGLE = -150,
>>
>> What i get from this list that which table will get priority.
>>
>> But i'm trying to know which function will be called first?
>
> The one with a lower numerical value.
> What is to happen when two hooks have the same priority value
> is unspecified.
>
>> But i'm still confused about which function (one registered with
>> struct xt_target , another registered with struct nf_hook_ops) will
>> get priority?
>
> Those are two very different things.
>
>> How does a table associated with different chains?

Thanks for the help. So my use case seems unspecified and can't be done.
>
> --
> To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>



  reply	other threads:[~2012-12-02 11:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-11 10:56 Target extension with nf_hooks Aft nix
2012-11-11 13:36 ` Jan Engelhardt
2012-11-11 14:47   ` Aft nix
2012-11-11 17:15     ` Jan Engelhardt
2012-12-02 10:58       ` arif [this message]
2012-12-04 18:17         ` Jan Engelhardt

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=50BB3445.70706@gmail.com \
    --to=aftnix@gmail.com \
    --cc=netfilter-devel@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.