From: "Wojciech Galazka" Newsgroups: comp.os.msdos.djgpp Subject: Re: porting PCI card driver from NT to DOS Date: Wed, 9 Apr 2003 22:16:54 +0200 Organization: NASK - www.nask.pl Lines: 23 Message-ID: References: <054d01c2fdc9$ffa76710$0600000a AT broadpark DOT no> <3e92e439$0$18023$9b622d9e AT news DOT freenet DOT de> NNTP-Posting-Host: wawhsa-207.dial.plusgsm.pl Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" X-Trace: pippin.warman.nask.pl 1049919306 7004 212.2.98.207 (9 Apr 2003 20:15:06 GMT) X-Complaints-To: usenet AT nask DOT pl NNTP-Posting-Date: Wed, 9 Apr 2003 20:15:06 +0000 (UTC) X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 X-Newsreader: Microsoft Outlook Express 4.72.2106.4 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h39KU1q31964 Reply-To: djgpp AT delorie DOT com deckerben wrote in : <3e92e439$0$18023$9b622d9e AT news DOT freenet DOT de>... > >Gisle, have you ever tried to port the pcap library from www.tcdump.org to >DJGPP-Watt32? The API it uses seems to be the one of choice ammong some of >the GNU developers. Use Winpcap. (www.winpcap.org or so, this is BSD licensed stuff. The net card details and buffers you'll need to retrieve from NT using kernel device driver (supplied there) along with some glue code (supplied with examplesthere too). You would only really need to write a ;packet driver' - a dos tsr - that acting as a VDD communcates with the above mentioned kernel mode driver exposing itself packet driver API. This can be done using Crymwr packet sources from simtel. I had this stuff well researched but I decided to stop supporting Microsoft operating systems, especially after Craig Mundie started talking his nonsenses about open source.