Re: packet does not get to tcp ip



1. Indicate each buffer to NDIS in its own packet containing only one
buffer - this seems to me inefficient

No. This will break the packet boundaries.

2. Copy all the buffers to a single buffer and indicate the new buffer
to ndis in a single packet - this seems to me even less efficient

Can be the only way.

3. Override the lookahead setting to be 0 so the first buffer will
contain only the ethernet header

No. TCP/IP requires the IP/TCP/UDP headers to also fit the first buffer.
Anyway - the lookahead size is the protocol's order to you, you cannot ignore
it.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@xxxxxxxxxxxxxxxx
http://www.storagecraft.com

.