Skip site navigation (1)Skip section navigation (2)
Date:      22 Jan 2000 02:12:40 +0100
From:      Dag-Erling Smorgrav <des@flood.ping.uio.no>
To:        Brian Somers <brian@Awfulhak.org>
Cc:        current@FreeBSD.ORG, Jordan Hubbard <jkh@FreeBSD.ORG>, Alfred Perlstein <bright@cygnus.rush.net>
Subject:   Re: Warning: ioctl(... TUNSLMODE ...) to be depricated....
Message-ID:  <xzppuuulxiv.fsf@flood.ping.uio.no>
In-Reply-To: Brian Somers's message of "Fri, 21 Jan 2000 08:35:18 %2B0000"
References:  <200001210835.IAA00404@hak.lan.Awfulhak.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Brian Somers <brian@Awfulhak.org> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzppuuulxiv.fsf>