From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Subject: Re: [patch 1/3] add type parameter to ip_route_me_harder Date: Wed, 20 Sep 2006 12:30:58 +0200 Message-ID: <45111862.2000900@trash.net> References: <20060919024507.458115000@tabatha.lab.ultramonkey.org> <20060919025203.458282000@tabatha.lab.ultramonkey.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: Ken Brownfield , Roberto Nibali , netfilter-devel@lists.netfilter.org, Farid Sarwari , Julian Anastasov , David Black , Joseph Mack NA3T , David Miller Return-path: To: Horms In-Reply-To: <20060919025203.458282000@tabatha.lab.ultramonkey.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-devel-bounces@lists.netfilter.org Errors-To: netfilter-devel-bounces@lists.netfilter.org List-Id: netfilter-devel.vger.kernel.org Horms wrote: > +/* > + * addr_type: 0 - determine automatically > + * 1 - local > + * 2 - non-local > + */ > + > /* route_me_harder function, used by iptable_nat, iptable_mangle + ip_queue */ > -int ip_route_me_harder(struct sk_buff **pskb) > +int ip_route_me_harder(struct sk_buff **pskb, unsigned addr_type) I liked the RTN_ types better .. is there a reason for not using them? Otherwise I'll just change it before applying.