From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicola Padovano Subject: Re: problem with flowi structure Date: Sat, 2 Oct 2010 10:08:56 +0200 Message-ID: References: <1284650768.3352.37.camel@edumazet-laptop> <1284652453.3352.38.camel@edumazet-laptop> <1284714533.3391.53.camel@edumazet-laptop> <1284741295.3391.100.camel@edumazet-laptop> <1284745887.2235.7.camel@edumazet-laptop> <1284746879.2235.9.camel@edumazet-laptop> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Eric Dumazet , AIJAZ BAIG , netfilter-devel , netdev@vger.kernel.org To: Jan Engelhardt Return-path: Received: from mail-wy0-f174.google.com ([74.125.82.174]:51623 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751951Ab0JBIJS convert rfc822-to-8bit (ORCPT ); Sat, 2 Oct 2010 04:09:18 -0400 In-Reply-To: Sender: netfilter-devel-owner@vger.kernel.org List-ID: i.e. like a wildcard? On Sat, Oct 2, 2010 at 1:46 AM, Jan Engelhardt wro= te: > > On Friday 2010-09-17 20:25, Nicola Padovano wrote: >> >>[CODE] >>if (hooknumber =3D=3D NF_INET_LOCAL_IN) fl.nl_u.ip4_u.saddr =3D niph-= >saddr; >> =A0//niph is the pointer to ip header of the packet to send >>if (hooknumber =3D=3D NF_INET_FORWARD) fl.nl_u.ip4_u.saddr =3D 0; >>[/CODE] >> >>so, i don't understand why saddr =3D 0 when the hooknumber is NF_INET= _FORWARD.... >> >>this is the real problem. > > 0 is automatic address selection. > --=20 Nicola Padovano e-mail: nicola.padovano@gmail.com web: http://npadovano.altervista.org "My only ambition is not be anything at all; it seems the most sensible thing" (C. Bukowski) -- To unsubscribe from this list: send the line "unsubscribe netfilter-dev= el" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html