From owner-freebsd-current Sat Jan 22 17:47:10 2000 Delivered-To: freebsd-current@freebsd.org Received: from awfulhak.org (dynamic-1.max4-du-ws.dialnetwork.pavilion.co.uk [212.74.9.129]) by hub.freebsd.org (Postfix) with ESMTP id E9DBC14FB0; Sat, 22 Jan 2000 17:47:01 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [172.16.0.12]) by awfulhak.org (8.9.3/8.9.3) with ESMTP id BAA20842; Sun, 23 Jan 2000 01:28:30 GMT (envelope-from brian@lan.awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost.lan.Awfulhak.org [127.0.0.1]) by hak.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id BAA02749; Sun, 23 Jan 2000 01:28:27 GMT (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200001230128.BAA02749@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.1.0 09/18/1999 To: Dag-Erling Smorgrav Cc: Brian Somers , current@FreeBSD.ORG, Jordan Hubbard , Alfred Perlstein , brian@hak.lan.Awfulhak.org Subject: Re: Warning: ioctl(... TUNSLMODE ...) to be depricated.... In-Reply-To: Message from Dag-Erling Smorgrav of "22 Jan 2000 02:12:40 +0100." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 23 Jan 2000 01:28:27 +0000 From: Brian Somers 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). [half-understanding-grumble] This sounds like a bit of a hack :-( I was seconds away from nuking TUNSLMODE ;oD [put that axe away !] [/half-understanding-grumble] I'll leave the support there, but TUNSIFHEAD will disable TUNSLMODE and vice versa. > DES > -- > Dag-Erling Smorgrav - des@flood.ping.uio.no -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message