From owner-freebsd-net Mon Jul 16 8:57:15 2001 Delivered-To: freebsd-net@freebsd.org Received: from coconut.itojun.org (coconut.itojun.org [210.160.95.97]) by hub.freebsd.org (Postfix) with ESMTP id 1708237B40A for ; Mon, 16 Jul 2001 08:56:58 -0700 (PDT) (envelope-from itojun@itojun.org) Received: from itojun.org (localhost [127.0.0.1]) by coconut.itojun.org (Postfix) with ESMTP id 5F0544B21; Tue, 17 Jul 2001 00:56:55 +0900 (JST) To: Ian Dowse Cc: freebsd-net@FreeBSD.ORG, Bernd Walter , Hajimu UMEMOTO In-reply-to: iedowse's message of Mon, 16 Jul 2001 16:41:40 +0100. <200107161641.aa27724@salmon.maths.tcd.ie> X-Template-Reply-To: itojun@itojun.org X-Template-Return-Receipt-To: itojun@itojun.org X-PGP-Fingerprint: F8 24 B4 2C 8C 98 57 FD 90 5F B4 60 79 54 16 E2 Subject: Re: how to get AF_LOCAL from getaddrinfo() From: itojun@iijlab.net Date: Tue, 17 Jul 2001 00:56:55 +0900 Message-ID: <14832.995299015@itojun.org> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org i still am not getting your motive... do you have actual applications that use getaddrinfo/getnameinfo for AF_UNIX? >> the change will break a lot of applications. specifically: >Thanks for your comments. I may not have explained this very well; >the proposed change only takes effect when getaddrinfo() is given >a `hints' structure with hints->ai_family set to PF_LOCAL. No >existing applications have any reason to set hints->ai_family to >PF_LOCAL, so they should not see any change in behaviour. i'm sorry. i misread your patch about "explore" portion. but still - how many special case behavior do we want to put? there are a lot of other AFs... which item is included in AF_UNSPEC and which are not? if we want uniformity, we will break existing apps. if we don't want to break existing apps, we need to drop uniformity. it is a hard question to ask... itojun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message