Re: [Bugme-new] [Bug 13856] New: sk_bound_dev_if should be set for a socket when using IP_MULITCAST_IF or IP_ADD_MEMBERSHIO
From: John Dykstra <hidden>
Date: 2009-07-30 00:46:15
From: John Dykstra <hidden>
Date: 2009-07-30 00:46:15
ReportedBy: manlidj@hotmail.com
quoted
Currently there is no way to tell which interface a multicast packet arrived on except by using a raw socket and issuing the SO_BINDTODEVICE option which forces the sk_bound_dev_if for the socket to be set.
I thought the IP_PKTINFO cmsg was the usual way to do this. -- John