亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? passthru.htm

?? 用Delphi實現的防火墻,可實現象天網一樣的功能.
?? HTM
字號:
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<META NAME="Generator" CONTENT="Microsoft Word 97">
<TITLE>passthru</TITLE>
<META NAME="Template" CONTENT="C:\Program Files\Microsoft Office\Office\html.dot">
</HEAD>
<BODY TEXT="#000000" LINK="#0000ff" VLINK="#800080" BGCOLOR="#ffffff">

<P><!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"></P>
<FONT FACE="Verdana" SIZE=2><P><A NAME="top"></A></P>
<P><! ---------------- Snip Snip ---------------- ></P>
</FONT><FONT FACE="Verdana"><H2><A NAME="MYSAMPLE">PASSTHRU.SYS - Sample NDIS Intermediate Driver</A></H2>
<H3>SUMMARY</H3>
<B><P>Passthru Intermediate Miniport (IM) Driver</P>
</B></FONT><FONT FACE="Verdana" SIZE=2><P>The passthrough Intermediate Miniport driver is a do-nothing pass-through Ndis 5 driver that demonstrates the basic principals of initializing and setting up an IM driver. This driver exposes a virtual adapter for each binding to a real physical adapter. Protocols can bind to these virtual adapters as if they are real adapters. </P>
<P>The Passthru (IM) driver will re-package and send down all requests and sends submitted to this virtual adapter. The Passthru driver can be modified to change the data before passing it along. For example, it can encrypt/compress outgoing and decrypt/decompress incoming data.</P>
<P>This driver is a good example of a driver that exposes a virtual adapter based on a binding to a real physical adapter. It is <I>not</I> a good representative of another class of IM drivers whose underlying physical adapter is not a conventional NIC device, but have to follow IM driver model mainly because the indications from the driver to the upper layers are not happening in the context of a DPC.</P>
</FONT><FONT FACE="Verdana"><H3>BUILDING THE SAMPLE</H3>
</FONT><FONT FACE="Verdana" SIZE=2><P>Run the <B>build</B> command from this directory to build the sample梚t creates the binary Passthru.sys. </P>
<P>To install this driver on Windows&reg; 2000, use the SFILTER sample notification object and INF, also found in this DDK.</P>
</FONT><FONT FACE="Verdana"><H3>CODE TOUR</H3>
<H4>File Manifest</H4>
</FONT><U><PRE>File&#9;&#9;Description
</U>
Makefile&#9;Used during compilation to create the object and sys files
Miniport.c&#9;Miniport related functions of the passthru driver
Passthru.c&#9;DriverEntry routine and any routines common to the passthru miniport and protocol 
Passthru.h&#9;Prototypes of all functions and data structures used by the Passthru driver
Passthru.htm&#9;Html documentation of the Passthru driver (this file)
Passthru.rc&#9;Resource file for the Passthru driver
Precomp.h&#9;Precompile header file
Protocol.c&#9;Protocol related functions of the Passthru driver
Sources&#9;&#9;List of source files that are compiled and linked to create the passthru driver</PRE>
<FONT FACE="Verdana"><H4>Programming Tour</H4>
</FONT><FONT FACE="Verdana" SIZE=2><P>Basic steps in initializing and halting of Passthru driver:</P>
<P>1) During DriverEntry, the Passthru driver registers as a protocol and an Intermediate miniport driver.</P>
<P>2) Later on, Ndis calls the Passthru protocol to bind to a physical adapter.</P>
<P>3) In the context of BindAdapterHandler and after opening of the underlying physical adapter succeeds, the Passthru driver queries the reserved keyword "UpperBindings" to get a list of device names for the virtual adapters that this particular binding is to expose.</P>
<P>4) For each device name, the Passthru driver calls NdisIMInitializeDeviceInstance.</P>
<P>5) In response, Ndis will call back Passthru miniport InitializeHandler entry point.</P>
<P>6) After InitializeHandler successfully returns, ndis will take care of getting upper-layer protocols to bind to these newly created virtual adapters.</P>
<P>7) All requests and sends coming from upper-layer protocols for the Passthru miniport driver are repackaged and sent down to ndis, to be passed to the physical adapter.</P>
<P>8) All indications coming from bindings to the physical adapters are sent up as if they belong to virtual adapters.</P>
<P>9) When Ndis asks the Passthru driver to close the binding between a physical adapter and Passthru protocol, the Passthru driver first calls NdisIMDeInitializeDeviceInstance for the virtual adapter representing that particular binding.</P>
<P>10) Ndis in turn will close all the bindings between upper-layer protocols and virtual Passthru adapter.</P>
<P>11) After all the bindings are closed, Ndis will call HaltHandler entry point in Passthru driver for the virtual adapter and returns back from NdisIMDeInitializeDeviceInstance.</P>
<P>12) The Passthru protocol then closes the binding to the physical adapter and completes the unbind request issued in step 9.</P>
<P>13) <B>To add Power Management Capabilities</B> </P>
<P>13.1 During initialization, the Passthru miniport should set the Attribute '<I>NDIS_ATTRIBUTE_NO_HALT_ON_SUSPEND</I>' during the miniport initialization. </P>
<P>13.2 When the Passthru miniport is requested to report its Plug and Play capabilities (OID_PNP_CAPABILITIES), the Passthru miniport must pass the request to the miniport below the Passthru protocol. If this request succeeds, then the Passthru miniport should return this buffer with a status of NDIS_STATUS_SUCCESS: </P>
<P>NDIS_DEVICE_POWER_STATE&#9;MinMagicPacketWakeUp = NdisDeviceStateUnspecified;</P>
<P>NDIS_DEVICE_POWER_STATE&#9;MinPatternWakeUp= NdisDeviceStateUnspecified;</P>
<P>NDIS_DEVICE_POWER_STATE&#9;MinLinkChangeWakeUp=NdisDeviceStateUnspecified</P>
<P>If the miniport below the Passthru protocol fails this request, then the status that was returned should be used to respond to the original request that was made to the Passthru miniport. </P>
<P>13.3 The OID_PNP_SET_POWER and OID_PNP_QUERY_POWER should not be passed to the miniport below the Passthru protocol, as those miniports will receive independent requests from ndis.</P>
<P>13.4 When the Passthru is asked to go to standby, it should use the Passthru protocol's PnP Handler to block all new sends and requests, and wait for all outstanding sends and requests to complete. This should be done before returning from the PnP Handler.</P>
<P>&nbsp;</P>
<P>14) <B>To Add LBFO (Load Balancing &amp; Fail Over)</B> </P>
<B><P>Goal</B>: To add load-balancing capabilities to the Passthru driver. TCP/IP should see only one network card connected to it. This is the primary miniport. The second card is the secondary miniport of this primary miniport. All receives are performed by the primary miniport and all sends are done by the secondary miniport. All sends and related requests are passed to the secondary miniport.</P>
<P>14.1 During miniport initialization, the new Passthru miniport searches through the list of existing Passthru miniport instantiations to see if a miniport with the same bundle identifier exists. If so, it calls NdisMSetMiniportSecondary on the two structures. The already instantiated Passthru miniport is the primary miniport.</P>
<P>14.2 During run time all sends are routed to the secondary miniport, and all receives are sent to the primary miniport. </P>
<P>14.3 All requests, sends, and receives should be completed on the handles that these actions were initiated on.</P>
<P>14.4 All requests should be passed on to the miniport below the Passthru miniport that they were requested on. </P>
<B><P>Note</B>: There is an exception to above rule: some requests to the primary Passthru miniport may be redirected to the secondary miniport. In such a case, when the request needs to be completed, it should use the handles present in the primary miniport's data structure.</P>
<P>14.5 The user can change the bundle ID at run time. A NetEventReconfigure, with the new bundleID, is sent to the Passthru protocol's Protocol PnP Handler when this happens. </P>
<P>14.6 When the Passthru is reconfigured, it leaves the bundle that it is part of and could join a new bundle. Salient points follow.</P>
<P>14.7 To activate LBFO, ensure that '#ifdef __LBFO' is a valid statement (not commented out) in Passthru.h. Only when __LBFO is defined will the Passthru driver call the NdisMSetMiniportSecondary API.</P>
<P>14.8 The request handler and the request complete handler should have knowledge of the OIDs that are redirected so that those requests will be completed on the miniport handles they were requested on.</P>
<P>14.9 The sample filter installed as a service. To install, follow the steps below.</P>
<P>On the desktop, right-click the <B>My Network Places</B> icon and choose <B>Properties</B>. </P>
<P>Right-click on the relevant Local Area Connection icon and choose <B>Properties</B>. </P>
<P>Click <B>Install</B>, then <B>Service</B>, then <B>Add</B>, then <B>Have Disk</B>. </P>
<P>Browse to the <B>Netsf.inf</B> file. Ensure that Netsf_m.inf is present in the same directory. Click <B>OK</B>. This should install the Passthru driver. </P>
<P>Click <B>OK</B> or <B>Yes</B> each time the system prompts the user. </P>
<P>The two .inf files are needed because the sample filter is installed as a protocol and a miniport and you will be prompted at each installation.</P>
<P>14.10 To change a BundleID:</P>
<P>On the desktop, right-click the <B>My Network Places</B> icon, and then choose <B>Properties</B>. </P>
<P>Right-click the relevant Local Area Connection icon, and then choose <B>Properties</B>. </P>
<P>In the Installed Components list, click <B>Sample Filter</B> and then click the <B>Properties</B> tab. The second parameter is the BundleID. The user can change this value. </P>
<P>The change is recorded when the <B>OK</B> button of the Local Area Connection Properties Window is clicked.</P>
<P>14.11 Reconfiguration algorithm:</P>
<P>Read the new Bundle Id.</P>
<P>If Passthru miniport is a Secondary miniport, call&nbsp;NdisMPromoteMiniport on itself.</P>
<P>If the Passthru miniport is the Primary of a bundle, call NdisMPromoteMiniport on its secondary.</P>
<P>If there is already an instantiation of the Passthru miniport with the new Bundle Id, call NdisMSetMiniportSecondary on that Passthru miniport.</P>
<P>14.12 The Passthru miniport's Halt handler needs to be aware that since the miniport is being halted, it will have to promote its secondary miniport. </P>
</FONT><P ALIGN="CENTER"><A HREF="#top"><FONT FACE="Verdana" SIZE=2>Top of page</FONT></A><FONT FACE="Verdana" SIZE=2> </P></FONT>
<TABLE CELLSPACING=0 BORDER=0 WIDTH=624>
<TR><TD VALIGN="MIDDLE" BGCOLOR="#00ffff" HEIGHT=2>
<P></TD>
</TR>
</TABLE>

<FONT FACE="MS Sans Serif" SIZE=1><P>&copy; 1999 Microsoft Corporation</FONT><FONT FACE="Verdana" SIZE=2> </P></FONT></BODY>
</HTML>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
中文字幕一区二区三区在线观看| 欧美mv和日韩mv的网站| 国产综合色精品一区二区三区| 亚洲妇熟xx妇色黄| 亚洲国产综合视频在线观看| 一区二区在线电影| 亚洲一二三四在线观看| 亚洲国产另类精品专区| 三级在线观看一区二区| 美女一区二区在线观看| 狠狠色综合日日| 国产suv精品一区二区三区 | 欧美日韩日日摸| 欧美巨大另类极品videosbest | 白白色亚洲国产精品| av电影一区二区| 99久久久国产精品免费蜜臀| 在线观看精品一区| 51午夜精品国产| 精品国产免费一区二区三区四区| 精品福利一区二区三区免费视频| 久久久久久免费网| 亚洲卡通动漫在线| 日本va欧美va欧美va精品| 精品一区二区在线视频| 成人激情校园春色| 欧美日韩日日摸| 久久先锋影音av鲁色资源网| 日韩一区中文字幕| 青青国产91久久久久久| 成人久久久精品乱码一区二区三区| 91猫先生在线| 欧美精品一区在线观看| 成人免费在线播放视频| 日本视频一区二区三区| 成人涩涩免费视频| 69p69国产精品| 亚洲国产精华液网站w| 五月婷婷综合在线| 成人精品视频一区| 欧美一区二区三区在线看| 国产清纯白嫩初高生在线观看91| 亚洲成人tv网| 成人免费va视频| 日韩欧美国产系列| 亚洲精品乱码久久久久久久久| 麻豆精品视频在线观看免费| 91黄视频在线观看| 日本一区二区久久| 久久成人免费日本黄色| 在线亚洲高清视频| 日本一区二区在线不卡| 免费不卡在线观看| 欧美夫妻性生活| 亚洲美女视频在线观看| 国产成人精品免费在线| 欧美一级xxx| 亚洲福利国产精品| 在线视频观看一区| 亚洲精品免费一二三区| 成人av资源在线| 久久新电视剧免费观看| 毛片不卡一区二区| 欧美精品久久99久久在免费线| 亚洲欧美另类小说| 成人av资源站| 中文字幕中文字幕一区二区| 国产伦精品一区二区三区免费| 91精品国产品国语在线不卡| 一区二区三区视频在线看| 成人福利视频网站| 国产精品网曝门| 国产·精品毛片| 久久亚洲精精品中文字幕早川悠里| 男女性色大片免费观看一区二区 | 亚洲在线观看免费| 91日韩一区二区三区| 国产精品传媒视频| 91视频com| 亚洲精选视频免费看| 91福利在线免费观看| 一区二区三区免费观看| 欧美亚洲动漫精品| 偷拍亚洲欧洲综合| 日韩亚洲欧美在线观看| 捆绑调教一区二区三区| 精品粉嫩超白一线天av| 国产一区二区不卡老阿姨| 国产日韩欧美激情| 色婷婷精品久久二区二区蜜臀av | 国产亚洲综合色| 成人综合婷婷国产精品久久| 国产欧美日韩另类一区| 91网站最新地址| 亚洲第一av色| 亚洲精品一区二区三区影院 | 亚洲小说欧美激情另类| 欧美日韩一区二区三区不卡| 三级欧美韩日大片在线看| 欧美精品一区二区三区很污很色的 | 国产精品视频观看| 91久久一区二区| 日本不卡在线视频| 久久久久久久免费视频了| 99视频在线精品| 日韩精品亚洲专区| 亚洲国产精品成人综合色在线婷婷| 91美女在线观看| 久久精品国产亚洲高清剧情介绍 | 亚洲精品ww久久久久久p站| 精品视频一区二区不卡| 国产一区二区主播在线| 一区二区三区不卡在线观看| 欧美不卡视频一区| 91美女片黄在线观看91美女| 久久国产精品色婷婷| 国产精品免费av| 91精品婷婷国产综合久久性色| 国产精品 欧美精品| 亚洲高清三级视频| 亚洲国产经典视频| 日韩欧美激情一区| 欧美性一区二区| 成人免费看片app下载| 天天综合色天天综合| 中文字幕一区二区三区不卡| 日韩午夜小视频| 欧洲一区二区av| 成人午夜碰碰视频| 麻豆91在线看| 亚洲高清不卡在线观看| 中文字幕亚洲在| 精品国产免费一区二区三区四区 | 麻豆精品久久久| 图片区日韩欧美亚洲| 国产精品成人免费在线| 国产婷婷色一区二区三区| 欧美成人女星排行榜| 欧美精品v国产精品v日韩精品| 97国产一区二区| 成人污污视频在线观看| 国产美女视频一区| 精品在线免费观看| 美国av一区二区| 蜜桃视频一区二区三区 | 欧美成人a∨高清免费观看| 欧美日韩夫妻久久| 欧美日韩国产三级| 欧美亚州韩日在线看免费版国语版| 99亚偷拍自图区亚洲| av激情综合网| 91视频www| 一本到高清视频免费精品| 色综合网色综合| 一本久道中文字幕精品亚洲嫩| 成人91在线观看| www.久久久久久久久| 91老司机福利 在线| 99国产一区二区三精品乱码| 成人av综合一区| 色呦呦日韩精品| 91久久精品一区二区二区| 欧美在线观看一二区| 欧美日韩一区视频| 7777精品伊人久久久大香线蕉的 | 国产成人小视频| 国产99久久久久久免费看农村| 粉嫩13p一区二区三区| av不卡在线观看| 欧美视频中文一区二区三区在线观看| 色诱视频网站一区| 7777女厕盗摄久久久| 精品99久久久久久| 国产精品免费网站在线观看| 亚洲久本草在线中文字幕| 亚洲电影一级黄| 国产在线一区二区综合免费视频| 国产一区在线不卡| 色综合色综合色综合| 欧美一区二区三区色| 国产精品免费aⅴ片在线观看| 尤物视频一区二区| 日韩不卡一二三区| 懂色av噜噜一区二区三区av| 在线一区二区三区做爰视频网站| 欧美一区二区三区四区视频| 久久久亚洲高清| 一区二区三区精品视频| 麻豆国产欧美一区二区三区| 成人免费毛片片v| 欧美巨大另类极品videosbest | 亚洲天堂精品视频| 丝袜诱惑亚洲看片| 成人美女视频在线看| 欧美日韩国产乱码电影| 久久久久久久综合日本| 偷拍日韩校园综合在线| 99精品久久只有精品| 日韩三区在线观看| 亚洲激情图片qvod|