home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.os.os2.networking:1383 comp.os.os2.programmer:4982
- Path: sparky!uunet!wupost!waikato.ac.nz!hamish
- From: hamish@waikato.ac.nz
- Newsgroups: comp.os.os2.networking,comp.os.os2.programmer
- Subject: NDIS Protocol Init. What else do I do?
- Message-ID: <1992Sep16.135452.10811@waikato.ac.nz>
- Date: 16 Sep 92 13:54:52 +1200
- Organization: University of Waikato, Hamilton, New Zealand
- Lines: 38
-
-
- Is there anybody out there who has ever written an NDIS protocol driver? I am
- currently trying to get one working, but it will only recieve packets when
- tcpip is also bound to the same adapter. Needless to say this isn't exactly
- what I need. What am I doing wrong? I have the specs for 2.01 of the NDIS, and
- it doesn't mention anything special to wakeup the adapter. The NDIS MAC doesn't
- seem to support OpenAdapter (It returns no such function), and I have tried
- doing everything that the NDISPKT code does (ie turning indications off and on
- etc), but nothing seems to work unless ifndis and inet.sys are also loaded.
-
- The exact sequence of calls I am using at bind time is...
-
-
- Send BIND command to MAC to get Common CHar Table etc..
- Call OpenAdapter
- Indications Off
- reset MAC
- Indications On
-
- and return.
-
- If tcpip is loaded this will work and I get packets arriving at RecieveChain,
- if this is the only protocol then I get nothing. What else magic needs to be
- done that I don't do?
-
- TIA.
-
- --
- ==============================================================================
- | Hamish Marson <h.marson@waikato.ac.nz> OS/2 |
- | Programmer (n/5), School of Computing and Mathematical Sciences |
- | University of Waikato, |
- | Hamilton, New Zealand. |
- |Disclaimer: Anything said in this message is the personal opinion of the |
- | finger hitting the keyboard & doesn't represent my employers |
- | opinion in any way. (ie we probably don't agree) |
- ==============================================================================
- Q. If Nuclear Tests are so safe, why don't the French do them under Paris?
-