Sync with the new ipfw3 version.
[ipfw.git] / original_passthru / netsf.inf
diff --git a/original_passthru/netsf.inf b/original_passthru/netsf.inf
new file mode 100644 (file)
index 0000000..5e03a01
--- /dev/null
@@ -0,0 +1,165 @@
+; -- NETSF.INF --\r
+;\r
+; Passthru driver INF file - this is the INF for the service (protocol)\r
+; part.\r
+;\r
+; Copyright (c) 1993-2001, Microsoft Corporation\r
+;\r
+; ----------------------------------------------------------------------\r
+; Notes:\r
+; 0. The term "filter" is used in this INF to refer to an NDIS IM driver that\r
+;    implements a 1:1 relationship between upper and lower bindings.\r
+;\r
+; 1. Items specifically required for a filter have been marked with\r
+;    "!!--Filter Specific--!!" keyword\r
+; 2. In general a filter DOES NOT require a notify object for proper installation.\r
+;    A notify object is only required if one wants to have better control\r
+;    over binding operations or if one wants to receive notifications\r
+;    when other components get installed/removed/bound/unbound.\r
+;    Since Windows 2000 systems do not have support for CopyINF directive,\r
+;    a notify object is required to programmatically copy the miniport INF  \r
+;    file to the system INF directory. Previous versions of this INF file\r
+;    erroneously used to copy the INF files directly by using the CopyFiles \r
+;    directive.\r
+;    On Windows XP, you can install a filter IM without a notify object.\r
+;    by following the instructions in (4).\r
+;\r
+; 3. If you want to use this INF file with your own IM driver, please\r
+;    make the following modifications:\r
+;    File netsf.inf\r
+;    --------------\r
+;    a. In section [SourceDiskFiles] and [Passthru.Files.Sys]\r
+;       change passthru.sys to the name of your own driver binary.\r
+;    b. In section [Passthru.ndi.AddReg], change values of\r
+;       BindForm and MiniportId to appropriate values.\r
+;    File netsf_m.inf\r
+;    ----------------\r
+;    a. Replace MS_PassthruMP with InfId of your miniport.\r
+;    b. In section [PassthruMP.AddService],\r
+;       change ServiceBinary appropriately.\r
+;    c. In section [PassthruMP.ndi.AddReg],\r
+;       change "Passthru" in the line having "Service"\r
+;       to reflect the appropriate name\r
+;\r
+;\r
+; ----------------------------------------------------------------------\r
+\r
+[Version]\r
+Signature  = "$Windows NT$"\r
+Class      = NetService\r
+ClassGUID  = {4D36E974-E325-11CE-BFC1-08002BE10318}\r
+Provider   = %Msft%\r
+DriverVer  =10/01/2002,6.0.5019.0\r
+\r
+[Manufacturer]\r
+%Msft% = MSFT,NTx86,NTia64,NTamd64\r
+\r
+[ControlFlags]\r
+\r
+;=========================================================================\r
+;\r
+;=========================================================================\r
+;For Win2K\r
+\r
+[MSFT]\r
+%Passthru_Desc% = Passthru.ndi, ms_passthru\r
\r
+;For WinXP and later\r
+\r
+[MSFT.NTx86]\r
+%Passthru_Desc% = Passthru.ndi, ms_passthru\r
+\r
+[MSFT.NTia64]\r
+%Passthru_Desc% = Passthru.ndi, ms_passthru\r
+\r
+[MSFT.NTamd64]\r
+%Passthru_Desc% = Passthru.ndi, ms_passthru\r
+\r
+\r
+[Passthru.ndi]\r
+AddReg          = Passthru.ndi.AddReg, Passthru.AddReg\r
+Characteristics = 0x4410 ;  NCF_FILTER | NCF_NDIS_PROTOCOL !--Filter Specific--!!\r
+CopyFiles       = Passthru.Files.Sys\r
+CopyInf         = netsf_m.inf\r
+\r
+[Passthru.ndi.Remove]\r
+DelFiles = Passthru.Files.Sys\r
+\r
+[Passthru.ndi.Services]\r
+AddService = Passthru,, Passthru.AddService\r
+\r
+[Passthru.AddService]\r
+DisplayName    = %PassthruService_Desc%\r
+ServiceType    = 1 ;SERVICE_KERNEL_DRIVER\r
+StartType      = 3 ;SERVICE_DEMAND_START\r
+ErrorControl   = 1 ;SERVICE_ERROR_NORMAL\r
+ServiceBinary  = %12%\passthru.sys\r
+AddReg         = Passthru.AddService.AddReg\r
+\r
+\r
+[Passthru.AddService.AddReg]\r
+; ----------------------------------------------------------------------\r
+; Add any miniport-specific parameters here.  These are params that your\r
+; filter device is going to use.\r
+;\r
+;HKR, Parameters, ParameterName,  0x10000, "MultiSz", "Parameter", "Value"\r
+;HKR, Parameters, ParameterName2, 0x10001, 4\r
+\r
+\r
+; ----------------------------------------------------------------------\r
+; File copy\r
+;\r
+[SourceDisksNames]\r
+1=%DiskDescription%,"",,\r
+\r
+[SourceDisksFiles]\r
+passthru.sys=1\r
+\r
+[DestinationDirs]\r
+DefaultDestDir = 12\r
+Passthru.Files.Sys   = 12   ; %windir%\System32\drivers\r
+\r
+[Passthru.Files.Sys]\r
+passthru.sys,,,2\r
+\r
+; ----------------------------------------------------------------------\r
+; Filter Install\r
+;\r
+\r
+[Passthru.ndi.AddReg]\r
+HKR, Ndi, HelpText, , %Passthru_HELP%\r
+\r
+; ----------------------------------------------------------------------\r
+; !!--Filter Specific--!!\r
+;\r
+; Note:\r
+; 1. Other components may also have UpperRange/LowerRange but for filters\r
+;    the value of both of them must be noupper/nolower\r
+; 2. The value FilterClass is required.\r
+; 3. The value Service is required\r
+; 4. FilterDeviceInfId is the InfId of the filter device (miniport) that will\r
+;    be installed for each filtered adapter.\r
+;    In this case this is ms_passthrump (refer to netsf_m.inf)\r
+;\r
+HKR, Ndi,            FilterClass,         , failover\r
+HKR, Ndi,            FilterDeviceInfId,   , ms_passthrump\r
+HKR, Ndi,            Service,             , Passthru\r
+HKR, Ndi\Interfaces, UpperRange,          , noupper\r
+HKR, Ndi\Interfaces, LowerRange,          , nolower\r
+HKR, Ndi\Interfaces, FilterMediaTypes,    , "ethernet, tokenring, fddi, wan"\r
+\r
+[Passthru.AddReg]\r
+; The following key is Required\r
+; The following key is Passthru specific\r
+HKR, Parameters, Param1, 0, 4\r
+\r
+; ----------------------------------------------------------------------\r
+[Strings]\r
+Msft = "Microsoft"\r
+DiskDescription = "Microsoft Passthru Driver Disk"\r
+\r
+Passthru_Desc = "Passthru Driver"\r
+Passthru_HELP = "Passthru Driver"\r
+PassthruService_Desc = "Passthru Service"\r
+\r
+\r