On Thu, Aug 22, 2002 at 11:04:18AM -0400, Mathew Richardson wrote: > About a week ago, I asked if there was a way to query all of the > addresses associated with a particular interface, as opposed > to querying all of the addresses on the box, with the NetLink. > > Nobody has responded. > > Should I take that to mean that this functionality isn't available > via the NetLink? If it's not, is there some other interface that > I should be using (ioctl?)? Sample code: http://www.zmailer.org/cgi-bin/cvsweb.cgi/zmailer/lib/zgetifaddress.c?rev=1.6&content-type=text/x-cvsweb-markup I recall having seen some code using netlink socket, possibly that is inside the glibc, and is implementing some of these getifaddress() variants. > mrr /Matti Aarnio - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html