From: =?ISO-8859-1?Q?C=E9dric_Tissi=E8res?= Subject: ip_route_input problem Date: Thu, 25 Sep 2003 15:47:25 +0200 (MEST) Sender: netfilter-devel-admin@lists.netfilter.org Message-ID: <1064497645.3f72f1ed9b44b@imapwww.epfl.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Return-path: To: netfilter-devel@lists.netfilter.org Errors-To: netfilter-devel-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: List-Id: netfilter-devel.vger.kernel.org hello, i want to route a packet before the os. i tried to do that using ip_route_input() function like this: ip_route_input(skb, fwdaddr, iph->saddr, iph->tos, skb->dev) it returns -EINVAL, invalid argument. i've checked all the arguments and they are ok. moreover, what is the difference between ip_route_input, ip_route_input_slow and ip_route_me_harder functions? thanks a lot. sorry, i'm a newbie... cedric