From owner-freebsd-net Tue Nov 7 14:13:51 2000 Delivered-To: freebsd-net@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id 94E0937B479 for ; Tue, 7 Nov 2000 14:13:48 -0800 (PST) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.3/8.9.3) id RAA87555; Tue, 7 Nov 2000 17:13:46 -0500 (EST) (envelope-from wollman) Date: Tue, 7 Nov 2000 17:13:46 -0500 (EST) From: Garrett Wollman Message-Id: <200011072213.RAA87555@khavrinen.lcs.mit.edu> To: Luigi Rizzo Cc: tmoestl@gmx.net, freebsd-net@FreeBSD.ORG Subject: Re: setting source address for UDP packets In-Reply-To: <200011072202.OAA03771@iguana.aciri.org> References: <200011072156.QAA87433@khavrinen.lcs.mit.edu> <200011072202.OAA03771@iguana.aciri.org> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org < said: > you mean by adding a sendto_from() system call where you also pass > the address for the source ? > Or [really dirty hack here] an extended sendto() where the sockaddr > really points to an array of two addresses (with "tolen" set > accordingly) ? No, I mean by adding a control-data interpreter to accept IP_RECVDSTADDR control messages and set the `from' address accordingly. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message