History log of /netbsd-src/usr.sbin/ifmcstat/ifmcstat.c (Results 1 – 22 of 22)
Revision Date Author Comments
# 5ef06edb 03-Mar-2020 nisimura <nisimura@NetBSD.org>

- show " refcount %d" for consistency
- fix an extra : bug which was introduced rev 1.17


# 00a9cf74 23-Feb-2017 ozaki-r <ozaki-r@NetBSD.org>

Remove mkludge stuffs

For unknown reasons, IPv6 multicast addresses are linked to a first
IPv6 address assigned to an interface. Due to the design, when removing
a first address having multicast add

Remove mkludge stuffs

For unknown reasons, IPv6 multicast addresses are linked to a first
IPv6 address assigned to an interface. Due to the design, when removing
a first address having multicast addresses, we need to save them to
somewhere and later restore them once a new IPv6 address is activated.
mkludge stuffs support the operations.

This change links multicast addresses to an interface directly and
throws the kludge away.

Note that as usual some obsolete member variables remain for kvm(3)
users. And also sysctl net.inet6.multicast_kludge remains to avoid
breaking old ifmcstat.

TODO: currently ifnet has a list of in6_multi but obviously the list
should be protocol independent. Provide a common structure (if_multi
or something) to handle in6_multi and in_multi together as well as
ifaddr does for in_ifaddr and in6_ifaddr.

show more ...


# 26e6c607 10-Jan-2017 ozaki-r <ozaki-r@NetBSD.org>

Don't give up just because inet6 sysctl knobs aren't available

It can happen normally, for example run a kernel without INET6 or
run a rump_server without librumpnet_netinet6.so.


# 0142924a 13-Jun-2014 joerg <joerg@NetBSD.org>

Use asysctl.


# 49cf844e 11-Jun-2014 joerg <joerg@NetBSD.org>

Add a const for the oid list.


# 539332ec 10-Jun-2014 joerg <joerg@NetBSD.org>

Introduce new sysctls for obtaining interface-specific addresses:
- net.sdl for the active link-layer adddress (the MAC)
- net.ether.multicast for the Ethernet multicast addresses
- net.inet6.multica

Introduce new sysctls for obtaining interface-specific addresses:
- net.sdl for the active link-layer adddress (the MAC)
- net.ether.multicast for the Ethernet multicast addresses
- net.inet6.multicast for the IPv6 multicast groups
- net.inet6.multicast_kludge for temporarily removed multicast groups

Use this sysctls for replacing the kmem grovelling in ifmcstat(8).

show more ...


# 74b10119 30-May-2014 joerg <joerg@NetBSD.org>

Inline trivial helper function.


# 79c2ddee 30-May-2014 joerg <joerg@NetBSD.org>

Kill __P. Use static.


# 4c68dd09 30-May-2014 joerg <joerg@NetBSD.org>

Remove !NetBSD code.


# 2286cc98 30-May-2014 rmind <rmind@NetBSD.org>

netstat(1) and ifmcstat(8): ifnet was renamed to ifnet_list, PR/48850.


# 94a96ec4 19-Oct-2013 christos <christos@NetBSD.org>

use new scopeid functions


# c3008a48 26-Oct-2012 seanb <seanb@NetBSD.org>

Ensure entire sockaddr_dl is obtained. May not have
been the case previously for interfaces with long names.


# 96bb91fe 19-Apr-2009 lukem <lukem@NetBSD.org>

Fix WARNS=4 issues (-Wextra -Wshadow)


# b95181fc 16-Nov-2004 itojun <itojun@NetBSD.org>

NI_WITHSCOPEID was not picked up by IETF standardization process.


# 2925a0d6 26-Feb-2000 itojun <itojun@NetBSD.org>

print addresses in extended scoped address notation.
print reference count for multicast group information.
(sync with recent kame)


# 94a0a3b5 02-Feb-2000 itojun <itojun@NetBSD.org>

align message a bit better.


# 4d9ae69b 02-Feb-2000 itojun <itojun@NetBSD.org>

bring in latest KAME tree. show kludge entry.


# 4265f28e 09-Dec-1999 itojun <itojun@NetBSD.org>

sync with latest KAME. cleanup on interface type determination.


# cc554ec6 03-Sep-1999 itojun <itojun@NetBSD.org>

follow RFC2553 (sync with recent KAME):
s/IN6_IS_ADDR_ANY/IN6_IS_ADDR_UNSPECIFIED/


# 6002e343 07-Jul-1999 itojun <itojun@NetBSD.org>

fix buffer overrun on kvm_openfiles, last argument.

From: Geoff Wing <gcw@pobox.com>


# 26c3d764 06-Jul-1999 itojun <itojun@NetBSD.org>

add NetBSD RCS ID.


# 45124457 01-Jul-1999 itojun <itojun@NetBSD.org>

ifmcstat: show multicast groups currently joined (in per-interface manner).