> I believe IPv4 and IPv6 stack can co-exist in the system at the same
> time. How system knows that whether my NDIS will support IPv4 or IPv6? as
> well as can't we tell the system to send the IPv4 packets only to NDIS?
The system will not do this distinction. It will just send all incoming packets
to your IM, both IPv4 and IPv6. Same with outgoing packets.
IM is below the layer where the packets are dispatched to the protocol. This
layer is partly in NDIS (filtering by packet class -
unicast/multicast/broadcast/promiscuous, by multicast group and by destination
address in promiscuous mode) and partly in the protocols themselves (by
protocol ID and such).
The packet is delivered to all protocols, so all of them will have a chance to
look at it. The protocol will just skip the packets unknown to it.
IM is below all of this.
--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
http://www.storagecraft.com