Lines Matching refs:adapter

134 	if(PacketGetStats(p->adapter, (struct bpf_stat*)ps) != TRUE){  in pcap_stats_win32()
146 if(PacketSetBuff(p->adapter,dim)==FALSE) in pcap_setbuff_win32()
158 if(PacketSetMode(p->adapter,mode)==FALSE) in pcap_setmode_win32()
171 if(PacketSetMinToCopy(p->adapter, size)==FALSE) in pcap_setmintocopy_win32()
183 return p->adapter; in pcap_getadapter_win32()
209 if(PacketReceivePacket(p->adapter,p->Packet,TRUE)==FALSE){ in pcap_read_win32_npf()
285 unsigned dfp = p->adapter->DagFastProcess; in pcap_read_win32_dag()
291 if(PacketReceivePacket(p->adapter, p->Packet, TRUE)==FALSE){ in pcap_read_win32_dag()
300 header = (dag_record_t*)p->adapter->DagBuffer; in pcap_read_win32_dag()
446 if(PacketSendPacket(p->adapter,PacketToSend,TRUE) == FALSE){ in pcap_inject_win32()
465 if (p->adapter != NULL) { in pcap_cleanup_win32()
466 PacketCloseAdapter(p->adapter); in pcap_cleanup_win32()
467 p->adapter = NULL; in pcap_cleanup_win32()
494 p->adapter = PacketOpenAdapter(p->opt.source); in pcap_activate_win32()
496 if (p->adapter == NULL) in pcap_activate_win32()
504 if(PacketGetNetType (p->adapter,&type) == FALSE) in pcap_activate_win32()
593 if (PacketSetHwFilter(p->adapter,NDIS_PACKET_TYPE_PROMISCUOUS) == FALSE) in pcap_activate_win32()
601 if (PacketSetHwFilter(p->adapter,NDIS_PACKET_TYPE_ALL_LOCAL) == FALSE) in pcap_activate_win32()
618 if(!(p->adapter->Flags & INFO_FLAG_DAG_CARD)) in pcap_activate_win32()
630 if(PacketSetBuff(p->adapter,p->opt.buffer_size)==FALSE) in pcap_activate_win32()
648 if(PacketSetMinToCopy(p->adapter,0)==FALSE) in pcap_activate_win32()
657 if(PacketSetMinToCopy(p->adapter,16000)==FALSE) in pcap_activate_win32()
703 p->snapshot = PacketSetSnapLen(p->adapter, snaplen); in pcap_activate_win32()
707 pw->dag_fcs_bits = p->adapter->DagFcsLen; in pcap_activate_win32()
713 PacketSetReadTimeout(p->adapter, p->opt.timeout); in pcap_activate_win32()
716 if(p->adapter->Flags & INFO_FLAG_DAG_CARD) in pcap_activate_win32()
797 if(PacketSetBpf(p->adapter,fp)==FALSE){ in pcap_setfilter_win32_npf()
872 if (!PacketSetReadTimeout(p->adapter, newtimeout)) { in pcap_setnonblock_win32()