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 ==================================================================
