source ip addr selection in ipv6, how?

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

 



Hi,

A packet is sent to a peer from a socket that has no
any src addr bound to it. Also, the sending node has
more than one interfaces and has configures several
default routers for each of the interfaces.
It has only these default routes set up and no
explicit entry for the destination network or host.

How will the outgoing interface and the source addr
of the packet be set up?

Any documents about it? Or as a last resort, some
point where I can start from the kernel source
(I got until ip6_dst_lookup->ip6_route_output
->fib6_lookup->fib6_lookup1, but I dont know how
the rtable is organized (the data structure) so
I don't really understand things from here on.

Thanks,
Gabor
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
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