简体   繁体   English

Windows内核缓冲区到用户空间的映射

[英]windows kernel buffer to userspace map

I have a network driver that captured network packets and processed it. 我有一个网络驱动程序,可以捕获网络数据包并对其进行处理。

I want to get this data from my userspace app. 我想从我的用户空间应用程序中获取此数据。

I did one similar Linux solution and successfully used memory mapping(that solution has the most speed with comparing to character devices). 我做了一个类似的Linux解决方案,并成功使用了内存映射(与字符设备相比,该解决方案具有最快的速度)。

Can anyone point me to workable example of doing kernel->userspace map? 谁能指出我做内核->用户空间映射的可行示例? I'm on 64bit system. 我在64位系统上。

you should read this article link 您应该阅读这篇文章链接

A Common Topic Explained - Sharing Memory Between Drivers and Applications 解释了一个共同的主题-在驱动程序和应用程序之间共享内存

http://www.osronline.com/article.cfm?article=39 http://www.osronline.com/article.cfm?article=39

hope this help. 希望有帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM