From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: Re: problem with flowi structure Date: Thu, 16 Sep 2010 17:26:08 +0200 Message-ID: <1284650768.3352.37.camel@edumazet-laptop> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: netfilter-devel , netdev@vger.kernel.org To: Nicola Padovano Return-path: Received: from mail-wy0-f174.google.com ([74.125.82.174]:62927 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754409Ab0IPP0N (ORCPT ); Thu, 16 Sep 2010 11:26:13 -0400 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: Le jeudi 16 septembre 2010 =C3=A0 17:14 +0200, Nicola Padovano a =C3=A9= crit : > Hi all. I'm "studying" the flowi structure. > I see some source code: >=20 > [CODE] > ... > fl.nl_u.ip4_u.saddr =3D 0 > ... > ip_route_output_key(....,&fl,....) > ... > (where fl is a flowi struct) > [/CODE] >=20 > what is the meaning of saddr =3D 0? >=20 >=20 This means ip_route_output_key() is allowed to chose whatever source ip address to reach remote peer.