summaryrefslogtreecommitdiff
path: root/sys/net/if_tun.c
AgeCommit message (Expand)Author
2014-05-05Use a custom ifa_rtrequest function for point-to-point interfacesMartin Pieuchot
2014-04-22Remove some altq tentacles.Martin Pieuchot
2014-04-18reaching into altq outside #ifdef ALTQ is bad, mmkay? ok claudioHenning Brauer
2014-04-14"struct pkthdr" holds a routing table ID, not a routing domain one.Martin Pieuchot
2014-03-30Eliminates struct pcred by moving the real and saved ugids intoPhilip Guenther
2013-10-24Remove the number of in6_var.h inclusions by moving some functions andMartin Pieuchot
2013-10-23Remove the number of in_var.h inclusions by moving some functions andMartin Pieuchot
2013-10-19Uniformize drivers doing nothing with their multicast filters to makeMartin Pieuchot
2013-10-17The header file netinet/in_var.h included netinet6/in6_var.h. ThisAlexander Bluhm
2013-10-04SIOCSIFBRDADDR is not passed to the per-driver ioctl function, so itMartin Pieuchot
2013-05-25set the IFF_RUNNNING flag when recreating an interface after theMike Belopuhov
2013-03-28do not include machine/cpu.h from a .c file; it is the responsibility ofTheo de Raadt
2013-03-26Remove various read-only *maxlen variables and use IFQ_MAXLEN directly.Martin Pieuchot
2011-07-09begone, fucking rotten appletalk shit. ok roomHenning Brauer
2011-07-07use IF_LEN/IFQ_LEN to access and ifqueue's length field. ryan okHenning Brauer
2011-07-02kqueue attach functions should return an errno or 0, not a plain 1. FixNicholas Marriott
2010-09-23If tunread() fails, we should increment if_oerrors, not if_ierrors.Matthew Dempsky
2010-09-22Don't bother calling suser() in tunopen().Matthew Dempsky
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