Not receiving packets from my ethernet NDIS driver
- From: altrdstate@xxxxxxxxx
- Date: 3 Jun 2006 06:40:21 -0700
Hello,
I'm writing an NDIS driver which pretends to be an ethernet adapter.
The adapter loads fine and is able to indicate packets to the upper
protocol stack using NdisMEthIndicateReceive. I can see these packets
with the vxsniffer application, but not with my own visual C
application. The receiving application has been tested by using send()
from localhost and it receives things just fine. But anything coming
from my driver just doesn't arrive.
This might have something to do with the fact that some other
application still reports that the driver has IP address 0.0.0.0, mask
0.0.0.0 etc even though I've set a static IP address (192.168.1.1)
through the network adapters dialog of windows mobile. I'm using WM
2005 Pocket PC. The packets I'm sending are also directed to the
192.168.1.1 address.
A related problem may be that I can't seem to join a multicast group on
this interface either, this fails with the error WSAEADDRNOTAVAIL,
which presumably also refers to the 192.168.1.1 address. I think the
problem is therefore related to the fact that windows thinks the
interface address is 0.0.0.0.
Any ideas on why NDIS doesn't assign the correct address or how I can
change that? Or other ideas about why my packets don't arrive at the
receiver application / why the multicast join fails?
regards,
John
.
- Follow-Ups:
- RE: Not receiving packets from my ethernet NDIS driver
- From: Corey Burke [MS]
- RE: Not receiving packets from my ethernet NDIS driver
- Prev by Date: Re: KITL over USB RNDIS
- Next by Date: measuring interrupt latencies
- Previous by thread: file system driver integration with Window CE device
- Next by thread: RE: Not receiving packets from my ethernet NDIS driver
- Index(es):
Relevant Pages
|