// {初始化网卡,设置为混合模式ndis_packet_type_promiscuous
if(packetsethwfilter(m_lpadapter, ndis_packet_type_promiscuous)==false)
{
//printf("warning: unable to set the adapter to promiscuous mode\n");
}
if(packetsetbuff(m_lpadapter, 500*1024)==false)
{