From owner-freebsd-net Thu Mar 30 11:12:24 2000 Delivered-To: freebsd-net@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id 7092037BA4B for ; Thu, 30 Mar 2000 11:12:21 -0800 (PST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.3/8.9.3) id OAA92561; Thu, 30 Mar 2000 14:12:15 -0500 (EST) (envelope-from wollman) Date: Thu, 30 Mar 2000 14:12:15 -0500 (EST) From: Garrett Wollman Message-Id: <200003301912.OAA92561@khavrinen.lcs.mit.edu> To: Wilbert de Graaf Cc: freebsd-net@FreeBSD.ORG Subject: The socket structure & igmpv3 In-Reply-To: <38E3A371.8030917C@hetnet.nl> References: <38E3A371.8030917C@hetnet.nl> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org < said: > So my question is ... Is it true that such a filter should be attached > / stored within the socket datastructure ? Yes and no. You need to look more closely at how the FreeBSD implementation works. Essentially, there are two levels of multicast group subscription: 1) the per-interface subscription table (which drives IGMP), and 2) the per-socket subscription table (which is used mainly to ensure that groups are properly unsubscribed when the socket is closed). Part (1) is not quite entirely different from the 4.4-Lite code. -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message