From owner-freebsd-current@FreeBSD.ORG  Tue Nov  5 11:01:18 2013
Return-Path: <owner-freebsd-current@FreeBSD.ORG>
Delivered-To: current@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 ESMTP id 255EC510;
 Tue,  5 Nov 2013 11:01:18 +0000 (UTC)
 (envelope-from glebius@FreeBSD.org)
Received: from cell.glebius.int.ru (glebius.int.ru [81.19.69.10])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 9C0312DAF;
 Tue,  5 Nov 2013 11:01:16 +0000 (UTC)
Received: from cell.glebius.int.ru (localhost [127.0.0.1])
 by cell.glebius.int.ru (8.14.7/8.14.7) with ESMTP id rA5B1E6p007329
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO);
 Tue, 5 Nov 2013 15:01:14 +0400 (MSK)
 (envelope-from glebius@FreeBSD.org)
Received: (from glebius@localhost)
 by cell.glebius.int.ru (8.14.7/8.14.7/Submit) id rA5B1Etu007328;
 Tue, 5 Nov 2013 15:01:14 +0400 (MSK)
 (envelope-from glebius@FreeBSD.org)
X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to
 glebius@FreeBSD.org using -f
Date: Tue, 5 Nov 2013 15:01:14 +0400
From: Gleb Smirnoff <glebius@FreeBSD.org>
To: current@FreeBSD.org
Subject: axing KAME interface ioctls
Message-ID: <20131105110114.GQ1467@FreeBSD.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.22 (2013-10-16)
Cc: net@FreeBSD.org
X-BeenThere: freebsd-current@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Discussions about the use of FreeBSD-current
 <freebsd-current.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-current>, 
 <mailto:freebsd-current-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-current>
List-Post: <mailto:freebsd-current@freebsd.org>
List-Help: <mailto:freebsd-current-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-current>,
 <mailto:freebsd-current-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Nov 2013 11:01:18 -0000

  Hello.

  Since 1999 we have got some dead code from KAME, namely support for these
ioctls:

	SIOCALIFADDR
	SIOCGLIFADDR
	SIOCDLIFADDR
	SIOCSLIFPHYADDR
	SIOCGLIFPHYADDR

  We don not have any software in base that use (or used) them. The ports
exp-run with SIOC.LIFADDR undefined didn't reveal any port that use them.
I forgot to add SIOC.LIFPHYADDR to exp-run, but pretty sure these are unused,
too.

  What did this ioctls do? They are KAME version of SIOCAIFADDR, and
SIOCSIFPHYADDR respectively. Some operating systems (at least HPUX)
have adopted them, and some software may use them on these systems.
Anyway, in FreeBSD all software always used our native ioctls.

  I hope there is no objections against axing these in head/.

-- 
Totus tuus, Glebius.