[IPv6] Update setsockopt(IPV6_MULTICAST_IF) to support RFC 3493

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Brian Haley
Date: Wednesday, October 10, 2007 - 8:04 am

Hi,

 From RFC 3493, Section 5.2:

       IPV6_MULTICAST_IF

          Set the interface to use for outgoing multicast packets.  The
          argument is the index of the interface to use.  If the
          interface index is specified as zero, the system selects the
          interface (for example, by looking up the address in a routing
          table and using the resulting interface).

This patch adds support for (index == 0) to reset the value to it's 
original state, allowing the system to choose the best interface.  IPv4 
already behaves this way.

-Brian


Signed-off-by: Brian Haley <brian.haley@hp.com>
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[IPv6] Update setsockopt(IPV6_MULTICAST_IF) to support RFC ..., Brian Haley, (Wed Oct 10, 8:04 am)
Re: [IPv6] Update setsockopt(IPV6_MULTICAST_IF) to support ..., YOSHIFUJI Hideaki / , (Wed Oct 10, 5:33 pm)