From owner-freebsd-net@FreeBSD.ORG Mon Jan 19 12:06:44 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 48EE216A4CE for ; Mon, 19 Jan 2004 12:06:44 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id A798143DA0 for ; Mon, 19 Jan 2004 12:05:55 -0800 (PST) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.10/8.12.10) with ESMTP id i0JK5kCf098297; Mon, 19 Jan 2004 21:05:47 +0100 (CET) (envelope-from phk@phk.freebsd.dk) To: Garrett Wollman From: "Poul-Henning Kamp" In-Reply-To: Your message of "Mon, 19 Jan 2004 15:02:28 EST." <200401192002.i0JK2SJZ058752@khavrinen.lcs.mit.edu> Date: Mon, 19 Jan 2004 21:05:46 +0100 Message-ID: <98296.1074542746@critter.freebsd.dk> cc: net@FreeBSD.ORG Subject: Re: Multihomed UDP server X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jan 2004 20:06:44 -0000 In message <200401192002.i0JK2SJZ058752@khavrinen.lcs.mit.edu>, Garrett Wollman writes: >< said: > >> I'm considering ways to make sendmsg(2)/recvmsg(2) DTRT, and my >> current candidate is give them a flag bit which says "msg_name has >> both addresses". > >Um, they already do the right thing. That's what the IP_RECVDESTADDR >option (and its dual whose name I forget right now) is all about. Yeah, I found that out. Now, where on the earth is that documented ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.