Searched refs:PCAP_ERRBUF_SIZE (Results 1 - 25 of 33) sorted by relevance

12

/external/libpcap/
H A Dpcap-null.c46 (void)strlcpy(ebuf, nosup, PCAP_ERRBUF_SIZE);
H A Dpcap-bpf.c130 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "BIOCGSTATS: %s",
219 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "read: %s",
349 (void)snprintf(p->errbuf, PCAP_ERRBUF_SIZE,
362 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send: %s",
378 snprintf(errbuf, PCAP_ERRBUF_SIZE,
387 snprintf(errbuf, PCAP_ERRBUF_SIZE,
404 snprintf(errbuf, PCAP_ERRBUF_SIZE,
413 snprintf(errbuf, PCAP_ERRBUF_SIZE,
446 snprintf(errbuf, PCAP_ERRBUF_SIZE,
455 snprintf(errbuf, PCAP_ERRBUF_SIZE,
[all...]
H A Dfad-win32.c65 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
74 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
85 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
96 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
107 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
234 snprintf(errbuf, PCAP_ERRBUF_SIZE,
250 snprintf(errbuf, PCAP_ERRBUF_SIZE, "Cannot allocate enough memory to list the adapters.");
255 snprintf(errbuf, PCAP_ERRBUF_SIZE,
H A Dpcap-win32.c96 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "PacketGetStats error: %s", pcap_win32strerror());
127 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "read error: PacketReceivePacket failed");
208 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "read error: PacketReceivePacket failed");
357 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send error: PacketAllocatePacket failed");
363 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send error: PacketSendPacket failed");
405 snprintf(ebuf, PCAP_ERRBUF_SIZE, "malloc: %s", pcap_strerror(errno));
417 snprintf(ebuf, PCAP_ERRBUF_SIZE, "Error opening adapter: %s", pcap_win32strerror());
424 snprintf(ebuf, PCAP_ERRBUF_SIZE, "Cannot determine the network type: %s", pcap_win32strerror());
513 snprintf(ebuf, PCAP_ERRBUF_SIZE, "failed to set hardware filter to promiscuous mode");
521 snprintf(ebuf, PCAP_ERRBUF_SIZE, "faile
[all...]
H A Dpcap-dlpi.c383 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send: %s",
389 snprintf(p->errbuf, PCAP_ERRBUF_SIZE,
395 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send: %s",
429 PCAP_ERRBUF_SIZE);
485 strlcpy(ebuf, pcap_strerror(errno), PCAP_ERRBUF_SIZE);
524 snprintf(ebuf, PCAP_ERRBUF_SIZE,
582 snprintf(ebuf, PCAP_ERRBUF_SIZE, "%s: %s", dname,
605 snprintf(ebuf, PCAP_ERRBUF_SIZE,
608 snprintf(ebuf, PCAP_ERRBUF_SIZE, "%s: %s",
705 snprintf(ebuf, PCAP_ERRBUF_SIZE, "A_PROMISCON_RE
[all...]
H A Dinet.c189 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
216 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
227 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
238 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
392 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
401 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
412 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
425 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
440 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
575 PCAP_ERRBUF_SIZE);
[all...]
H A Dfad-gifc.c215 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
244 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
292 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
308 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
319 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
383 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
409 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
440 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
479 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
H A Dfad-glifc.c105 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
115 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
128 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
141 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
157 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
219 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
244 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
272 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
307 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
H A Dpcap-snit.c223 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send: %s",
245 snprintf(ebuf, PCAP_ERRBUF_SIZE, "NIOCSTIME: %s",
257 snprintf(ebuf, PCAP_ERRBUF_SIZE, "NIOCSFLAGS: %s",
277 strlcpy(ebuf, pcap_strerror(errno), PCAP_ERRBUF_SIZE);
306 snprintf(ebuf, PCAP_ERRBUF_SIZE, "%s: %s", dev,
313 snprintf(ebuf, PCAP_ERRBUF_SIZE, "I_SRDOPT: %s",
318 snprintf(ebuf, PCAP_ERRBUF_SIZE, "push nbuf: %s",
328 snprintf(ebuf, PCAP_ERRBUF_SIZE, "NIOCSCHUNK: %s",
340 snprintf(ebuf, PCAP_ERRBUF_SIZE, "NIOCBIND: %s: %s",
350 snprintf(ebuf, PCAP_ERRBUF_SIZE, "NIOCSSNA
[all...]
H A Dsavefile.c907 snprintf(p->errbuf, PCAP_ERRBUF_SIZE,
916 PCAP_ERRBUF_SIZE);
965 snprintf(errbuf, PCAP_ERRBUF_SIZE, "%s: %s", fname,
989 strlcpy(errbuf, "out of swap", PCAP_ERRBUF_SIZE);
998 snprintf(errbuf, PCAP_ERRBUF_SIZE,
1002 snprintf(errbuf, PCAP_ERRBUF_SIZE,
1013 snprintf(errbuf, PCAP_ERRBUF_SIZE,
1042 snprintf(errbuf, PCAP_ERRBUF_SIZE, "archaic file format");
1100 strlcpy(errbuf, "out of swap", PCAP_ERRBUF_SIZE);
1191 snprintf(p->errbuf, PCAP_ERRBUF_SIZE,
[all...]
H A Dpcap-snoop.c149 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send: %s",
212 snprintf(ebuf, PCAP_ERRBUF_SIZE, "malloc: %s",
219 snprintf(ebuf, PCAP_ERRBUF_SIZE, "snoop socket: %s",
228 snprintf(ebuf, PCAP_ERRBUF_SIZE, "snoop bind: %s",
234 snprintf(ebuf, PCAP_ERRBUF_SIZE, "SIOCADDSNOOP: %s",
307 snprintf(ebuf, PCAP_ERRBUF_SIZE,
320 snprintf(ebuf, PCAP_ERRBUF_SIZE, "SIOCGIFMTU: %s",
354 snprintf(ebuf, PCAP_ERRBUF_SIZE, "SIOCSNOOPLEN: %s",
361 snprintf(ebuf, PCAP_ERRBUF_SIZE, "SIOCSNOOPING: %s",
369 snprintf(ebuf, PCAP_ERRBUF_SIZE, "mallo
[all...]
H A Dpcap-linux.c262 snprintf(ebuf, PCAP_ERRBUF_SIZE, "malloc: %s",
283 snprintf(ebuf, PCAP_ERRBUF_SIZE,
291 snprintf(ebuf, PCAP_ERRBUF_SIZE, "strdup: %s",
414 snprintf(ebuf, PCAP_ERRBUF_SIZE,
756 PCAP_ERRBUF_SIZE);
770 PCAP_ERRBUF_SIZE);
778 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "send: %s",
867 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE,
1410 snprintf(ebuf, PCAP_ERRBUF_SIZE, "socket: %s",
1469 snprintf(ebuf, PCAP_ERRBUF_SIZE,
[all...]
H A Dpcap-nit.c205 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send: %s",
234 snprintf(ebuf, PCAP_ERRBUF_SIZE, "SIOCSNIT: %s",
259 strlcpy(ebuf, pcap_strerror(errno), PCAP_ERRBUF_SIZE);
272 snprintf(ebuf, PCAP_ERRBUF_SIZE,
280 snprintf(ebuf, PCAP_ERRBUF_SIZE,
295 strlcpy(ebuf, pcap_strerror(errno), PCAP_ERRBUF_SIZE);
304 strlcpy(ebuf, pcap_strerror(errno), PCAP_ERRBUF_SIZE);
H A Dpcap-pf.c234 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send: %s",
307 snprintf(ebuf, PCAP_ERRBUF_SIZE,
335 snprintf(ebuf, PCAP_ERRBUF_SIZE, "pf open: %s: %s\n\
345 snprintf(ebuf, PCAP_ERRBUF_SIZE, "EIOCMBIS: %s",
356 snprintf(ebuf, PCAP_ERRBUF_SIZE, "EIOCSETW: %s",
362 snprintf(ebuf, PCAP_ERRBUF_SIZE, "EIOCDEVP: %s",
444 snprintf(ebuf, PCAP_ERRBUF_SIZE, "unknown data-link type %u",
459 snprintf(ebuf, PCAP_ERRBUF_SIZE, "EIOCTRUNCATE: %s",
469 snprintf(ebuf, PCAP_ERRBUF_SIZE, "EIOCSETF: %s",
479 snprintf(ebuf, PCAP_ERRBUF_SIZE, "EIOCSRTIMEOU
[all...]
H A Dpcap-dag.c277 strncpy(p->errbuf, "dag_read: record too small", PCAP_ERRBUF_SIZE);
481 PCAP_ERRBUF_SIZE);
512 snprintf(ebuf, PCAP_ERRBUF_SIZE, "device is NULL: %s", pcap_strerror(errno));
519 snprintf(ebuf, PCAP_ERRBUF_SIZE, "malloc %s: %s", device, pcap_strerror(errno));
530 snprintf(ebuf, PCAP_ERRBUF_SIZE, "Can't allocate string for device name: %s\n", pcap_strerror(errno));
536 snprintf(ebuf, PCAP_ERRBUF_SIZE, "dag_parse_name: %s\n", pcap_strerror(errno));
542 snprintf(ebuf, PCAP_ERRBUF_SIZE, "dag_parse_name: tx (even numbered) streams not supported for capture\n");
549 snprintf(ebuf, PCAP_ERRBUF_SIZE, "Can't allocate string for device name: %s\n", pcap_strerror(errno));
560 snprintf(ebuf, PCAP_ERRBUF_SIZE, "dag_open %s: %s", device, pcap_strerror(errno));
567 snprintf(ebuf, PCAP_ERRBUF_SIZE, "dag_attach_strea
[all...]
H A Dpcap-septel.c197 PCAP_ERRBUF_SIZE);
214 snprintf(ebuf, PCAP_ERRBUF_SIZE, "malloc %s: %s", device, pcap_strerror(errno));
H A Dpcap.c600 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "F_GETFL: %s",
631 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "F_GETFL: %s",
640 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "F_SETFL: %s",
658 static char errbuf[PCAP_ERRBUF_SIZE+1];
664 PCAP_ERRBUF_SIZE, NULL);
717 snprintf(p->errbuf, PCAP_ERRBUF_SIZE,
733 snprintf(p->errbuf, PCAP_ERRBUF_SIZE,
H A Dfad-getad.c163 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
H A Dpcap-int.h202 char errbuf[PCAP_ERRBUF_SIZE + 1];
H A Dpcap.h63 #define PCAP_ERRBUF_SIZE 256 macro
/external/ppp/pppd/include/
H A Dpcap-int.h97 char errbuf[PCAP_ERRBUF_SIZE];
/external/wpa_supplicant/
H A Dwin_if_list.c153 char err[PCAP_ERRBUF_SIZE + 1];
H A Dl2_packet_freebsd.c105 char pcap_filter[200], pcap_err[PCAP_ERRBUF_SIZE];
250 char err[PCAP_ERRBUF_SIZE + 1];
/external/wpa_supplicant_6/wpa_supplicant/
H A Dwin_if_list.c153 char err[PCAP_ERRBUF_SIZE + 1];
/external/wpa_supplicant_6/wpa_supplicant/src/l2_packet/
H A Dl2_packet_freebsd.c108 char pcap_filter[200], pcap_err[PCAP_ERRBUF_SIZE];
253 char err[PCAP_ERRBUF_SIZE + 1];

Completed in 543 milliseconds

12