summaryrefslogtreecommitdiff
path: root/sys/net/if_tun.c
AgeCommit message (Expand)Author
2010-07-08pipex didn't work on output. Fixed following problems:YASUOKA Masahiko
2010-05-06Remove the incorrect if_media code. It is no longer needed to show and trackClaudio Jeker
2010-01-13cleanup pipex code. ok henning@YASUOKA Masahiko
2010-01-12do not need rndvar.h anymoreTheo de Raadt
2010-01-12Remove simple_unlock() that is mistakenly introduced and add requiredYASUOKA Masahiko
2010-01-12Unify the various fake ethernet generators as ether_fakeaddr() whichTheo de Raadt
2010-01-11Initial import PIPEX. PIPEX(Pppac IP EXtension) is a IP forwardingYASUOKA Masahiko
2009-11-09Every selwakeup() should have a matching KNOTE() (even if kqueue isn'tNicholas Marriott
2009-08-09Tag packets into correct rdomain in tunwrite(). For L2 traffic this will beClaudio Jeker
2009-08-02Preserve joined interface groups when tun(4) is switchedMarco Pfatschbacher
2009-06-04Emulate a link state in tun(4). The link state goes up when the device isClaudio Jeker
2009-02-20Ensure that bpf_mtap() is always called at the same interrupt priorityJoel Sing
2008-10-02First step towards cleaning up the Ethernet driver ioctl handling.Brad Smith
2008-08-04do not count ethernet header twice in if_obytes stats.Damien Bergamini
2008-05-07Prevent virtual interfaces from adding to the random pool.Marco Pfatschbacher
2008-05-06M_PREPEND can set its first parameter to NULL, and all other codeKenneth R Westerback
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