It seems that the card driver I am using supports the querying the OID but 
does not set it although it is a settable NDIS OID. Is this possible ??
Thanks.
Iannou


>From: "George Iannou" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: [WinPcap-users] PacketRequest does not function to set OID
>Date: Thu, 26 Sep 2002 13:13:45 +0000
>
>Thanks Loris.
>
>I already looked at that :) ...and the code below is similar to SetHw...
>but it seems that the value is still not set ... Any other way I can set 
>the OID ??
>
>
>>From: "Loris Degioanni" <[EMAIL PROTECTED]>
>>Reply-To: [EMAIL PROTECTED]
>>To: <[EMAIL PROTECTED]>
>>Subject: Re: [WinPcap-users] PacketRequest does not function to set OID
>>Date: Thu, 26 Sep 2002 10:16:07 +0200
>>
>>Look at the PacketSetHwFilter() function. It's in the
>>packetntx\dll\packet32.c file of the winpcap source code distribution.
>>
>>Loris
>>
>>----- Original Message -----
>>From: "George Iannou" <[EMAIL PROTECTED]>
>>To: <[EMAIL PROTECTED]>
>>Sent: Wednesday, September 25, 2002 6:13 PM
>>Subject: [WinPcap-users] PacketRequest does not function to set OID
>>
>>
>> >
>> > Hi,
>> >
>> > I have been trying to use Winpcap 2.3 to do the following
>> >
>> > Set an OID for an ethernet card using PacketRequest. The following is 
>>the
>> > code (oidPacket is type PPACKET_OID_DATA)
>> >
>> > oidPacket = malloc(sizeof(PACKET_OID_DATA)+sizeof(ULONG)-1)
>> > ;
>> > ULONG l;
>> >
>> > l = 0x01;
>> > oidPacket->Oid = OID_GEN_CURRENT_PACKET_FILTER;
>> > oidPacket->Length= sizeof(ULONG);
>> > *((PULONG)oidPacket->Data)=l;
>> >
>> > PacketRequest(lpAdapter, TRUE, oidPacket);
>> >
>> >
>> > The REQUEST IS SUCCESSFUL but when I query the OID from another tool - 
>>the
>> > OID is still the same old value.
>> >
>> > CAn anyone please suggest an alternative to setting an OID ...
>> >
>> > Thanks a million in advance
>> >
>> > Iannou
>> >
>> > _________________________________________________________________
>> > Chat with friends online, try MSN Messenger: http://messenger.msn.com
>> >
>> >
>> >
>> > ==================================================================
>> >  This is the WinPcap users list. It is archived at
>> >  http://www.mail-archive.com/[email protected]/
>> >
>> >  To unsubscribe use
>> >  mailto: [EMAIL PROTECTED]?body=unsubscribe
>> > ==================================================================
>> >
>>
>>
>>
>>==================================================================
>>  This is the WinPcap users list. It is archived at
>>  http://www.mail-archive.com/[email protected]/
>>
>>  To unsubscribe use
>>  mailto: [EMAIL PROTECTED]?body=unsubscribe
>>==================================================================
>
>
>
>
>_________________________________________________________________
>MSN Photos is the easiest way to share and print your photos: 
>http://photos.msn.com/support/worldwide.aspx
>
>
>
>==================================================================
>This is the WinPcap users list. It is archived at
>http://www.mail-archive.com/[email protected]/
>
>To unsubscribe use mailto: 
>[EMAIL PROTECTED]?body=unsubscribe
>==================================================================




_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx



==================================================================
 This is the WinPcap users list. It is archived at
 http://www.mail-archive.com/[email protected]/

 To unsubscribe use 
 mailto: [EMAIL PROTECTED]?body=unsubscribe
==================================================================

Reply via email to