From owner-freebsd-arch Mon Dec 11 4:47:52 2000 From owner-freebsd-arch@FreeBSD.ORG Mon Dec 11 04:47:50 2000 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from oden.exmandato.se (oden.exmandato.se [192.71.33.1]) by hub.freebsd.org (Postfix) with ESMTP id DDED937B400 for ; Mon, 11 Dec 2000 04:47:49 -0800 (PST) Received: from servicefactory.se (root@oden.exmandato.se [192.71.33.1]) by oden.exmandato.se (8.8.8/8.8.5) with ESMTP id NAA00319; Mon, 11 Dec 2000 13:44:41 +0100 (MET) Sender: jonas@oden.exmandato.se Message-ID: <3A34BE26.8F2876B@servicefactory.se> Date: Mon, 11 Dec 2000 12:44:38 +0100 From: Jonas Bulow X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Poul-Henning Kamp Cc: Dag-Erling Smorgrav , Hajimu UMEMOTO , arch@FreeBSD.ORG Subject: Re: %a and %A formats References: <99149.976465929@critter> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Poul-Henning Kamp wrote: > > In message , Dag-Erling Smorgrav writes: > >Hajimu UMEMOTO writes: > >> I don't like this. I've tired enough to address af dependent > >> programming. What character will you introduce for IPv7 or IPv8...? > >> Furthermore, IPv6 address has scope that IPv4 doesn't have. %a should > >> takes struct sockaddr * for the argument instead of struct in_addr *, > >> and should be address independent. > > > >Many (if not most) of the places in the kernel that need this don't > >have a struct sockaddr available. > > What we *really* need is a %{type} construct with dynmically > loadable renderes for different types. Something like http://www.research.att.com/sw/tools/sfio/sfio-fmt.ps ? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message