Hi !

 

Here are my modifications in the driver file “Packet.c” (via the unix command diff)

 

///// New function

 

> NDIS_STATUS PacketPnPEvent (IN NDIS_HANDLE ProtocolBindingContext,

>                                                       IN PNET_PNP_EVENT pNetPnPEvent)

> {

>       return NDIS_STATUS_SUCCESS;

> }

 

//// In the function PKT_Init ->

 

229,230c235,238

<       ProtocolChar.MajorNdisVersion            = 0x03;

<       ProtocolChar.MinorNdisVersion            = 0x00;

---

>       //ProtocolChar.MajorNdisVersion            = 0x03;

>       //ProtocolChar.MinorNdisVersion            = 0x00;

>       ProtocolChar.MajorNdisVersion            = 5;

>       ProtocolChar.MinorNdisVersion            = 0;

245a254,258

>       ProtocolChar.PnPEventHandler                     = PacketPnPEvent;

>       ProtocolChar.UnloadHandler                               = NULL;

>

>       ProtocolChar.ReceivePacketHandler                = NULL;

 

Then it should compile

 

/Marc-Aurèle

 

-----Original Message-----
From:
Chan, John Kaho [mailto:[EMAIL PROTECTED]]
Sent
: mardi, 10. février 2004
18:46
To: '
Marc-Aurèle Brothier - s h o c k f i s h /'; Chan, John Kaho
Cc:
[EMAIL PROTECTED]
Subject: RE: [WinPcap-users] PacketCE - Someone got it working under Windows CE 4.2?

 

Marco,

Thanks for your information again. I compiled winpcap and ran fine under wince 3.0, so can you pin point what I have to do to make it work under wince4.2  such as "changing the version of the NDIS declaration in the code, and to add the functions needed by NDIS 5.1." as you have mentioned.

Do you have a demo project for the driver and sample app I can look at?

Thanks a lot.

John

 

 

-----Original Message-----
From: Marc-Aurèle Brothier - s h o c k f i s h / [mailto:[EMAIL PROTECTED]
Sent:
Tuesday, February 10, 2004 12:26 PM
To: 'Chan, John Kaho'
Cc: [EMAIL PROTECTED]
Subject: RE: [WinPcap-users] PacketCE - Someone got it working under Windows CE 4.2?

 

Don't expect to capture all the traffic. You will be limited to the traffic of your network! (The network of your current SSID for a Wireless LAN)

 

/Marc-Aurèle

 

-----Original Message-----
From: Chan, John Kaho [mailto:[EMAIL PROTECTED]
Sent: mardi, 10. février 2004
14:16
To: 'Marc-Aurèle Brothier - s h o c k f i s h /'
Subject: RE: [WinPcap-users] PacketCE - Someone got it working under Windows CE 4.2?

 

Marco,

Thanks for the info. I was under the impression that you weren't able to capture any traffic?

John

 

-----Original Message-----
From: Marc-Aurèle Brothier - s h o c k f i s h / [mailto:[EMAIL PROTECTED]
Sent:
Tuesday, February 10, 2004 3:42 AM
To: 'Chan, John Kaho'
Subject: RE: [WinPcap-users] PacketCE - Someone got it working under Windows CE 4.2?

 

Hi,

 

Yes, I did it. You need to look at the new specification for NDIS. You just need to change the version of the NDIS declaration in the code, and to add the functions needed by NDIS 5.1.

 

/Marco

 

 

-----Original Message-----
From: Chan, John Kaho [mailto:[EMAIL PROTECTED]
Sent: lundi, 9. février 2004 20:48
To: '[EMAIL PROTECTED]'
Subject: [WinPcap-users] PacketCE - Someone got it working under Windows CE 4.2?

 

I tried compiling it with evc++ 4.0 and it gave me a whole bunch of errors.

Reply via email to