summaryrefslogtreecommitdiff
path: root/sys/net/if_tun.c
AgeCommit message (Expand)Author
2006-08-30fix initializerchristos
2006-07-23Use the LWP cached credentials where sane.ad
2006-05-14integrate kauth.elad
2006-04-18Fix another typo... I must be on drugs...rpaulo
2006-04-08IFHEAD and PREPADDR are mutually exclusive. From FreeBSD.rpaulo
2006-04-04Add another bit from FreeBSD that I forgot: in tun_output, don't try to sendrpaulo
2006-04-04Fix a if-clause botched in a previous revision now that we have TUN_IFHEAD.rpaulo
2006-04-03Implement TUN_IFHEAD, the missing piece that was breaking old applications.rpaulo
2006-03-29Add missing break tunwrite() which was causing EAFNOSUPPORT to berpaulo
2006-03-03Some minor KNF.rpaulo
2006-03-03Fix typo in comment.rpaulo
2006-02-28Add full support for IPv6 tunnels. From DEGROOTE Arnaud in PR 32944.rpaulo
2006-02-05Add preliminary/not tested support for IPv6.rpaulo
2005-12-11ANSI function decls and application of static.thorpej
2005-12-11merge ktrace-lwp.christos
2005-01-24Add IFNET_FOREACH and IFADDR_FOREACH macros and start using them.matt
2004-12-06Sprinkle #ifdef INET to make a GENERIC kernel compile with INET undefined.christos
2004-12-04Remove redundant conditional; NTUN is always 1 when this file is compiled.peter
2004-12-04Change ifc_destroy to return an int instead of void, so that itpeter
2004-08-19Factor out the hand-crafting of mbufs from the interface files. Reviewed bychristos
2004-06-06Use bpf_mtap2 in tun(4).dyoung
2004-05-14Fix locking issues noticed by Tom Ivar Helbekkmo on tech-net:pk
2004-05-13Initialize interface type to IFT_TUNNEL as suggested by Erik Änggårdtron
2004-03-01Don't leak memory if a copyin fails.tron
2003-09-22pass signo to fownsignal #ifdef ALTQcl
2003-09-22- pass signo to fownsignal [ok by jd]christos
2003-09-22kill unused variable in #ifdef ALTQ part, to make this compilejdolecek
2003-09-21cleanup & uniform descriptor owner handling:jdolecek
2003-06-29Back out the lwp/ktrace changes. They contained a lot of colateral damage,fvdl
2003-06-28Pass lwp pointers throughtout the kernel, as required, so that the lwpid candarrenr
2003-05-02KNFitojun
2003-05-01bpf_mtap() does not care about M_PKTHDR at the top. M_COPY_PKTHDR has someitojun
2003-03-13Validate pgid arg to TIOCSPGRPdsl
2002-12-25count input/output bytes for tun devicejdolecek
2002-11-26si_ -> sel_christos
2002-10-23merge kqueue branch into -currentjdolecek
2002-09-23Remove breaks after returns, unreachable returns and returns aftersimonb
2002-09-23uio_resid is a size_t (ie, unsigned), so don't check if it's less than 0.simonb
2002-09-06Merge the gehenna-devsw branch into the trunk.gehenna
2002-07-29Make tun interfaces perform auto-creation. This means that if aatatat
2002-03-13suppress -Wunused if !INET6itojun
2002-03-05bring in latest ALTQ from kjc. ALTQify some of the drivers.itojun
2001-11-13remove unnecessary #if NFOO > 0 .... #endif wrapperslukem
2001-11-12add RCSIDslukem
2001-11-05Switch to using queue access macros instead of refering to the membermatt
2001-10-31Turn the tun device/network interface into a cloning device.atatat
2001-08-03simplify previous fix (0-length mbuf in mbuf chain). from freebsditojun
2001-08-02do not break from loop even if m_len == 0. it's valid to haveitojun
2001-04-13Remove the use of splimp() from the NetBSD kernel. splnet()thorpej
2001-01-17Fix a rather annoying problem where the sockaddr_dl which holdsthorpej