aboutsummaryrefslogtreecommitdiff
path: root/sys/net/if_tun.c
Commit message (Expand)AuthorAgeFilesLines
* Don't check IFF_RUNNING in previous change.Hidetoshi Shimokawa2002-10-251-2/+2
* Don't send/recieve packets when the interface is down.Hidetoshi Shimokawa2002-10-231-0/+9
* Don't us an array[1], it just hides where '&' isn't used right.Poul-Henning Kamp2002-10-201-11/+11
* In an SMP environment post-Giant it is no longer safe to blindlyDon Lewis2002-10-031-2/+2
* Introduce support for Mandatory Access Control and extensibleRobert Watson2002-07-311-0/+16
* Make funsetown() take a 'struct sigio **' so that the locking canAlfred Perlstein2002-05-061-1/+1
* Redo the sigio locking.Alfred Perlstein2002-05-011-1/+1
* Replace (deprecated ?) FREE() macro with direct calls to free()Luigi Rizzo2002-04-041-1/+1
* Change the suser() API to take advantage of td_ucred as well as do aJohn Baldwin2002-04-011-1/+1
* minor style(9) fix: return (foo); The file was mostly style(9) before.Warner Losh2002-02-261-16/+16
* Get rid of the twisted MFREE() macro entirely.Matthew Dillon2002-02-051-11/+10
* Use the passed in thread to selrecord() instead of curthread.John Baldwin2001-09-211-1/+1
* KSE Milestone 2Julian Elischer2001-09-121-8/+9
* TUNSIFINFO now expects IFF_MULTICAST to be OR'd with either IFF_POINTOPOINTBrian Somers2001-08-251-6/+4
* Don't terminate the uiomove() loop on a zero-length mbuf. It's notBill Fenner2001-08-031-4/+3
* Close a race where we were releasing the unit resource at the startBrian Somers2001-06-201-2/+4
* Remove the SI_CHEAPCLONE flag when hanging resources off the dev_tBrian Somers2001-06-181-0/+2
* Support /dev/tun cloning. Ansify if_tun.c while I'm there.Brian Somers2001-06-011-91/+128
* Make if_tun's clone create SI_CHEAPCLONE devices.Poul-Henning Kamp2001-05-251-0/+1
* Dont (ab)use drv2 to know if (si_flags & SI_NAMED) (pointed out by dd)Brian Somers2001-04-171-5/+3
* Allow MOD_UNLOADs of if_tun, and handle event handler registrationBrian Somers2001-04-031-10/+42
* Return 0 and do nothing when we get a SIOCSIFFLAGS.Brian Somers2001-04-021-0/+1
* Send the remains (such as I have located) of "block major numbers" toPoul-Henning Kamp2001-03-261-1/+0
* Another round of the <sys/queue.h> FOREACH transmogriffer.Poul-Henning Kamp2001-02-041-2/+1
* Use <sys/queue.h> macro api rather than fondle its implementation detals.Poul-Henning Kamp2001-02-031-4/+4
* o Allow non-root users to open /dev/tun* (remove suser()Brian Somers2001-02-031-8/+5
* Pass the minor number rather than the unit number to make_dev()Brian Somers2001-02-021-2/+1
* Exterminate the use of PSEUDO_SET() with extreme prejudice.Peter Wemm2001-01-311-10/+22
* Convert more malloc+bzero to malloc+M_ZERO.David Malone2000-12-081-2/+1
* Move the wakeup/signaling of the reader side of the tun device intoJonathan Lemon2000-12-051-9/+18
* Lock down the network interface queues. The queue mutex must be obtainedJonathan Lemon2000-11-251-25/+6
* Have tuninit() return an error if an interface address is NULL.Jonathan Lemon2000-11-021-19/+23
* BPF wants packets in host byte order whereas TUN_IFHEAD wants themBrian Somers2000-10-151-5/+12
* Rename lminor() to dev2unit(). This function gives a linear unit numberPoul-Henning Kamp2000-09-191-2/+2
* Avoid the modules madness I inadvertently introduced by making thePoul-Henning Kamp2000-09-021-14/+2
* Remove all traces of Julians DEVFS (incl from kern/subr_diskslice.c)Poul-Henning Kamp2000-08-201-0/+34
* Initialise ifnet::if_typeBrian Somers2000-07-171-0/+2
* Track if_i{bytes,packets,errors}.Matthew N. Dodd2000-02-161-0/+4
* Remove unused includesBrian Somers2000-01-291-7/+0
* Redo the intrq.c idea asBrian Somers2000-01-271-115/+2
* Move the *intrq variables into net/intrq.c and unconditionallyBrian Somers2000-01-241-21/+65
* Implement TUN[GS]IFHEAD ioctls. Passing a non-zero int to TUNSIFHEADBrian Somers2000-01-231-38/+136
* Add a new TUNSIFPID ioctl to update the tun_pid (recorded inBrian Somers2000-01-211-0/+3
* Zap #include "tun.h" (for NTUN) - which isn't used anymore.Peter Wemm1999-09-271-2/+0
* Remove five now unused fields from struct cdevsw. They should neverPoul-Henning Kamp1999-09-251-5/+0
* Remove NBPF conditionality of bpf calls in most of our network drivers.Poul-Henning Kamp1999-09-251-9/+2
* Give if_tun the "almost clone" makeover.Poul-Henning Kamp1999-08-151-67/+59
* Back out redundant check, and remove the MAXMTU comparison as it'sBrian Somers1999-08-061-7/+4
* Define IF_MAXMTU and IF_MINMTU and don't allow MTUs withBrian Somers1999-08-061-3/+8
* Don't complain if 0 bytes are written to the tun device, simplyBrian Somers1999-07-261-1/+4