Home
last modified time | relevance | path

Searched refs:pcap_err (Results 1 – 3 of 3) sorted by relevance

/external/wpa_supplicant_8/src/l2_packet/
Dl2_packet_pcap.c201 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()
Dl2_packet_freebsd.c106 char pcap_filter[200], pcap_err[PCAP_ERRBUF_SIZE]; in l2_packet_init_libpcap() local
109 pcap_lookupnet(l2->ifname, &pcap_netp, &pcap_maskp, pcap_err); in l2_packet_init_libpcap()
110 l2->pcap = pcap_open_live(l2->ifname, 2500, 0, 10, pcap_err); in l2_packet_init_libpcap()
112 fprintf(stderr, "pcap_open_live: %s\n", pcap_err); in l2_packet_init_libpcap()
Dl2_packet_winpcap.c165 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()