summaryrefslogtreecommitdiffstats
path: root/private/ntos/tdi/st/stcnfg.h
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/tdi/st/stcnfg.h
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 '')
-rw-r--r--private/ntos/tdi/st/stcnfg.h57
1 files changed, 57 insertions, 0 deletions
diff --git a/private/ntos/tdi/st/stcnfg.h b/private/ntos/tdi/st/stcnfg.h
new file mode 100644
index 000000000..d09098a6c
--- /dev/null
+++ b/private/ntos/tdi/st/stcnfg.h
@@ -0,0 +1,57 @@
+/*++
+
+Copyright (c) 1989-1993 Microsoft Corporation
+
+Module Name:
+
+ stcnfg.h
+
+Abstract:
+
+ Private include file for the NT Sample transport. This
+ file defines all constants and structures necessary for support of
+ the dynamic configuration of ST.
+
+Revision History:
+
+--*/
+
+#ifndef _STCONFIG_
+#define _STCONFIG_
+
+//
+// configuration structure.
+//
+
+typedef struct {
+
+ ULONG InitRequests;
+ ULONG InitConnections;
+ ULONG InitAddressFiles;
+ ULONG InitAddresses;
+ ULONG MaxRequests;
+ ULONG MaxConnections;
+ ULONG MaxAddressFiles;
+ ULONG MaxAddresses;
+ ULONG InitPackets;
+ ULONG InitReceivePackets;
+ ULONG InitReceiveBuffers;
+ ULONG SendPacketPoolSize;
+ ULONG ReceivePacketPoolSize;
+ ULONG MaxMemoryUsage;
+
+ //
+ // Names contains NumAdapters pairs of NDIS adapter names (which
+ // nbf binds to) and device names (which nbf exports). The nth
+ // adapter name is in location n and the device name is in
+ // DevicesOffset+n (DevicesOffset may be different from NumAdapters
+ // if the registry Bind and Export strings are different sizes).
+ //
+
+ ULONG NumAdapters;
+ ULONG DevicesOffset;
+ NDIS_STRING Names[1];
+
+} CONFIG_DATA, *PCONFIG_DATA;
+
+#endif