delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/04/09/16:30:05

From: "Wojciech Galazka" <wojciech DOT galazka AT polkomtel DOT com DOT pl>
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: <b71v08$6qs$1@pippin.warman.nask.pl>
References: <Pine DOT HPX DOT 4 DOT 21 DOT 0304081332480 DOT 11022-100000 AT fajnm1 DOT am DOT ub DOT es> <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
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
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.



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019