summaryrefslogtreecommitdiffstats
path: root/private/ntos/ndis/ndis30/wrapper.txt
diff options
context:
space:
mode:
authorAdam <you@example.com>2020-05-17 05:51:50 +0200
committerAdam <you@example.com>2020-05-17 05:51:50 +0200
commite611b132f9b8abe35b362e5870b74bce94a1e58e (patch)
treea5781d2ec0e085eeca33cf350cf878f2efea6fe5 /private/ntos/ndis/ndis30/wrapper.txt
downloadNT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip
Diffstat (limited to 'private/ntos/ndis/ndis30/wrapper.txt')
-rw-r--r--private/ntos/ndis/ndis30/wrapper.txt120
1 files changed, 120 insertions, 0 deletions
diff --git a/private/ntos/ndis/ndis30/wrapper.txt b/private/ntos/ndis/ndis30/wrapper.txt
new file mode 100644
index 000000000..2e52189f0
--- /dev/null
+++ b/private/ntos/ndis/ndis30/wrapper.txt
@@ -0,0 +1,120 @@
+Debug Wrapper
+
+Johnson Apacible (johnsona)
+3-11-91
+
+
+
+The debug version of the wrapper allows developers to
+1. turn on/off error checking
+2. control level of tracing. There are currently 2 levels of tracing:
+Level 2 tracing turns on tracing on all wrapper functions; while level
+1 tracing turns on tracing only on the more interesting functions.
+Level 1 and 2 functions are enumerated below:
+
+
+Level 1 Tracing enables tracing on the following functions:
+
+ NdisInitializePacketPool
+ NdisTerminatePacketPool
+
+ NdisRegisterProtocol
+ NdisDeregisterProtocol
+
+ NdisOpenAdapter
+ NdisCloseAdapter
+ FinishOpen
+
+ KillOpenAndNotifyProtocol
+ KillOpen
+
+ NdisInitializeWrapper
+ NdisTerminateWrapper
+
+ NdisRegisterMac
+ NdisDeregisterMac
+ DeQueueAdapterOnMac
+ QueueAdapterOnMac
+
+ QueueOpenOnProtocol
+ DeQueueOpenOnProtocol
+ NdisRegisterAdapter
+ NdisDeregisterAdapter
+ KillAdapter
+ QueueAdapterOnAdapter
+ DeQueueAdapterOnAdapter
+ NdisSetPacketFilter
+ NdisAddMulticastAddress
+ NdisDeleteMulticastAddress
+ NdisSend
+ NdisTransferData
+ NdisQueryInformation
+ NdisSetInformation
+ NdisReset
+ NdisTest
+ NdisCompleteRequest
+ NdisCompleteSend
+ NdisCompleteTransferData
+ NdisIndicateStatus
+ NdisIndicateStatusComplete
+
+
+Level 2 tracing enables tracing the functions listedbelow in addition
+to all Level 1 functions:
+
+ NdisQueryBuffer
+ NdisAllocatePacket
+ NdisDeallocatePacket
+ NdisReinitializePacket
+ NdisChainBufferAtFront
+ NdisChainBufferAtBack
+ NdisUnchainBufferAtFront
+ NdisUnchainBufferAtBack
+ NdisQueryPacket
+ NdisGetNextBuffer
+ ReferenceRef
+ DereferenceRef
+ InitializeRef
+ CloseRef
+ ReferenceProtocol
+ DereferenceProtocol
+ NdisSuccessIrplHandler
+ ReferencMac
+ ReferenceAdapter
+ DereferenceAdapter
+
+ NdisIndicateReceive
+ NdisIndicateReceiveComplete
+
+
+
+Turning on/off error checking
+
+Error checking may be turned on/off during run-time by changing the
+value of the flag NdisChkErrorFlag. A zero value turns off error
+checking and a non-zero value turn it on. This flag is turned on
+by default.
+
+
+Controlling level of messages
+
+Message level may by specified by changing the NdisMsgLevel variable.
+
+ Value of NdisMsgLevel Meaning
+ 0x000 Turn off all messages
+ 0x001 Turn on tracing on Level 1 functions
+ 0x002 Turn on all tracing
+
+NdisMsgLevel is set to 0 by default
+
+
+
+The debug code will be included only if the NDISDBG flag is turned on (== 1).
+
+If you do change this flag, be sure to delete (1) all nbf .obj files,
+(2) ntos\dd\init\obj\i386\ddinit.obj, (3) ntos\init\obj\i386\init.obj, and
+(4) recompile everything under ndis, since this flag will change a lot
+of goings on inside ndis.h
+
+
+ \ No newline at end of file