aboutsummaryrefslogtreecommitdiffstats
path: root/wintun.c (unfollow)
Commit message (Expand)AuthorFilesLines
2019-07-05Cleanup atomic gettersJason A. Donenfeld1-20/+39
2019-07-05Version bump0.4Jason A. Donenfeld1-2/+2
2019-07-05Return with proper error status for bad addressJason A. Donenfeld1-1/+1
2019-07-05Do not take extra ActiveNBL when holding TransitionLockJason A. Donenfeld1-5/+1
2019-07-05Do not complete pause if we're not runningJason A. Donenfeld1-43/+17
2019-07-05Decrease alignment requirements to 4Jason A. Donenfeld3-14/+11
2019-07-05Do not use _RESOURCES but rather allocate our own copyJason A. Donenfeld2-35/+42
2019-07-04Add _IRQL_requires_same_ support to clang formattingSimon Rozman2-6/+13
2019-07-04Declare TUN_MEMORY_TAG in network-byte orderSimon Rozman1-9/+10
2019-07-04CleanupSimon Rozman1-4/+3
2019-07-04Version bump0.3Jason A. Donenfeld1-2/+2
2019-07-04Create copies of NBLs to complete them fasterJason A. Donenfeld1-3/+3
2019-07-03Reorder ReturnNBL and DispatchWriteJason A. Donenfeld1-36/+36
2019-07-03Receiving happens at dispatch level due to transition lockJason A. Donenfeld1-12/+10
2019-07-03Read userspace packet size once, before checksJason A. Donenfeld1-8/+10
2019-07-03Use NDIS variable style for localsJason A. Donenfeld1-465/+471
2019-07-03Use only multi-line commentsJason A. Donenfeld1-37/+36
2019-07-03Account for device removal before initializationJason A. Donenfeld1-0/+2
2019-07-03Use synchronize_rcu()-like semantics for exclusive transition lockJason A. Donenfeld1-8/+12
2019-07-03Fix up comment about replacement for ->ReservedJason A. Donenfeld1-3/+6
2019-07-03Simplify IRP processing after mappingJason A. Donenfeld1-52/+13
2019-07-03Allow buffer mapping to happen concurrentlyJason A. Donenfeld1-17/+39
2019-07-03Correct and simplify page lockingJason A. Donenfeld1-22/+18
2019-07-03Separate out MJ_CLOSEJason A. Donenfeld1-27/+29
2019-07-03Manually clean up ugly cornersJason A. Donenfeld3-196/+199
2019-07-03Improve designated initializersJason A. Donenfeld2-75/+82
2019-07-03Add NDIS team's clang-format conventionsJason A. Donenfeld4-1338/+1591
2019-07-03Map user buffer only onceJason A. Donenfeld2-33/+114
2019-07-03Consider receive NBLs to be immutableJason A. Donenfeld1-5/+2
2019-07-03Avoid allocating second MDLJason A. Donenfeld1-12/+2
2019-07-03Declare NDIS 6.83 compliantSimon Rozman2-3/+3
2019-07-03Make NDIS 6.80 compliantSimon Rozman2-6/+22
2019-07-03Declare NDIS 6.70 compliantSimon Rozman2-5/+8
2019-06-21Use ULONG instead of ptrdiff_t for length measurementJason A. Donenfeld1-2/+2
2019-06-20Synchronize accesses to MiniportAdapterHandleJason A. Donenfeld1-3/+4
2019-06-20Adopt "Tun" namespace at global AdapterCount variableSimon Rozman1-4/+4
2019-06-20Fix NdisQueryMdl() NULL-buffer checkSimon Rozman1-1/+2
2019-06-20Save some valuable lessons learned on Windows internalsSimon Rozman2-0/+4
2019-06-20Accept IRP_MJ_WRITE when paused but silently drop the packetsSimon Rozman1-2/+7
2019-06-20Support surprise removalSimon Rozman1-1/+2
2019-06-20Replace PnP notifications with IRP_MJ_PNP dispatch handlerSimon Rozman2-93/+35
2019-06-20Distinguish NDIS_STATUS and NTSTATUSSimon Rozman1-5/+5
2019-06-20Implement proper PnP notification re-registration on canceled removalSimon Rozman1-51/+57
2019-06-20Rename ActiveTransactionCount to ActiveNBLCountSimon Rozman1-9/+9
2019-06-20Reuse Device.RefCount value to prevent duplicate status indicationsSimon Rozman1-1/+1
2019-06-20Fix the cleanup order in TunDispatchWrite()Simon Rozman1-1/+1
2019-06-20Cleanup ref-counting overflow assertsSimon Rozman1-7/+0
2019-06-20Add missing state transition lockSimon Rozman1-0/+2
2019-06-20Revise adapter state checkingSimon Rozman1-61/+81
2019-06-20Count active transactions in NBLs rather than IRPs in receive directionSimon Rozman1-10/+13