Wince Network Driver in the eyes of Talents

Source: Internet
Author: User

Wince Network Driver in the eyes of Talents

Introduction

In fact, to develop a network driver on WinCE, for example, to design a NIC driver, in most cases, it is to port the NDIS miniport driver (small port driver) from XP to wince. What is NDIS? What is NDIS used? What is The miniport driver?

What is NDIS? You may have heard of the NDIS: Network Driver Interface specificatiion network device interface specification for a long time. I have summarized the following:

1. NDIS is a protocol, standard, and standard. From Win95 version 3.0 to WINXP version 5.1 to Vista version 6.0, wince5 is version 5.1.

2. NDIS is also a set of APIs and a library NDIS. dll. It defines a set of standard APIs for network drivers. It also provides support for runtime calls. When compiling a driver, it is common that the driver needs a static link to an NDIS. Lib. (The Lib of the DLL is the same as that of the DLL directly used. I will not say much about the difference .)

3. NDIS is also a framework structure. An architecture. It describes the interfaces of various drivers. Drivers are implemented in the NDIS framework.

4. NDIS is also a module that has entities and runs in the system. It is called wrapper. For example, NDIS. sys in XP, NDIS. dll in CE, and ndiswrapper and ndisulator in Linux.

Because of the above features, the NDIS driver can be platform-independent and can be source code compatible. You can run the code in any NDIS environment after C encoding and re-compilation. For example, after the NDIS driver under XP is re-compiled, it can be used under CE. Linux also has an open-source ndiswrapper. On this basis, you can also use the win NDIS driver.

Why not use NDIS for Linux? Yes. The NDIS specification followed by wince is a subset of NDIS used in NT. The implementation form is NDIS. dll, which is designed as a stream-driven form. It is loaded by device.exe at boottime, And the prefix is NDS. In addition, WinCE also implements the ndisuio component. ndisuio is designed as an NDIS protocol layer driver, and the export outbound stream interface is provided to the application. In addition, a netlog function is provided, including netlog.exe and netlogctl. Ext tools, which can monitor network traffic and other information. The three components mentioned above correspond to network driver architecture (NDIS), ndus user-mode I/O driver, and NDIS Packet Capturing DLL in Pb. It is easy to find them in the catalog window.

Transferred from: http://chenyq2008.spaces.live.com/blog/cns! F74254ac8d0d8d50! 290. Entry

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.