Interface index hack in IP_ADD_MEMBERSHIP

Eugene Grosbein eugen at kuzbass.ru
Mon Mar 19 16:03:14 UTC 2007


On Mon, Mar 19, 2007 at 02:28:52PM +0000, 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 independent API for socket group 
> memberships which allow joins on interfaces referenced by index. This is 
> intended to support IGMPv3 and MLDv2.

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.

Eugene


More information about the freebsd-net mailing list