How to bind an skb to one iface, when the fib lookup suggests another.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hii,
I have to route a packet thru a particular output interface, however
my routing tables have two routes, that match it : one to eth0 and one
to wlan0, with the eth0 being chosen as it is more specific.  I am
using ip_route_output_key, with fl->oif = index of device I want this
packet to go (wlan0).
I have tried reading the 2.6.5 ip_route_output_slow funx, but what I
want is not probably what the code does. I will be grateful if someone
can shed some light on the problem. Or if my approach is incorrect,
can anybody please correct me.
Sincerely,
--
Devesh Agrawal
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux