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

Max Laier max at love2party.net
Mon Jun 6 04:15:12 GMT 2005


On Monday 06 June 2005 05:18, M. Warner Losh wrote:
> In message: <200506050313.j553DDw0014630 at repoman.freebsd.org>
>
>             Andrew Thompson <thompsa at FreeBSD.org> writes:
> :   Add hooks into the networking layer to support if_bridge. This changes
> : struct ifnet so a buildworld is necessary.
>
> Can one at least ifconfig the IP address of a network interface with a
> new kernel/old ifconfig and old kernel/new ifconfig?

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.

To answer your concern, there should be no problem with ifconfig.

-- 
/"\  Best regards,                      | mlaier at freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier at EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20050606/c57d071e/attachment.bin


More information about the cvs-src mailing list