阅读:1351回复:3
初学者求助,关于 OID !(给分!!!)
大虾请指点:
Length Q S Name 4 M OID_GEN_XMIT_OK Frames transmitted without errors 4 M OID_GEN_RCV_OK Frames received without errors 8 O OID_GEN_DIRECTED_BYTES_XMIT Directed bytes transmitted without errors 4 O OID_GEN_DIRECTED_FRAMES_XMIT Directed frames transmitted without errors 在 DDK 中如上面的粗体字中的“Length” 为长度。。。。 但 “Q” 为何物??? 其下相应的“M” ,“O” 为表示什么??? 为我的OID_GEN_RCV_OK请求可行,而换成OID_GEN_DIRECTED_FRAMES_XMIT就失败!!!(驱动层没变过,只是应用层变) |
|
沙发#
发布于:2002-07-12 21:44
大虾请指点: 嘿嘿。。。。。。 DDK 中关于 OID 的有解释。 见: Column Header Notation Meaning Length By default, the value indicates the number of bytes of data associated with the OID. For counters, a length of 4 indicates a 32-bit counter and 8 indicates a 64-bit counter. The NIC driver cannot reset counters; counters wrap when they reach their maximum. Values expressed in the form Arr(n), indicate an array of elements, each of size n. The underlying driver stores array elements consecutively, with no padding. Q An \"M\" indicates the OID is valid in calls to NdisRequest or NdisCoRequest with RequestType value NdisRequestQueryInformation or, from components other than protocols, NdisRequestQueryStatistics. An \"O\" indicates the optional OID is valid in the same type of request if the underlying NDIS driver supports the OID. S An \"M\" indicates the OID is valid in calls to NdisRequest or NdisCoRequest with RequestType value NdisRequestSetInformation. An \"O\" indicates the optional OID is valid in the same type of request if the underlying NDIS driver supports the OID. Name The system-defined OID_XXX, followed by a brief explanation of the constant name. |
|
|
板凳#
发布于:2002-07-12 23:02
大虾请指点: 简而言之,M是NIC MINIPORT必须支持的查询。 而o是NIC MINIPORT可支持可不支持的查询. |
|
|
地板#
发布于:2002-07-13 01:32
[quote]大虾请指点: 简而言之,M是NIC MINIPORT必须支持的查询。 而o是NIC MINIPORT可支持可不支持的查询. [/quote] 是应该简而言之。。。。 :) |
|
|