Lines Matching refs:pcap_t
98 static int pcap_activate_dos (pcap_t *p);
99 static int pcap_read_dos (pcap_t *p, int cnt, pcap_handler callback,
101 static void pcap_cleanup_dos (pcap_t *p);
102 static int pcap_stats_dos (pcap_t *p, struct pcap_stat *ps);
103 static int pcap_sendpacket_dos (pcap_t *p, const void *buf, size_t len);
104 static int pcap_setfilter_dos (pcap_t *p, struct bpf_program *fp);
152 pcap_t *pcap_create_interface (const char *device, char *ebuf)
154 pcap_t *p;
168 static int pcap_activate_dos (pcap_t *pcap)
219 pcap_read_one (pcap_t *p, pcap_handler callback, u_char *data)
331 pcap_read_dos (pcap_t *p, int cnt, pcap_handler callback, u_char *data)
353 static int pcap_stats_dos (pcap_t *p, struct pcap_stat *ps)
388 int pcap_stats_ex (pcap_t *p, struct pcap_stat_ex *se)
414 static int pcap_setfilter_dos (pcap_t *p, struct bpf_program *fp)
441 static void pcap_cleanup_dos (pcap_t *p)
606 void pcap_set_wait (pcap_t *p, void (*yield)(void), int wait)
839 static pcap_t pcap_save;
889 static int pcap_sendpacket_dos (pcap_t *p, const void *buf, size_t len)