[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(usagi-users 02888) Re: IPv6 and multicast... again.
- To: usagi-users@xxxxxxxxxxxxxx
- Subject: (usagi-users 02888) Re: IPv6 and multicast... again.
- From: David Stevens <dlstevens@xxxxxxxxxx>
- Date: Fri, 2 Apr 2004 15:15:53 -0700
- Cc: USAGI users <usagi-users@xxxxxxxxxxxxxx>
- In-reply-to: <20040402100653.GA12194@zenon.mine.nu>
- Reply-to: usagi-users@xxxxxxxxxxxxxx
- Resent-date: Mon, 5 Apr 2004 13:57:27 +0900
- Resent-from: sekiya@xxxxxxxxxxxxxx
- Resent-message-id: <200404051357.FMLAAB14428.usagi-users@linux-ipv6.org>
- Resent-to: usagi-users@xxxxxxxxxxxxxx (moderated)
For the send side, I set the sin6_scope_id in the "to" sin6addr
to the index of the interface. I'm not sure whether
SO_BINDTODEVICE *should* be doing the same thing or not, but
setting sin6_scope_id has worked for me. Code like:
sin6.sin6_scope_id = if_nametoindex("eth0");
The other things you've done affect receiving of packets, but
I don't think they are used for sending packets at all.
+-DLS