aboutsummaryrefslogtreecommitdiffstats
path: root/wintun.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* Use performance counter for less spinningJason A. Donenfeld2019-08-041-5/+5
* Spin less and more efficientlyJason A. Donenfeld2019-08-041-5/+4
* Cleanup NBL reference countingSimon Rozman2019-08-021-39/+25
* Skip packet on NBL allocation failure properlySimon Rozman2019-08-021-0/+2
* Use reference counter and KEVENT instead of remove locksSimon Rozman2019-08-021-12/+9
* Rearrange comment to make clang-format happyJason A. Donenfeld2019-08-021-2/+2
* Disable APC when taking rwlockJason A. Donenfeld2019-08-021-0/+6
* Resolve SDV reported "defect"Simon Rozman2019-08-021-0/+2
* Separate out atomic helpersJason A. Donenfeld2019-08-021-61/+9
* Rewrite installer logic in CJason A. Donenfeld2019-08-021-3/+3
* Use explicit running boolean and use set instead of exchangeJason A. Donenfeld2019-07-311-24/+31
* Assert that adapter is always running when client is registering ringsSimon Rozman2019-07-311-0/+2
* Cleanup TUN_FLAGS_PRESENTSimon Rozman2019-07-311-8/+2
* Add handle closing ioctlJason A. Donenfeld2019-07-311-8/+81
* Reinitialize active NBL remove lock to allow adapter reuseSimon Rozman2019-07-311-1/+3
* Compile on 32-bit and arm64Jason A. Donenfeld2019-07-191-6/+8
* Use more specific IOCTL codeJason A. Donenfeld2019-07-191-2/+1
* Require the usual SDDL_DEVOBJ_SYS_ALL permissionsJason A. Donenfeld2019-07-181-36/+96
* Make receiving NBLs asynchronousSimon Rozman2019-07-181-26/+105
* Minimize TransitionLock when receiving packetsSimon Rozman2019-07-181-13/+11
* Fix insane coding styleJason A. Donenfeld2019-07-181-2/+2
* Fix awkward comment styleJason A. Donenfeld2019-07-181-3/+3
* Do not hijack PNP notifierJason A. Donenfeld2019-07-181-35/+1
* Switch to paged dispatch handlersJason A. Donenfeld2019-07-181-4/+7
* Minimize TransitionLock when sending packetsSimon Rozman2019-07-181-7/+9
* Piggy-back on top of NDIS' device object instead of adding our ownJason A. Donenfeld2019-07-181-279/+83
* Replace TUN_FLAGS_CONNECTED by an eventSimon Rozman2019-07-171-18/+18
* Improve lock retention when sendingSimon Rozman2019-07-171-44/+123
* Spin for a bit before falling back to event objectJason A. Donenfeld2019-07-171-8/+31
* Switch to ring buffers for exchanging packetsSimon Rozman2019-07-161-814/+399
* Rename remaining status -> Status and ctx -> CtxSimon Rozman2019-07-081-19/+19
* Remove TunMapIrpJason A. Donenfeld2019-07-051-28/+8
* Simplify ActiveNblCount decrementJason A. Donenfeld2019-07-051-12/+7
* Rename NBL -> NblOdd Stranne2019-07-051-34/+34
* Rename labels to be more consistentOdd Stranne2019-07-051-49/+48
* Make error branching more compactOdd Stranne2019-07-051-41/+29
* Treat ReferenceCount as an atomicJason A. Donenfeld2019-07-051-1/+1
* Cleanup atomic gettersJason A. Donenfeld2019-07-051-20/+39
* Return with proper error status for bad addressJason A. Donenfeld2019-07-051-1/+1
* Do not take extra ActiveNBL when holding TransitionLockJason A. Donenfeld2019-07-051-5/+1
* Do not complete pause if we're not runningJason A. Donenfeld2019-07-051-43/+17
* Decrease alignment requirements to 4Jason A. Donenfeld2019-07-051-2/+3
* Do not use _RESOURCES but rather allocate our own copyJason A. Donenfeld2019-07-051-34/+41
* Add _IRQL_requires_same_ support to clang formattingSimon Rozman2019-07-041-6/+12
* Declare TUN_MEMORY_TAG in network-byte orderSimon Rozman2019-07-041-9/+10
* CleanupSimon Rozman2019-07-041-4/+3
* Create copies of NBLs to complete them fasterJason A. Donenfeld2019-07-041-3/+3
* Reorder ReturnNBL and DispatchWriteJason A. Donenfeld2019-07-031-36/+36
* Receiving happens at dispatch level due to transition lockJason A. Donenfeld2019-07-031-12/+10
* Read userspace packet size once, before checksJason A. Donenfeld2019-07-031-8/+10