I think I am convinced that “Received” count displayed in the Status
window when I double click the network connections icon on my machine
shows TCP/IP packets.
I forgot to set the status in the packet, which I am doing now. NDIS
calls me back right away and returns my packet in the
MiniportReturnPacket handler. So everything looks good. But the count
never goes up?
ravi
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Calvin Guan
Sent: Monday, April 18, 2005 11:31 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] OIDs and status
Murty,
I’m not doing NDIS driver now. I don’t have a setup to trace the the
PACKET_FILTER and can’t remember exactly when it’s getting called
Usually, protocols will call NDIS to enable packet reception on a NIC
which results in GEN_CURRENT_PACKET_FILTER being sent to the miniport.
Calvin Guan, Windows DDK MVP
Software Engineer, NT Driver
ATI Technologies Inc. www.ati.com
P.S. I’ll be back to my favorite NDIS driver very soon-:-).
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Murty, Ravi
Sent: April 18, 2005 1:33 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] OIDs and status
Thanks Calvin,
We’re sending all packets upto the miniport without any filters for
testing right now. I implemented this OID - GEN_CURRENT_PACKET_FILTER,
but I don’t see it being called by NDIS? Do you know when this is
called. I know my miniport is receiving a packet and is sending it upto
NDIS.
thanks
ravi
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Calvin Guan
Sent: Monday, April 18, 2005 9:46 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] OIDs and status
To add what I said in my previous post:
I would suggest make the OIDSet/Get routine as bulletproof as possible
before doing anything in other code path. It saves me from trouble in my
experience.
Calvin Guan, Windows DDK MVP
Software Engineer, NT Driver
ATI Technologies Inc. www.ati.com
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Murty, Ravi
Sent: April 18, 2005 12:19 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] OIDs and status
Hmmm… I just realized that I don’t support
OID_GEN_CURRENT_PACKET_FILTER. I don’t do anything with it when I get a
“SetInformation” call either. This is what is probably causing NDIS
(protocols above the miniport) to not receive the packet.
thanks
ravi
From: Murty, Ravi
Sent: Thursday, April 14, 2005 2:07 PM
To: ‘Windows System Software Devs Interest List’
Subject: RE: [ntdev] OIDs and status
That’s the first thing I checked and yes it is being called. The only
thing I can think of is that the receive packet count displayed on the
network connections status is being collected and displayed only when
the TCP/IP stack receives the packet.
Ravi
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Thomas F. Divine
Sent: Thursday, April 14, 2005 1:41 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] OIDs and status
“Murty, Ravi” wrote in message
news:xxxxx@ntdev…
Hello,
When I open the network connections tray to look at the status
for my NIC, I don’t see it display the packets I received. I know I am
responding
to OID_GEN_RCV_OK with the right count? What could I be missing?
Thanks
ravi
You might check with a debugger to see if OID_GEN_RCV_OK is actually
being called at all. I’ll bet that it isn’t…
I think that the connections tray statistics are collected some other
way. Probably in the TCP/IP driver.
Good luck,
Thomas F. Divine, Windows DDK MVP
http://www.rawether.net
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com