From owner-freebsd-questions Tue Jun 29 17:46: 8 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dirty.research.bell-labs.com (dirty.research.bell-labs.com [204.178.16.6]) by hub.freebsd.org (Postfix) with SMTP id 0E456151C9 for ; Tue, 29 Jun 1999 17:46:02 -0700 (PDT) (envelope-from lili@dnrc.bell-labs.com) Received: from bronx.dnrc.bell-labs.com ([135.180.160.8]) by dirty; Tue Jun 29 20:44:00 EDT 1999 Received: from dnrc.bell-labs.com (tone [135.180.240.26]) by bronx.dnrc.bell-labs.com (8.9.3/8.9.3) with ESMTP id UAA04303; Tue, 29 Jun 1999 20:43:57 -0400 (EDT) Message-ID: <37796869.A9ADBCE8@dnrc.bell-labs.com> Date: Tue, 29 Jun 1999 20:44:25 -0400 From: Li Li Organization: Lucent / Bell Labs, USA X-Mailer: Mozilla 4.5 [en] (X11; U; SunOS 5.6 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: bmah@ca.sandia.gov Cc: Ladavac Marino , freebsd-questions@freebsd.org Subject: Re: How to access multicast routing entry from a user process? References: <199906292156.OAA24766@stennis.ca.sandia.gov> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG It is not a dumb a question. I did look into mrouted source code. The thing is that mrouted maintains a copy of its own multicast routing table. It doesn't need to search the kernel mrouting table. It only needs to add/delete entries in the kernel mrouting table. So no luck there either. Looks like I have to add a socket option for this purpose. L. Li "Bruce A. Mah" wrote: > > If memory serves me right, Ladavac Marino wrote: > > > -----Original Message----- > > > From: Li Li [SMTP:lili@dnrc.bell-labs.com] > > > Sent: Tuesday, June 29, 1999 5:03 PM > > > To: Ladavac Marino > > > Cc: freebsd-questions@freebsd.org > > > Subject: Re: How to access multicast routing entry from a user > > > process? > > > > > > I looked at netstat before. Since it reports all the multicast routing > > > information, it just uses kvm_read to copy the kernel multicast > > > routing > > > table to the user process address space. I don't want to do this, > > > either. > > [ML] Unless Stevens nor 4.4 book says anything about a > > "standard" way to read the multicast routing table, kmem search might > > actually be the only "supported" way to do it. Sorry, I don't have the > > books nearby. > > This is probably a dumb question, but what about looking in the source > for mrouted(8)? > > Bruce. > > ------------------------------------------------------------------------ > Part 1.2Type: application/pgp-signature To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message