From owner-freebsd-net@FreeBSD.ORG Tue Nov 12 19:48:49 2013 Return-Path: Delivered-To: net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 25EEEEC2; Tue, 12 Nov 2013 19:48:49 +0000 (UTC) Received: from vps.hungerhost.com (vps.hungerhost.com [216.38.53.176]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E98C9209D; Tue, 12 Nov 2013 19:48:48 +0000 (UTC) Received: from [209.249.190.124] (port=51204 helo=dhcp-10-2-210-27.hudson-trading.com) by vps.hungerhost.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.80.1) (envelope-from ) id 1VgJw8-0005lC-Gq; Tue, 12 Nov 2013 14:47:44 -0500 Content-Type: multipart/signed; boundary="Apple-Mail=_7DEF8B22-DD49-40D3-B1F9-68EEF234FB98"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\)) Subject: Re: axing KAME interface ioctls From: George Neville-Neil In-Reply-To: <20131105120240.GA7577@FreeBSD.org> Date: Tue, 12 Nov 2013 14:47:48 -0500 Message-Id: <6FE2CC33-D647-436D-A40D-7BEDC25D9619@neville-neil.com> References: <20131105110114.GQ1467@FreeBSD.org> <20131105120240.GA7577@FreeBSD.org> To: Gleb Smirnoff X-Mailer: Apple Mail (2.1822) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vps.hungerhost.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - neville-neil.com X-Get-Message-Sender-Via: vps.hungerhost.com: authenticated_id: gnn@neville-neil.com Cc: current@FreeBSD.org, net@FreeBSD.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Nov 2013 19:48:49 -0000 --Apple-Mail=_7DEF8B22-DD49-40D3-B1F9-68EEF234FB98 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On Nov 5, 2013, at 7:02 , Gleb Smirnoff wrote: > On Tue, Nov 05, 2013 at 03:01:14PM +0400, Gleb Smirnoff wrote: > T> Hello. > T>=20 > T> Since 1999 we have got some dead code from KAME, namely support = for these > T> ioctls: > T>=20 > T> SIOCALIFADDR > T> SIOCGLIFADDR > T> SIOCDLIFADDR > T> SIOCSLIFPHYADDR > T> SIOCGLIFPHYADDR > T>=20 > T> We don not have any software in base that use (or used) them. The = ports > T> exp-run with SIOC.LIFADDR undefined didn't reveal any port that use = them. > T> I forgot to add SIOC.LIFPHYADDR to exp-run, but pretty sure these = are unused, > T> too. > T>=20 > T> What did this ioctls do? They are KAME version of SIOCAIFADDR, = and > T> SIOCSIFPHYADDR respectively. Some operating systems (at least HPUX) > T> have adopted them, and some software may use them on these systems. > T> Anyway, in FreeBSD all software always used our native ioctls. > T>=20 > T> I hope there is no objections against axing these in head/. >=20 > Patch attached. >=20 Please do. Best, George --Apple-Mail=_7DEF8B22-DD49-40D3-B1F9-68EEF234FB98 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iEYEARECAAYFAlKCheQACgkQYdh2wUQKM9LRqgCfTxyySeTkF4lBH2CO4xIVu5nj RaMAnR/OXqQxFk06IBwHW1QyqU8Hjrhu =2hBB -----END PGP SIGNATURE----- --Apple-Mail=_7DEF8B22-DD49-40D3-B1F9-68EEF234FB98--