summaryrefslogtreecommitdiff
path: root/sys/net/if_tun.c
AgeCommit message (Expand)Author
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
2002-03-14First round of __P removal in sysTodd C. Miller
2001-12-10use queue.h macros for TAILQ operationsJason Wright
2001-08-21Add support for SIOCADDMULTI & SIOCDELMULTI; NetBSDbrian
2001-08-03simplify previous fix (0-length mbuf in mbuf chain). from freebsdJun-ichiro itojun Hagino
2001-08-02do not exit loop even if m_len == 0. it is legal to have an mbuf withJun-ichiro itojun Hagino
2001-06-27introduce the ALTQ queue macros into sys/net files.Kenjiro Cho
2001-06-15change the meaning of ifnet.if_lastchange to meet RFC1573 ifLastChange.Jun-ichiro itojun Hagino
2001-05-16No need to check M_WAIT/M_WAITOK malloc return values. (art@ ok)Hakan Olsson
2001-04-23s = splimp(); ... s = splimp(); ... splx(x); ... splx(s); is a bad idea.Artur Grabowski
2001-03-05TUNSIFMODE ioctl (from NetBSD)Angelos D. Keromytis
2001-02-06allow configuring number of tunnel ifacesMichael Shalayeff
2000-12-05Change bpfattach() link layer type to DLT_LOOP making pcap generatedHugh Graham
2000-03-21add SIOCGIFMTU/SIOCSIFMTU; remediate redundant code of tun, ppp, sppp; chris@ okMichael Shalayeff
1999-12-08bring in KAME IPv6 code, dated 19991208.Jun-ichiro itojun Hagino
1999-09-29fix byte counters; imain@netidea.comTheo de Raadt
1999-07-24Return EMSGSIZE for zero length writes - don't panic.brian
1999-04-22we don't need to include buf.hArtur Grabowski
1998-08-02#define TUNMRU as 16384 and allow incoming packetsbrian
1998-06-26convert DLT_LOOP header to network-order u_int32_tTheo de Raadt
1997-12-31return error instead of EINTR; brianTheo de Raadt
1997-12-31two missing splx(); one from brian, one from meTheo de Raadt
1997-08-31for non-tty TIOCSPGRP/F_SETOWN/FIOSETOWN pgid setting calls, store uidTheo de Raadt
1997-07-29tun_bpf not neededTheo de Raadt
1997-07-29tell bpf packet header is u_char sized; also indent. spotted by newshamTheo de Raadt
1997-07-24reindentTheo de Raadt
1997-07-23add atalkMichael Shalayeff
1997-02-14limit writes to ifp->if_mtu not TUNMTUTheo de Raadt