Home | History | Annotate | Download | only in net
History log of /src/sys/net/if_tun.h
RevisionDateAuthorComments
 1.22  13-Mar-2022  riastradh tun(4): Omit TUN_RWAIT micro-optimization.

cv_broadcast aleady has a fast path for no-waiters.
 1.21  13-Mar-2022  riastradh tun(4): Add missing includes in if_tun.h.
 1.20  26-Jan-2017  skrll Make MP-safe and use kmem(9)

Mostly from rmind-smpnet
 1.19  06-Sep-2015  dholland branches: 1.19.2; 1.19.4;
More on PR 41200: headers that declare ioctls should include sys/ioccom.h.
This covers (I think) all the MI headers outside of external/ (and dist/).
 1.18  18-Oct-2014  snj branches: 1.18.2;
src is too big these days to tolerate superfluous apostrophes. It's
"its", people!
 1.17  28-Jan-2012  rmind branches: 1.17.6; 1.17.10;
Replace tun_lock with mutex(9). XXX: too far from being MP-safe yet.
 1.16  24-Apr-2008  ad branches: 1.16.36; 1.16.40;
Network protocol interrupts can now block on locks, so merge the globals
proclist_mutex and proclist_lock into a single adaptive mutex (proc_lock).
Implications:

- Inspecting process state requires thread context, so signals can no longer
be sent from a hardware interrupt handler. Signal activity must be
deferred to a soft interrupt or kthread.

- As the proc state locking is simplified, it's now safe to take exit()
and wait() out from under kernel_lock.

- The system spends less time at IPL_SCHED, and there is less lock activity.
 1.15  04-Apr-2006  rpaulo branches: 1.15.58; 1.15.60;
Change the number of TUN[GS]IFHEAD to avoid collision with if_pp.
Noticed by Simon Burge.
 1.14  03-Apr-2006  rpaulo Implement TUN_IFHEAD, the missing piece that was breaking old applications.
 1.13  11-Dec-2005  christos branches: 1.13.4; 1.13.6; 1.13.8; 1.13.10; 1.13.12;
merge ktrace-lwp.
 1.12  26-Feb-2005  perry branches: 1.12.4;
nuke trailing whitespace
 1.11  21-Sep-2003  jdolecek branches: 1.11.8; 1.11.10;
cleanup & uniform descriptor owner handling:
* introduce fsetown(), fgetown(), fownsignal() - this sets/retrieves/signals
the owner of descriptor, according to appropriate sematics
of TIOCSPGRP/FIOSETOWN/SIOCSPGRP/TIOCGPGRP/FIOGETOWN/SIOCGPGRP ioctl; use
these routines instead of custom code where appropriate
* make every place handling TIOCSPGRP/TIOCGPGRP handle also FIOSETOWN/FIOGETOWN
properly, and remove the translation of FIO[SG]OWN to TIOC[SG]PGRP
in sys_ioctl() & sys_fcntl()
* also remove the socket-specific hack in sys_ioctl()/sys_fcntl() and
pass the ioctls down to soo_ioctl() as any other ioctl

change discussed on tech-kern@
 1.10  31-Oct-2001  atatat branches: 1.10.16;
Turn the tun device/network interface into a cloning device.
 1.9  12-Dec-2000  thorpej branches: 1.9.2; 1.9.4; 1.9.8;
Adapt to bpfattach() changes, and further centralize the bpfattach()
and bpfdetach() calls into link-type subroutines where possible.
 1.8  18-Mar-1998  tv branches: 1.8.6; 1.8.14;
PR #2736: wrap the softc in #ifdef _KERNEL so userland can include this
file to get at the ioctl values without barfing on the softc
 1.7  05-Jan-1998  perry Fix imported RCS keyword slightly
 1.6  25-Jun-1996  pk A couple of emulation enhancements from der mouse's PR#2411:
- ability to be either a BROADCAST or POINTTOPOINT interface.
- a humble beginning of link-layer addressing (differs from PR
by using a `struct sockaddr' instead of single byte).
 1.5  29-Jun-1994  cgd New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
 1.4  03-May-1994  deraadt fixes from <brad@fcr.com> who claims it now works correctly
 1.3  13-Dec-1993  deraadt change MTU to 1500 bytes. Should be settable?
 1.2  13-Dec-1993  deraadt tunnel driver cleanup done by Brad Parker <brad@fcr.com> and myself
 1.1  14-Nov-1993  deraadt branches: 1.1.2;
cleaned up version of the tunnel driver
 1.1.2.2  14-Nov-1993  deraadt cleaned up version of the tunnel driver
 1.1.2.1  14-Nov-1993  deraadt file if_tun.h was added on branch magnum on 1993-11-14 20:07:24 +0000
 1.8.14.1  13-Dec-2000  bouyer Sync with HEAD (for UBC fixes).
 1.8.6.1  11-Dec-1998  kenh The beginnings of interface detach support. Still some bugs, but mostly
works for me.

This work was originally by Bill Studenmund, and cleaned up by me.
 1.9.8.1  12-Nov-2001  thorpej Sync the thorpej-mips-cache branch with -current.
 1.9.4.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.9.2.1  14-Nov-2001  nathanw Catch up to -current.
 1.10.16.4  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.10.16.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.10.16.2  18-Sep-2004  skrll Sync with HEAD.
 1.10.16.1  03-Aug-2004  skrll Sync with HEAD
 1.11.10.1  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.11.8.1  29-Apr-2005  kent sync with -current
 1.12.4.1  21-Jun-2006  yamt sync with head.
 1.13.12.1  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.13.10.1  19-Apr-2006  elad sync with head.
 1.13.8.1  11-Apr-2006  yamt sync with head
 1.13.6.1  22-Apr-2006  simonb Sync with head.
 1.13.4.1  09-Sep-2006  rpaulo sync with head
 1.15.60.1  18-May-2008  yamt sync with head.
 1.15.58.1  02-Jun-2008  mjf Sync with HEAD.
 1.16.40.1  18-Feb-2012  mrg merge to -current.
 1.16.36.1  17-Apr-2012  yamt sync with head
 1.17.10.1  17-Jul-2013  rmind Checkpoint work in progress:
- Move PCB structures under __INPCB_PRIVATE, adjust most of the callers
and thus make IPv4 PCB structures mostly opaque. Any volunteers for
merging in6pcb with inpcb (see rpaulo-netinet-merge-pcb branch)?
- Move various global vars to the modules where they belong, make them static.
- Some preliminary work for IPv4 PCB locking scheme.
- Make raw IP code mostly MP-safe. Simplify some of it.
- Rework "fast" IP forwarding (ipflow) code to be mostly MP-safe. It should
run from a software interrupt, rather than hard.
- Rework tun(4) pseudo interface to be MP-safe.
- Work towards making some other interfaces more strict.
 1.17.6.1  03-Dec-2017  jdolecek update from HEAD
 1.18.2.2  05-Feb-2017  skrll Sync with HEAD
 1.18.2.1  22-Sep-2015  skrll Sync with HEAD
 1.19.4.1  21-Apr-2017  bouyer Sync with HEAD
 1.19.2.1  20-Mar-2017  pgoyette Sync with HEAD

RSS XML Feed