阅读:2380回复:5
中间层驱动需要注意的一点
基于passthru的中间层驱动,当修改了原始的packet之后,记得这句话:
NOTE on OID_TCP_TASK_OFFLOAD - if this IM driver modifies the contents of data it passes through such that a lower miniport may not be able to perform TCP task offload, then it should not forward this OID down, but fail it here with the status NDIS_STATUS_NOT_SUPPORTED. This is to avoid performing incorrect transformations on data. 大意是说 当查询OID_TCP_TASK_OFFLOAD时,不能向下传递OID_TCP_TASK_OFFLOAD,屏蔽网卡的TCP_TASK_OFFLOAD功能。 MPQueryInformation函数的注释中有。 否则: 即使最简单的tcp 3次握手都不能完成。 |
|
沙发#
发布于:2010-09-01 20:06
呵呵,不好意思了,因为我碰到这个问题了,所以想发到这里来给大家分享下
|
|