From owner-freebsd-current Fri Jan 21 17:13: 5 2000 Delivered-To: freebsd-current@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 24C8F1568E; Fri, 21 Jan 2000 17:12:59 -0800 (PST) (envelope-from des@flood.ping.uio.no) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id CAA32330; Sat, 22 Jan 2000 02:12:41 +0100 (CET) (envelope-from des@flood.ping.uio.no) To: Brian Somers Cc: current@FreeBSD.ORG, Jordan Hubbard , Alfred Perlstein Subject: Re: Warning: ioctl(... TUNSLMODE ...) to be depricated.... References: <200001210835.IAA00404@hak.lan.Awfulhak.org> From: Dag-Erling Smorgrav Date: 22 Jan 2000 02:12:40 +0100 In-Reply-To: Brian Somers's message of "Fri, 21 Jan 2000 08:35:18 +0000" Message-ID: Lines: 15 User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Brian Somers writes: > Unless there are objections in the next day or two, I'm going to > deprecate the TUNSLMODE ioctl favour of TUNSIFHEAD. Where TUNSLMODE > prepended a sockaddr to each packet, TUNSIFHEAD will instead prepend a > 4-byte network-byte-order address family. Don't take it out quite yet. I asked Alfred to implement TUNSLMODE for a reason; I was working on some VPN software at the time. There are cases where you want a full sockaddr, not just the address family. The next-hop address is not necessarily the same as the destination address, if the interface is in broadcast mode (as opposed to ptp). DES -- Dag-Erling Smorgrav - des@flood.ping.uio.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message