Re: Interface index hack in IP_ADD_MEMBERSHIP

2007-04-17 Thread Yar Tikhiy
On Tue, Apr 10, 2007 at 06:35:39AM +0100, Bruce M Simpson wrote: Yar Tikhiy wrote: Quagga still uses it, too, if its configure script detects FreeBSD or NetBSD. I'm afraid it was me who submitted the patch to the Quagga folks when I'd found that Quagga's ospfd couldn't handle unnumbered P2P

Re: Interface index hack in IP_ADD_MEMBERSHIP

2007-04-09 Thread Bruce M Simpson
Yar Tikhiy wrote: Quagga still uses it, too, if its configure script detects FreeBSD or NetBSD. I'm afraid it was me who submitted the patch to the Quagga folks when I'd found that Quagga's ospfd couldn't handle unnumbered P2P interfaces in FreeBSD because their local IPs weren't unique.

Re: Interface index hack in IP_ADD_MEMBERSHIP

2007-03-21 Thread Yar Tikhiy
On Mon, Mar 19, 2007 at 10:28:37PM +0700, Eugene Grosbein wrote: On Mon, Mar 19, 2007 at 02:28:52PM +, Bruce M Simpson wrote: I plan to get rid of the ugly little ip_multicast_if() hack in the IP stack.= Before I do, is anyone actually using this? RFC 3678 specifies a protocol

Interface index hack in IP_ADD_MEMBERSHIP

2007-03-19 Thread Bruce M Simpson
Hi, I plan to get rid of the ugly little ip_multicast_if() hack in the IP stack.= Before I do, is anyone actually using this? RFC 3678 specifies a protocol independent API for socket group memberships which allow joins on interfaces referenced by index. This is intended to support IGMPv3

Re: Interface index hack in IP_ADD_MEMBERSHIP

2007-03-19 Thread Bruce M Simpson
Eugene Grosbein wrote: I recall that routed and ripd used to utilize something similar long time ago. I'm not sure if they have switched to another API. You're right -- this would break routed on point-to-point interfaces. They didn't, unless it was updated at the upstream, i.e.