<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.5726" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=haich.woo@gmail.com href="mailto:haich.woo@gmail.com">yu-ruei woo</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=winpcap-users@winpcap.org
href="mailto:winpcap-users@winpcap.org">winpcap-users@winpcap.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, October 27, 2009 10:44
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Winpcap-users] Can we set
custom OID to a miniport driver via NPFdriver?</DIV>
<DIV><BR></DIV>Hi GV,
<DIV><BR></DIV>
<DIV>We are planing to use NPF as a packet filter. In addition, we are going
to use a custom OID for turning on/off a specific feature that changes the
packet indication behavior of our NDIS miniport driver. We want to set the
custom OID from Application Layer. Is it possible that we add a new function
in WinPcap that set the custom OID in the way similar
to PacketSetHwFilter(Packet32.c)?</DIV></BLOCKQUOTE>
<DIV> </DIV>
<DIV><FONT size=2>Yes. Or use directly PacketRequest, like the sample
GetMacAddress does. Please bear in mind that the use of the Packet API is
discouraged as this API is subject to change without any notice.</FONT></DIV>
<DIV><FONT size=2>Have a nice day</FONT></DIV>
<DIV><FONT size=2>GV</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV><BR></DIV>
<DIV>Best regards,</DIV>
<DIV>Haich</DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>Winpcap-users
mailing
list<BR>Winpcap-users@winpcap.org<BR>https://www.winpcap.org/mailman/listinfo/winpcap-users<BR></BLOCKQUOTE></BODY></HTML>