Re: [ntdev] NDIS 6 ?modify send packet , cause BSOD

bug check detail?

=================
Best Regards!
Zhang Pei
www.yiiyee.cn/blog

From: monkeycd@163.com
Sent: ‎Thursday‎, ‎July‎ ‎24‎, ‎2014 ‎10‎:‎17‎ ‎AM
To: Windows System Software Devs Interest List

Now?my demo can transform duplicated packet well, but , when I Modified the
packet’s data, it caused BSOD,here’s my modified (this demo only modified UDP )
:
1.get real data, xor it .
2.calculate checksum UDP data.
3.calculate ip header checksum.
4.send pakcet .

Can I use the follow code instead checksum that I do?

NET_BUFFER_LIST_INFO(pNewBufList, TcpIpChecksumNetBufferListInfo) =
NET_BUFFER_LIST_INFO(pSendPacketList, TcpIpChecksumNetBufferListInfo);


NTDEV is sponsored by OSR

Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev

OSR is HIRING!! See http://www.osr.com/careers

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer