Differences between NDIS middle-layer driver development in win7 and Windows XP

Source: Internet
Author: User

Question:[Original] differences between NDIS intermediate layer driver development in win7 and Windows XP
Author: Tianhz
Time:2011-07-21,14: 58: 04
Link:Http://bbs.pediy.com/showthread.php? T = 137545

 

Network Data is composed of packets sent and received over the network. NDIS provides data structures to describe them. NDIS
6.0 provides the following data structures:
1) net_buffer
2) net_buffer list
3) net_buffer_list_context

 

In NDIS 6.0, net_buffer is the basic building block for closed network data. Each net_buffer has an
MDL chain. The buffer address mapped to these MDL is the data space specified by net_buffer. This data ing
is the same as the ing in NDIS 5.x and ndis_packet used in earlier versions. NDIS provides functions to manage
MDL chains.

 Multiple net_buffer can be appended to (can be serialized) A net_buffer_lis. These net_buffer
Is organized into a single-chain table ending with null. The driver or NDIS creates only one net_buffer_list, which should be modified.
Its linked list inserts or deletes some net_buffer structures for it.
The information contained in the net_buffer_list Structure describes all net_buffer knots that are serialized to a linked list.
Structure. If net_buffer_list requires context information, you can allocate additional space to store
The net_buffer_list_context structure. NDIS provides functions to allocate and access net_buffer_list_context
.
Multiple net_buffer_list structures can be concatenated into a net_buffer_list linked list. They can be organized into one
One-way linked list ending with null. The driver can directly insert or delete the linked list.
The net_buffer structure used in NDIS 6.0 is similar to the ndis_packet structure used before NDIS 5.x.
A network packet is encapsulated in a net_buffer structure.

 

 

Upload a copy of the NDIS intermediate layer development documents. uploaded attachments
ndismedian driver development kit (274.4 kb, 526 downloads) [who downloads?]

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.