summaryrefslogtreecommitdiff
path: root/sys/net/if_tun.c
AgeCommit message (Expand)Author
2016-04-13We're always ready! So send IFQ_SET_READY() to the bitbucket.Martin Pieuchot
2016-03-01Set IFF_MULTICAST flag on tun(4) interfaces so IPv6 addresses can be assigned.Stefan Sperling
2016-01-31Convert to ulmin and uiomove to prevent integer truncations.Stefan Kempf
2016-01-07Make open(O_NONBLOCK) of tun, tap, and bpf behave like open+ioctl(FIONBIO)Philip Guenther
2015-12-05Make pppx pass packets with npppd through the device. This makes pppx workYASUOKA Masahiko
2015-11-20Prefer if_get() over if_ref() when checking if the interface has beenMartin Pieuchot
2015-11-20dont needlessly clear IFF_OACTIVE.David Gwynne
2015-11-20if we deq m0, we should probably send it to bpf, not m.David Gwynne
2015-11-20shuffle struct ifqueue so in flight mbufs are protected by a mutex.David Gwynne
2015-10-25arp_ifinit() is no longer required.Martin Pieuchot
2015-10-25Introduce if_rtrequest() the successor of ifa_rtrequest().Martin Pieuchot
2015-10-24lookup tap devices in tapkqfilter, not tun devices.David Gwynne
2015-10-23Split up tun(4) into tun(4) & tap(4). Killing the link0 magic to switchClaudio Jeker
2015-09-10dont leak an ifp reference if tun isnt ready to read.David Gwynne
2015-09-09if_put after if_get.David Gwynne
2015-09-01Replace sockaddr casts with the proper satosin(), ... calls.Alexander Bluhm
2015-08-28Fix compiling a kernel without NBPFILTER > 0.Reyk Floeter
2015-07-20Remove splassert(IPL_NET) from if_input().Martin Pieuchot
2015-07-15m_freem() can handle NULL, do not check for this condition beforehands.Theo de Raadt
2015-07-08MFREE(9) is dead, long live m_freem(9)!Martin Pieuchot
2015-06-30Rename if_output() into if_enqueue() to avoid confusion with commentsMartin Pieuchot
2015-06-24Increment if_ipackets in if_input().Martin Pieuchot
2015-06-16Store a unique ID, an interface index, rather than a pointer to theMartin Pieuchot
2015-06-01Convert tun(4) to if_input().Martin Pieuchot
2015-05-26move add_net_randomness from ether_input to the if_input task.David Gwynne
2015-05-20Do not increment if_opackets in if_output(). It might make sense to doMartin Pieuchot
2015-05-19splx should also be called in the error case, fix a regressionMartin Pieuchot
2015-05-15Remove useless comments mentioning ether_output().Martin Pieuchot
2015-05-15Introduce if_output(), a function do to the last steps before enqueuingMartin Pieuchot
2015-04-30Do not free & reallocate a new chunk of memory for the interfaceMartin Pieuchot
2015-04-29Use if_get() after every tsleep(), in case the bottom half of the driverTheo de Raadt
2015-04-15Fix a typo introduced in the niq_enqueue() conversion.Martin Pieuchot
2015-04-10replace the use of ifqueues for most input queues serviced by netisrDavid Gwynne
2015-04-01Kill useless comments talking about ether_input().Martin Pieuchot
2015-03-18remove the congestion handling from struct ifqueue.David Gwynne
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2015-02-10First step towards making uiomove() take a size_t size argument:Miod Vallat
2015-01-21Delete option COMPAT_43: support for pre-sa_len binaries has been obsoletePhilip Guenther
2014-12-19unifdef INET in net code as a precursor to removing the pretend option.Ted Unangst
2014-10-21tun(4) has a pipex session which is used for multicast internally, itYASUOKA Masahiko
2014-09-08remove uneeded route.h includesJonathan Gray
2014-07-22Fewer <netinet/in_systm.h> !Martin Pieuchot
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
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