Skip site navigation (1)Skip section navigation (2)
Date:      10 Dec 2000 17:27:18 +0100
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        Hajimu UMEMOTO <ume@mahoroba.org>
Cc:        arch@freebsd.org
Subject:   Re: %a and %A formats
Message-ID:  <xzpy9xogs2h.fsf@flood.ping.uio.no>
In-Reply-To: Hajimu UMEMOTO's message of "Mon, 11 Dec 2000 00:38:00 %2B0900 (JST)"
References:  <xzppuj0s5da.fsf@flood.ping.uio.no> <20001211.003800.25391776.ume@mahoroba.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hajimu UMEMOTO <ume@mahoroba.org> 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.

DES
-- 
Dag-Erling Smorgrav - des@ofug.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpy9xogs2h.fsf>