joerg
0142924a4e
Use asysctl.
2014-06-13 16:00:55 +00:00
joerg
49cf844ece
Add a const for the oid list.
2014-06-11 14:05:28 +00:00
joerg
539332ecd5
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).
2014-06-10 09:38:30 +00:00
joerg
74b1011998
Inline trivial helper function.
2014-05-30 22:20:48 +00:00
joerg
79c2ddee71
Kill __P. Use static.
2014-05-30 02:31:40 +00:00
joerg
4c68dd0971
Remove !NetBSD code.
2014-05-30 02:28:07 +00:00
rmind
2286cc983b
netstat(1) and ifmcstat(8): ifnet was renamed to ifnet_list, PR/48850.
2014-05-30 01:44:21 +00:00
christos
94a96ec4ae
use new scopeid functions
2013-10-19 17:16:25 +00:00
seanb
c3008a4839
Ensure entire sockaddr_dl is obtained. May not have
...
been the case previously for interfaces with long names.
2012-10-26 16:52:52 +00:00
lukem
96bb91fe3c
Fix WARNS=4 issues (-Wextra -Wshadow)
2009-04-19 07:49:07 +00:00
itojun
b95181fc9b
NI_WITHSCOPEID was not picked up by IETF standardization process.
2004-11-16 05:59:32 +00:00
simonb
8cd68a2ff9
Setting BINMODE=555 is redundant, as is setting BIN{OWN,GRP} of we're
...
using the default BINMODE.
2002-08-02 03:58:09 +00:00
itojun
b12a7f19d9
drop setgid. suggested by deraadt
2001-06-26 17:10:33 +00:00
itojun
d8212a986b
sync with latest kame version
2000-10-15 11:45:16 +00:00
bjh21
4e3f859aad
Render what text there is into something closer to English.
...
Credit the WIDE project, since the licence requests that.
2000-10-14 21:10:38 +00:00
itojun
2925a0d65b
print addresses in extended scoped address notation.
...
print reference count for multicast group information.
(sync with recent kame)
2000-02-26 08:13:25 +00:00
itojun
94a0a3b5f3
align message a bit better.
2000-02-02 05:18:32 +00:00
itojun
4d9ae69b8a
bring in latest KAME tree. show kludge entry.
2000-02-02 05:04:17 +00:00
itojun
4265f28e51
sync with latest KAME. cleanup on interface type determination.
1999-12-09 15:34:19 +00:00
itojun
cc554ec648
follow RFC2553 (sync with recent KAME):
...
s/IN6_IS_ADDR_ANY/IN6_IS_ADDR_UNSPECIFIED/
1999-09-03 04:31:48 +00:00
itojun
6002e3435e
fix buffer overrun on kvm_openfiles, last argument.
...
From: Geoff Wing <gcw@pobox.com>
1999-07-07 00:28:29 +00:00
itojun
26c3d764fd
add NetBSD RCS ID.
1999-07-06 13:14:54 +00:00
itojun
4512445795
ifmcstat: show multicast groups currently joined (in per-interface manner).
1999-07-01 20:41:49 +00:00