cvs commit: src/sys/net if.c if.h if_ethersubr.c if_llc.h if_types.h if_var.h src/sys/netinet if_ether.c src/sys/sys sockio.h

Bruce M Simpson bms at spc.org
Mon Jun 6 11:52:31 GMT 2005


On Mon, Jun 06, 2005 at 06:14:54AM +0200, Max Laier wrote:
> ifconfig uses plain ioctl's for that, it doesn't know anything about struct 
> ifnet.  What suffers from changes like this are programs that use kmem(4) to 
> access the ifnet list directly.  A grep turns up: routed(8), ifmcstat(8) and 
> netstat(1), but there might be others.  A buildworld is best when in doubt.

Yay. I knew I'd be vindicated one day for adding redundant functionality
to netstat (netstat -g's Group Memberships vs ifmcstat). :-)

I say we keep netstat -g and nuke ifmcstat -- it's not even useful for the
'I've got a coredump file here and I want to know what the multicast groups
were when I took the dump' situation as it takes no other arguments.

If we need *that* functionality it should go elsewhere as per Brooks'
suggestion to me in private email, IMHO.

BMS
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 167 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20050606/b82545da/attachment.bin


More information about the cvs-src mailing list