精华区 [关闭][返回]

当前位置:网易精华区>>讨论区精华>>编程开发>>嵌入式开发>>协议栈开发>>NT协议栈图解>>NT的协议栈图解(5)

主题:NT的协议栈图解(5)
发信人: wenbobo(灌了拂衣去)
整理人: wenbobo(2002-09-22 17:48:17), 站内信件
NDIS Protocol Drivers

A network protocol, which is the highest driver in the NDIS hierarchy of drivers, is often used as the lowest-level driver in a transport driver that implements a transport protocol stack, such as a TCP/IP or IPX/SPX stack. A transport protocol driver allocates packets, copies data from the sending application into the packet, and sends these packets to the lower level driver by calling NDIS functions. A protocol driver also provides a protocol interface to receive incoming packets from the next lower-level driver. A transport protocol driver transfers received data to the appropriate client application.

At its lower edge, a protocol driver interfaces with intermediate network drivers and miniport drivers. The protocol driver calls NdisXxx functions to send packets, read and set information maintained by lower-level drivers, and use operating system services. The protocol driver also exports a set of entry points (ProtocolXxx functions) that NDIS calls for its own purposes or on behalf of lower-level drivers to indicate up receive packets, indicate the status of lower-level drivers, and to otherwise communicate with the protocol driver.

At its upper edge, a transport protocol driver has a private interface to a higher-level driver in the protocol stack.


----
掬水月在手
弄花香满身


广州社区嵌入式开发版    广州社区C语言版     我的纯音乐网站

[关闭][返回]