From owner-freebsd-current@FreeBSD.ORG Sun Jul 29 16:44:27 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B93F1065673 for ; Sun, 29 Jul 2012 16:44:27 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (bird.sbone.de [46.4.1.90]) by mx1.freebsd.org (Postfix) with ESMTP id 29F7A8FC08 for ; Sun, 29 Jul 2012 16:44:27 +0000 (UTC) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 755E325D3A85; Sun, 29 Jul 2012 16:44:19 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 762AFBE856C; Sun, 29 Jul 2012 16:44:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id BWd94ROqVhKg; Sun, 29 Jul 2012 16:44:17 +0000 (UTC) Received: from nv.sbone.de (nv.sbone.de [IPv6:fde9:577b:c1a9:31::2013:138]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 150E8BE84EF; Sun, 29 Jul 2012 16:44:16 +0000 (UTC) Date: Sun, 29 Jul 2012 16:44:16 +0000 (UTC) From: "Bjoern A. Zeeb" To: Luigi Rizzo In-Reply-To: <20120729095833.GB80946@onelab2.iet.unipi.it> Message-ID: References: <20120725155211.GA33971@onelab2.iet.unipi.it> <20120729095833.GB80946@onelab2.iet.unipi.it> X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: current@freebsd.org Subject: Re: RFC: libkern version of inet_ntoa_r X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jul 2012 16:44:27 -0000 On Sun, 29 Jul 2012, Luigi Rizzo wrote: > On Sat, Jul 28, 2012 at 10:14:10PM +0000, Bjoern A. Zeeb wrote: >> On Wed, 25 Jul 2012, Luigi Rizzo wrote: .. > Given that libkern has inet_ntop, with the same arguments of the > userspace version, we'd be much better off with the following > course of action: > > 1. replace calls to inet_ntoa_r() with inet_ntop() > This needs to be done only in the kernel, because the libc version > is never used at least in the source tree (maybe some port does). > > 2. nuke inet_ntoa_r() from libkern I am Ok with that I think (without looking at source implications) but I guess you'll post a patch. > 3. nuke inet_ntoa_r() from libc I am not sure we can easily do that (despite not being used in base). I fear some broader research into ports is needed, or as a shortcut, does linux have an inet_ntoa_r()? -- Bjoern A. Zeeb You have to have visions! Stop bit received. Insert coin for new address family.