Re: NDIS Intermediate Driver Question(IMSAMP, PASSTHR- U)

> ----------

From: Thomas F. Divine[SMTP:xxxxx@pcausa.com]
Reply To: NT Developers Interest List
Sent: Tuesday, May 22, 2001 6:15 PM
To: NT Developers Interest List
Subject: [ntdev] Re: NDIS Intermediate Driver Question(IMSAMP,
PASSTHRU)
>
> 1. When using the protocol reserved area of NDIS_PACKET, there seems to
be
> confusion as to the sizes these can be. 16 bytes or more than 16 bytes
that
> is the question?. Can somebody clarify the size that this “variable
field
> can be” on both NT4 and W2K for both sends and receives?
>
>
The Windows 2000 DDK documentation has been systematically revised to show
the correct value: “at least 16 bytes”. This applies to Windows NT as
well.

Whistler docs available at http://www.osr.com eventually cleared confusion
and states:

ProtocolReservedLength
Specifies the number of bytes to be allocated for the
ProtocolReserved array of each packet descriptor. For packet descriptors to
be used in receive indications, this parameter is 4*sizeof(PVOID).

This is consistent with “at least 16 bytes” which is IMHO true for all NT
versions. To be consistent with all docs you can use exactly 16 bytes :slight_smile: As
stated above, it is only for receive indications which makes sense, I see no
reason there should be any such restriction for packets sent from protocol
drivers.

Best regards,

Michal Vodicka
Veridicom
(RKK - Skytale)
[WWW: http://www.veridicom.com , http://www.skytale.com]


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com