From owner-svn-src-all@FreeBSD.ORG Thu Nov 12 06:48:16 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 805C1106574A; Thu, 12 Nov 2009 06:48:16 +0000 (UTC) (envelope-from antoine.brodin.freebsd@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by mx1.freebsd.org (Postfix) with ESMTP id 929928FC1C; Thu, 12 Nov 2009 06:48:15 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id e12so1707900fga.13 for ; Wed, 11 Nov 2009 22:48:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=tPQDCmY/Qh29OjObjwpj6v4iF32DXKdOx4dwdlDJ2Po=; b=TwQN3suJAqNjC8YDgA6wSuPqo4CF9IulAtzo96XzOsAI3sa0wnhLqEcf5C5S9DpC9B Doxn/UTWkDXIbA6K6ras+7+/QuNe5jo5MOnQTEOSYFRRBlOBabE139u8TWvlQiBbMa7R RoAAiARHkaOdoaobcd/BbAZHIzSsCOyIPVfNw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=KSWzSmXUuUdm1ES5loZw91wMoC38XLVS9g9mg6/qYLKBDV+bCH2NpbZI4/7A7mQaT5 6d7DSw+eTi0w7HPi2+RPU7b05f5rLIMN8qT3GizXPHDbCFXUOZvATyuIXbqGmPZh5zuN 8jBSLXqX5izV+XYmNaqDS0/cOmBTB4fVpfFmM= MIME-Version: 1.0 Sender: antoine.brodin.freebsd@gmail.com Received: by 10.239.163.195 with SMTP id q3mr249422hbd.108.1258008494295; Wed, 11 Nov 2009 22:48:14 -0800 (PST) In-Reply-To: <200911112130.nABLUw9b007768@svn.freebsd.org> References: <200911112130.nABLUw9b007768@svn.freebsd.org> Date: Thu, 12 Nov 2009 07:48:14 +0100 X-Google-Sender-Auth: baa9159c7d642515 Message-ID: From: Antoine Brodin To: Xin LI Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r199201 - in head: contrib/libpcap sbin/ifconfig share/man/man4 sys/kern sys/net sys/sys X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Nov 2009 06:48:16 -0000 On Wed, Nov 11, 2009 at 10:30 PM, Xin LI wrote: > Author: delphij > Date: Wed Nov 11 21:30:58 2009 > New Revision: 199201 > URL: http://svn.freebsd.org/changeset/base/199201 > > Log: > =A0Add interface description capability as inspired by OpenBSD. > > =A0MFC after: =A0 =A03 months > > Modified: > =A0head/contrib/libpcap/inet.c > =A0head/sbin/ifconfig/ifconfig.8 > =A0head/sbin/ifconfig/ifconfig.c > =A0head/share/man/man4/netintro.4 > =A0head/sys/kern/kern_jail.c > =A0head/sys/net/if.c > =A0head/sys/net/if.h > =A0head/sys/net/if_var.h > =A0head/sys/sys/param.h > =A0head/sys/sys/priv.h > =A0head/sys/sys/sockio.h ... > Modified: head/sys/net/if_var.h > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/sys/net/if_var.h =A0 =A0 =A0 Wed Nov 11 21:18:27 2009 =A0 =A0 = =A0 =A0(r199200) > +++ head/sys/net/if_var.h =A0 =A0 =A0 Wed Nov 11 21:30:58 2009 =A0 =A0 = =A0 =A0(r199201) > @@ -198,6 +198,7 @@ struct ifnet { > =A0 =A0 =A0 =A0void =A0 =A0*if_pf_kif; > =A0 =A0 =A0 =A0void =A0 =A0*if_lagg; =A0 =A0 =A0 =A0 =A0 =A0 =A0 /* lagg = glue */ > =A0 =A0 =A0 =A0u_char =A0 if_alloctype; =A0 =A0 =A0 =A0 =A0/* if_type at = time of allocation */ > + =A0 =A0 =A0 struct sbuf *if_description; =A0 =A0/* interface descriptio= n */ > > =A0 =A0 =A0 =A0/* > =A0 =A0 =A0 =A0 * Spare fields are added so that we can modify sensitive = data > @@ -205,7 +206,7 @@ struct ifnet { > =A0 =A0 =A0 =A0 * be used with care where binary compatibility is require= d. > =A0 =A0 =A0 =A0 */ > =A0 =A0 =A0 =A0char =A0 =A0 if_cspare[3]; > - =A0 =A0 =A0 void =A0 =A0*if_pspare[8]; > + =A0 =A0 =A0 void =A0 =A0*if_pspare[7]; > =A0 =A0 =A0 =A0int =A0 =A0 if_ispare[4]; > =A0}; Hi Delphij, Doesn't this break ABI gratuitously? (I think it changes the size of struct ifnet) Cheers, Antoine