Re: about netfilter priority

From: Harald Welte (laforge@netfilter.org)
Date: Fri Jul 25 2003 - 15:50:29 EST


Hi!

On Wed, Jul 09, 2003 at 10:27:48PM +0800, Yuan ChunYang wrote:
>
> As we know ,netfilter supply seven priorities,
> NF_IP_PRI_FIRST = INT_MIN,
> NF_IP_PRI_CONNTRACK = -200,
> NF_IP_PRI_MANGLE = -150,
> NF_IP_PRI_NAT_DST = -100,
> NF_IP_PRI_FILTER = 0,
> NF_IP_PRI_NAT_SRC = 100,
> NF_IP_PRI_LAST = INT_MAX,
>
> 1.Can somebody can tell me how to use this priority?

The priority determines the order in which registered functions are
called [in case you have multiple functions registered at one hook].

> Please help me!

-- 
- Harald Welte <laforge@netfilter.org>             http://www.netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie


- To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html



This archive was generated by hypermail 2b29 : Thu Jul 31 2003 - 22:00:01 EST