OP: Is your project really so top-secret that you can’t explain it to
us? I’m morbidly curious at this point.
And regarding your new approach: just bear in mind that complexity is
the enemy of good software development. Or, put another way, from RFC
1925 (http://www.ietf.org/rfc/rfc1925.txt):
(3) With sufficient thrust, pigs fly just fine. However, this is
not necessarily a good idea. It is hard to be sure where they
are going to land, and it could be dangerous sitting under them
as they fly overhead.
Or maybe it’s these:
(6) It is easier to move a problem around (for example, by moving
the problem to a different part of the overall network
architecture) than it is to solve it.
(6a) (corollary). It is always possible to add another level of
indirection.
It’s certainly this:
(8) It is more complicated than you think.
…and on this group, you have a history of this:
(11) Every old idea will be proposed again with a different name and
a different presentation, regardless of whether it works.
(11a) (corollary). See rule 6a.
This is important:
(12) In protocol design, perfection has been reached not when there
is nothing left to add, but when there is nothing left to take
away.
(which holds for drivers)
But alas, I fear this is particularly relevant:
(4) Some things in life can never be fully appreciated nor
understood unless experienced firsthand. Some things in
networking can never be fully understood by someone who neither
builds commercial networking equipment nor runs an operational
network.
-Steve
On Jun 13, 2007, at 11:48 PM, Thomas F. Divine wrote:
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of shobhit
shingla
Sent: Thursday, June 14, 2007 12:18 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] NDIS IM Driver to NDIS Protocol Driver
Hi all
I think now i am clear about my requirement.
Can i achieve somethink like this
NDIS IM Driver that receives all the packets from TCP/IP stack and
NIC Driver and passes only UDP Packets to a NDIS Protocol
Driver.Then NDIS Protocol Driver returns the UDP Packets to the IM
Driver after some processing.
Is this possible ?
[PCAUSA] Yes, this would actually work.
I also have some questions regarding this
- Whether my NDIS IM Driver needs 2 interfaces at the upper
edge as it has to bound to both TCP/IP stack and my NDIS Protocol
Driver at the upper edge or i can do with only one interface?
[PCAUSA] Yes. It would follow the DDK ?MUX? sample driver
architecture.
- When NDIS IM Driver receives the modified packet from the
protocol driver how will it distinguish the packet coming from TCP/
IP Stack and from the protocol driver.
[PCAUSA] You must invent your own method to make this distinction.
Splitting the work into two different drivers this way (or any
other way?) will add several months to your development time. It
simply makes no sense to me.
If you have common code that you want to use with different
drivers, consider using an ?export driver?. Actually, this is a
misnomer. An ?export driver? is not a separate runtime binary.
Instead, it is more like a kernel-mode static DLL. You can put
common code in the ?export driver? and use it with different
drivers like you would a static DLL.
Good luck. You are putting together a design that will take much
more time to achieve then you think.
Thomas F. Divine
— Questions? First check the Kernel Driver FAQ at http://
www.osronline.com/article.cfm?id=256 To unsubscribe, visit the List
Server section of OSR Online at http://www.osronline.com/page.cfm?
name=ListServer
Questions? First check the Kernel Driver FAQ at http://
www.osronline.com/article.cfm?id=256
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer