Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jun 1999 20:44:25 -0400
From:      Li Li <lili@dnrc.bell-labs.com>
To:        bmah@ca.sandia.gov
Cc:        Ladavac Marino <mladavac@metropolitan.at>, freebsd-questions@freebsd.org
Subject:   Re: How to access multicast routing entry from a user process?
Message-ID:  <37796869.A9ADBCE8@dnrc.bell-labs.com>
References:  <199906292156.OAA24766@stennis.ca.sandia.gov>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37796869.A9ADBCE8>