阅读:1458回复:4
新手上路,请指点~~究竟网卡、微端口、中间层、TDI驱动有什么关系吗?NDIS呢?
我实在搞不明白了,一般的网卡驱动和NDIS有关吗?
还有MINIPORT,IM,TDI,还有NDIS HOOK,都有什么适用范围啊? 或有什么资料,可以介绍一二~~ 万分感谢~~~ |
|
|
沙发#
发布于:2003-10-16 11:13
网卡驱动是管理网卡硬件的驱动程序,链路层的东西,中间层是指位于网卡端口(miniport,real or virtual)和上层协议驱动之间的驱动程序。应该是逻辑上的。它在上端暴露一个类似与网卡功能的miniport,下端给它下面的网卡显示协议部分。顺便说以下,彼此之间都是透明的。不知对否。TDI位于协议(如TCPIP)的上层编程接口.NDIS是指网络驱动调用的接口规范。
[编辑 - 10/16/03 by lixiangying] |
|
板凳#
发布于:2003-10-16 15:41
thanks~~
看到NDIS是两三天前的事,在这之前,就是做一些上面的东西,比如SOCKET编程,后来也用过WINPCAP学过什么Sniffer,但是感觉现在这些什么NDIS东东好复杂啊~~~ 上面这些东西都用在什么场合啊?能不能举些个例子啊?谢谢了!! 还有一般的NIC driver 里面和NDIS 有关系吗? NDIS NIC and upper layer drivers use the NDIS library (ndis.sys) to communicate with each other, and to call operating system functions. When the operating system calls the NIC driver’s DriverEntry routine, the NIC driver calls NDIS to register its entry points and to obtain a handle representing the association between the driver and NDIS. In turn, NDIS calls the miniport NIC driver once for each NIC it supports. When each protocol driver initializes, it calls NDIS to bind to a specified NIC. NDIS returns a handle for the resulting binding to the protocol driver. Once initialized, the protocol driver can submit requests to a given underlying NIC by calling the NIC driver functions through related NDIS library functions, specifying this binding handle. NDIS in turn, will pass the request to the appropriate NIC driver, using the handle representing the NDIS-NIC association. 比如这些个,实在看的云里舞里~~~~ |
|
|
地板#
发布于:2003-10-16 15:50
thanks~~ 你不会让我们给你翻译上面的E文吧,呵呵 找个ddk好好的研究一下吧,我也在研究,多交流啊 :P |
|
地下室#
发布于:2003-10-16 21:26
TO taijun~
如果你能给我翻译最好~哈~~ just a joke~~~当然不是,要翻译的东西多呢~~ 我只是刚刚开始,什么都不知道,看的一头雾水,想有哪位大哥能指点一二大体的方向或一些基本的概念~~ wait~~ thanks~~ |
|
|