Date: Thu, 24 Jan 2002 01:10:03 -0800 From: Terry Lambert <tlambert2@mindspring.com> To: Harti Brandt <brandt@fokus.gmd.de> Cc: Ruslan Ermilov <ru@FreeBSD.org>, net@FreeBSD.org Subject: Re: interface multicast address list Message-ID: <3C4FCF6B.51A6242@mindspring.com> References: <20020124095326.M24779-100000@beagle.fokus.gmd.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Harti Brandt wrote: > TL>> > is there any way to get at the if_multiaddrs list from user space (except > TL>> > for digging through the kernel with kvm). > TL>> > TL>> I'm affraid not. > TL> > TL>Actually, the easiest way is to remember the things when you > TL>set them in the first place. > > That's not an option for a daemon needing this information. Why not? Who set them up? Wasn't it the Daemon that bound the sockets and the multicast addresses? This is like the Java-thing where people were too lazy to keep track of their memory allocations, so they invented dynamic scoping and garbage collection, or the Linux thing, where people were too lazy to remember the name of the file they called open(2) on in order to get a descriptor, and so wanted a function call to get the path to the file, totally ignoring the effects of directory permissions, hard links, and exclusion groups. Like the X Server: if you put the thing into the mode, it's your job to remember it so that you can take it out, later. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C4FCF6B.51A6242>