Re: NDIS IM & NAT [OT]

“n’at” is Pittsburghese for “etc” or “and so on”, so it looked like a
question about NDIS IM and related topics.
joe

Hi, all

I developed the NAT use NDIS IM on XP. There are two NIC, one a usb
wireless NIC used to AP,
another one use to WAN.

I use the passthru in WDK sample, and we can receive packet from
LAN(wireless card) in PtReceive, and forward the packet to internet by WAN
interface.

I have two test case:

Ping: the ICMP forward out success, but the NdisPacket receive in
PtReceivePacket can not forward from LAN card.

I can see Status=0xc0000001 in PtSendComplete

DNS(udp): I can forward the DNS packet, but we not receive the DNS
response, the send not report error.

We use NdisSend() to send the new NdisPacket, and drop the original
packet.

What’s happen?

I always implement the NAT on win7 use WFP, but cannot implement use NDIS
IM.

I found “OID_TCP_TASK_OFFLOAD”, I only copy the data from original NDIS
packet, not copy the OOB?

Thanks
kandom


NTDEV is sponsored by OSR

Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev

OSR is HIRING!! See http://www.osr.com/careers

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer