From owner-freebsd-net Thu Jun 6 2:24:58 2002 Delivered-To: freebsd-net@freebsd.org Received: from sccrmhc01.attbi.com (sccrmhc01.attbi.com [204.127.202.61]) by hub.freebsd.org (Postfix) with ESMTP id 878EF37B406 for ; Thu, 6 Jun 2002 02:24:53 -0700 (PDT) Received: from my.egorovv.net.attbi.com ([12.235.54.40]) by sccrmhc01.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020606092452.TVGH3995.sccrmhc01.attbi.com@my.egorovv.net.attbi.com> for ; Thu, 6 Jun 2002 09:24:52 +0000 To: freebsd-net@freebsd.org Subject: IP_MULTICAST_LOOP From: Vadim Egorov Date: Thu, 06 Jun 2002 02:24:47 -0700 Message-ID: <86vg8wu5cw.fsf@my.egorovv.net> Lines: 21 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi guys! I'm playing with multicasting (-stable), and I want to disable looping back my outgoing packets setting IP_MULTICAST_LOOP option to 0 but it doen't have any effect. My app is listening to the same group it is casting. After some grepping I came across some code in netinet/ip_output.c: (imo == NULL || imo->imo_multicast_loop)) { /* * If we belong to the destination multicast group * on the outgoing interface, and the caller did not * forbid loopback, loop back a copy. */ The comment says 'and' but the code says '||' -- looks like an error to me. Except this I've got no idea what it means - does it make amy sence? -- Thanks, Vadim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message