Remove redundant conditional; NTUN is always 1 when this file is compiled.
Also remove tun.h include, since it's no longer needed.
Make ppp a cloning device. Based on the work of Quentin Garnier.
Now that ppp is a cloning interface, detect if we have support for it in
the kernel by examining if it is in the list of cloning devices.
void in arg prototype.
clonify strip and sl.
document recent cloners; hi peter.
Change sysctl -d vm.bufcache to say percent of physical memory not
kernel memory. Addresses PR misc/27233. Approved by atatat@netbsd.org.
Fix previous commit, got bufcache and bufmem messages reversed.
fix compilation issues. my kernel did not have strip...
Some fixes from jmc@openbsd.
Document cloning changes; remove count.
Document that an open call on /dev/tunN also creates new interfaces.
While here, use .Cm for command modifiers.
Bump date since the devices are cloning now.
New sentence, new line.
Fix an obvious typo: scf -> sc.  Discovered while compiling for x68k.
Apply a patch from OpenBSD 3.6 branch (ok yamt@).

MFC:
Fix by dhartmei@

fix a bug that leads to a crash when binat rules of the form
'binat from ... to ... -> (if)' are used, where the interface
is dynamic. reported by kos(at)bastard(dot)net, analyzed by
Pyun YongHyeon.
Fix what must have been an omission: missing brace and a leftover
use of `i', which is no longer defined.  Fixes build problem for ports
not defining __HAVE_GENERIC_SOFT_INTERRUPTS.
Don't forget to call bpfdetach in the clone destroy function.
While here, add a missing static and change some spaces to tabs.
Use ANSI function decls, change a few 0 to NULL.
pasto: simple_lock -> simple_unlock.