Searched refs:pcap_err (Results 1 – 3 of 3) sorted by relevance
/freebsd/contrib/wpa/src/l2_packet/ |
H A D | l2_packet_pcap.c | 201 char pcap_filter[200], pcap_err[PCAP_ERRBUF_SIZE]; in l2_packet_init_libpcap() local 207 pcap_lookupnet(ifname, &pcap_netp, &pcap_maskp, pcap_err); in l2_packet_init_libpcap() 208 l2->pcap = pcap_open_live(ifname, 2500, 0, 10, pcap_err); in l2_packet_init_libpcap() 210 fprintf(stderr, "pcap_open_live: %s\n", pcap_err); in l2_packet_init_libpcap() 214 if (pcap_setnonblock(l2->pcap, 1, pcap_err) < 0) in l2_packet_init_libpcap() 218 pcap_lookupnet(l2->ifname, &pcap_netp, &pcap_maskp, pcap_err); in l2_packet_init_libpcap() 219 l2->pcap = pcap_open_live(l2->ifname, 2500, 0, 10, pcap_err); in l2_packet_init_libpcap() 221 fprintf(stderr, "pcap_open_live: %s\n", pcap_err); in l2_packet_init_libpcap()
|
H A D | l2_packet_winpcap.c | 165 char pcap_filter[200], pcap_err[PCAP_ERRBUF_SIZE]; in l2_packet_init_libpcap() local 168 pcap_lookupnet(l2->ifname, &pcap_netp, &pcap_maskp, pcap_err); in l2_packet_init_libpcap() 169 l2->pcap = pcap_open_live(l2->ifname, 2500, 0, 1, pcap_err); in l2_packet_init_libpcap() 171 fprintf(stderr, "pcap_open_live: %s\n", pcap_err); in l2_packet_init_libpcap()
|
H A D | l2_packet_freebsd.c | 122 char pcap_filter[200], pcap_err[PCAP_ERRBUF_SIZE]; in l2_packet_init_libpcap() local 125 pcap_lookupnet(l2->ifname, &pcap_netp, &pcap_maskp, pcap_err); in l2_packet_init_libpcap() 126 l2->pcap = pcap_open_live(l2->ifname, 2500, 0, 10, pcap_err); in l2_packet_init_libpcap() 128 fprintf(stderr, "pcap_open_live: %s\n", pcap_err); in l2_packet_init_libpcap()
|