History log of /openbsd/sys/net/if_tun.h (Results 1 – 15 of 15)
Revision Date Author Comments
# d7154a99 06-Feb-2007 claudio <claudio@openbsd.org>

Change the behaviour of tun(4) on close.
- if the interface was auto-created by opening a /dev/tun* device it will
auto-destroy on close. This is comparable to ifconfig tun0 destroy and
will r

Change the behaviour of tun(4) on close.
- if the interface was auto-created by opening a /dev/tun* device it will
auto-destroy on close. This is comparable to ifconfig tun0 destroy and
will remove all routes and addresses associated with the interface.
- if the interface was created by ifconfig(8) or hostname.if(5) the interface
is persistent -- it is just marked as not running. Especially routes are no
longer removed when the interface is closed. This is useful for static
setups like the server side of a ssh vpn or static qemu session.
This behaviour is more logic then the half done cleanup that is currently done.
OK mpf@

show more ...


# 7229e1bc 20-Aug-2006 stevesk <stevesk@openbsd.org>

if_tun.c also has this comment so remove duplicate; ok jmc@ krw@


# 494a3c2d 25-Jun-2004 claudio <claudio@openbsd.org>

Add tap aka layer 2 tunneling support to tun(4). It can be enabled by setting
the link0 flag via ifconfig(8). OK markus@, canacar@ also tested by ish@


# 0ff72f70 10-Dec-2002 mickey <mickey@openbsd.org>

renumber the get/set debug ioctls for they conflict w/ ppp, we do not keep the O versions since these are debugging only and should not affect normal functionality; deraadt@ ok


# 4e428664 06-Dec-2002 nate <nate@openbsd.org>

Replace license with something that's actually free.
Approved by original author. Julian.Onions@nexor.co.uk


# e04c8cc2 09-Jun-2001 angelos <angelos@openbsd.org>

By popular demand, protect from multiple inclusion, and fix to use the
same naming style.


# 4be1f690 05-Mar-2001 angelos <angelos@openbsd.org>

TUNSIFMODE ioctl (from NetBSD)


# d44abe74 02-Aug-1998 brian <brian@openbsd.org>

#define TUNMRU as 16384 and allow incoming packets
of up to this size rather than restricting them based
on our MTU.


# 643a56f3 26-Jun-1998 deraadt <deraadt@openbsd.org>

convert DLT_LOOP header to network-order u_int32_t


# 5da95a65 02-Aug-1997 deraadt <deraadt@openbsd.org>

pass address family as host-byte-order u_int32_t. this fixes bpf. add a
note to the bottom of tun.4 to indicate that this is a binary
incompatibility with older versions, and describe all 3 revision

pass address family as host-byte-order u_int32_t. this fixes bpf. add a
note to the bottom of tun.4 to indicate that this is a binary
incompatibility with older versions, and describe all 3 revisions this
has gone through. everyone -- recompile your code that uses tun.

show more ...


# 0c29d253 29-Jul-1997 deraadt <deraadt@openbsd.org>

indent


# 4a9bdd9f 16-May-1996 mickey <mickey@openbsd.org>

drom NetBSD PR#2411:
add bcast support, do if_flags setable, minor cleanup.


# d724e01a 21-Apr-1996 deraadt <deraadt@openbsd.org>

partial sync with netbsd 960418, more to come


# 7221e718 20-Feb-1996 mickey <mickey@openbsd.org>

bug fixes, speedups. multiple AFs support.
bpf fixes.


# df930be7 18-Oct-1995 deraadt <deraadt@openbsd.org>

initial import of NetBSD tree