Re: [PATCH] IPv6: Allow Both IPv6 and IPv4 Sockets on the Same Port Number (IPV6_V6ONLY Support)

From: David S. Miller (davem@redhat.com)
Date: Thu Oct 03 2002 - 03:58:42 EST


   From: Brad Hards <bhards@bigpond.net.au>
   Date: Thu, 3 Oct 2002 18:55:11 +1000

   Assume B has two network interfaces (B1 and B2) on seperate IPv4 links (net1
   and net2). Host A is on net1 and Host C is on net2. Assume that both Host A
   and Host C have the same autoconf address. So IP address is not enough
   information for Host B to use to determine which interface to use in order to
   contact Host A (instead of Host C).
   
   If host B has socket binding on IP+port+local interface, it all works out.
   
You want SO_BINDTODEVICE, which we have.

   
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Oct 07 2002 - 22:00:38 EST