Skip to contentSkip to conversation

ip_route_input problem

DISCUSSION Cédric Tissières 1 participant 1 message Sep 25, 2003 netfilter

lore
Share & tools
lore
#0 lore raw

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