Re: Get multicast addresses from interface

2004-10-14 Thread Bruce M Simpson
On Thu, Oct 14, 2004 at 08:01:49AM -0700, Brooks Davis wrote: > On Thu, Oct 14, 2004 at 05:44:57PM +0400, Grigory Klyuchnikov wrote: > > How can a user process get IPv6 multicast addresses of ethernet > > interfaces? I have FreeBSD 5.2.1 and get interface addresses > > via ioctl(SIOCGIFCONF) or sys

Re: Get multicast addresses from interface

2004-10-14 Thread Brooks Davis
On Thu, Oct 14, 2004 at 05:44:57PM +0400, Grigory Klyuchnikov wrote: > Hello, > > How can a user process get IPv6 multicast addresses of ethernet > interfaces? I have FreeBSD 5.2.1 and get interface addresses > via ioctl(SIOCGIFCONF) or sysctl(witch NET_RT_IFLIST), > but all returned addresses are

Get multicast addresses from interface

2004-10-14 Thread Grigory Klyuchnikov
Hello, How can a user process get IPv6 multicast addresses of ethernet interfaces? I have FreeBSD 5.2.1 and get interface addresses via ioctl(SIOCGIFCONF) or sysctl(witch NET_RT_IFLIST), but all returned addresses are unicast. In net/if.h there is a struct ifma_msghdr: /* * Message format for use