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

(usagi-users 02888) Re: IPv6 and multicast... again.



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