summaryrefslogtreecommitdiff
path: root/sys/net/if_tun.c
AgeCommit message (Expand)Author
2007-12-20return with ENOTTY instead of EINVAL for unknown ioctl requests.Brad Smith
2007-09-15malloc sweep:Henning Brauer
2007-06-06remove remaining IPX hooks. all inside #ifdef IPX, so no actual changeHenning Brauer
2007-05-26one extern seems to be better than 20 for ifqmaxlen; ok krwJason Wright
2007-05-26More comment typos from Diego Casati. Including winners like funtion, allmost,Kenneth R Westerback
2007-05-03Use if_flags instead of ifr_flags.Marco Pfatschbacher
2007-02-21For TUNSIFMODE protect the if_flags similar to the TUNSIFINFO case.Claudio Jeker
2007-02-16Unbreak ppp(8) over tun(4) by restriciting the flags that can be changedClaudio Jeker
2007-02-06Change the behaviour of tun(4) on close.Claudio Jeker
2007-01-26When switching mode inherit the TUN_NBIO and TUN_ASYNC flags and clearClaudio Jeker
2006-11-10Fix an mbuf leak in an error path. OK brad@Claudio Jeker
2006-11-01poll errors should be POLLERR, not some random E valueTed Unangst
2006-03-25allow bpf(4) to ignore packets based on their direction (inbound orDamien Miller
2006-03-20introduce rt_if_remove which takes care of routing table updates for anHenning Brauer
2006-03-16Switch tun(4) from encapsualting packets into a long mbuf chain over to useClaudio Jeker
2006-03-05change the interface type from IFF_POINTOPOINT to the more correctBrad Smith
2006-03-04With the exception of two other small uncommited diffs this movesBrad Smith
2006-01-11Do not use m_adj() on empty mbufs (m->m_len is uninitialised), instead bumpClaudio Jeker
2005-11-29something in the eurobsdcon route-a-thon broke my simple home networkJolan Luff
2005-11-25move the code to delete routes having a specific interface as outputHenning Brauer
2005-11-21Move contents of sys/select.h to sys/selinfo.h in preparation for aTodd C. Miller
2005-11-17tun devices get created (cloned) automagically when the device is opened.Henning Brauer
2005-11-16small doses of KNFHenning Brauer
2005-06-08huch, more netns shitzHenning Brauer
2005-06-08no more netns handling for the various tunnel devices and loopbackHenning Brauer
2005-05-04set RUNNING on open; from Alexey E. Suslikov; ok henning, claudioMarkus Friedl
2005-05-03typo, automaticaly -> automaticallyBrad Smith
2004-11-11Check IFF_UP at tun_output().Marco Pfatschbacher
2004-11-09big KNF spanking, no change in object file, ecstatic ok from claudioHenning Brauer
2004-11-09use NULL instead of 0 for poiter comparisions,Henning Brauer
2004-07-16remove netiso shitz, millert okHenning Brauer
2004-06-25Add tap aka layer 2 tunneling support to tun(4). It can be enabled by settingClaudio Jeker
2004-04-25check for input queue congestion on those as well and call if_congestion whenHenning Brauer
2004-03-02don't leak mbuf if uiomove fails; from netbsd;Markus Friedl
2004-01-12use klist_invalidate to permit destroy while kqueued. ok mpf@Ted Unangst
2004-01-05stop ifc_destroy() if there are still knotes registered.Marco Pfatschbacher
2003-12-16return error in ifc_destroy; ok deraadt, itojun, cedric, hshoexerMarkus Friedl
2003-12-10de-register. deraadt okJun-ichiro itojun Hagino
2003-12-06support destroy; ok henningMarkus Friedl
2003-12-03add support for ifconfig clone/destroy; ok henning deraadtMarkus Friedl
2003-12-02add kq support from wayne@epipe.com.au and cmaxwell@themanor.net (now that re...Michael Shalayeff
2003-09-23Replace select backends with poll backends. selscan() and pollscan()Todd C. Miller
2003-08-15change arguments to suser. suser now takes the process, and a flagsTed Unangst
2003-06-12in FIONREAD and FREAD, use IFQ_POLL instead of looking at if_snd.ifq_len /Henning Brauer
2003-05-03string fixes; tedu okTheo de Raadt
2003-04-18Add code to set the TUN_* flags for INET6 addresses too. This allows aJason Wright
2003-01-07remove the altq classifier code which is replaced by pf and no longer used.Kenjiro Cho
2002-12-06Replace license with something that's actually free.Nathan Binkert
2002-06-30allocate sockaddr_dl for ifnet in if_alloc_sadl(), as we don't always knowJun-ichiro itojun Hagino
2002-06-06kqueue support for bpf; okay markus@Niels Provos