Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jun 2005 06:14:54 +0200
From:      Max Laier <max@love2party.net>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org, thompsa@FreeBSD.org
Subject:   Re: 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
Message-ID:  <200506060615.03647.max@love2party.net>
In-Reply-To: <20050605.211805.76955371.imp@bsdimp.com>
References:  <200506050313.j553DDw0014630@repoman.freebsd.org> <20050605.211805.76955371.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Monday 06 June 2005 05:18, M. Warner Losh wrote:
> In message: <200506050313.j553DDw0014630@repoman.freebsd.org>
>
>             Andrew Thompson <thompsa@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@freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier@EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQBCo83HXyyEoT62BG0RAoNkAJ4oe4MedaFtRAJ4leTM7QZHpEJknACfRDoD
7Oh1C6U4dsfk9AbI+IGW4mA=
=DeDK
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506060615.03647.max>