/external/libpcap/ |
D | pcap-bpf.c | 130 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "BIOCGSTATS: %s", in pcap_stats_bpf() 219 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "read: %s", in pcap_read_bpf() 349 (void)snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_inject_bpf() 362 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send: %s", in pcap_inject_bpf() 378 snprintf(errbuf, PCAP_ERRBUF_SIZE, in bpf_odminit() 387 snprintf(errbuf, PCAP_ERRBUF_SIZE, in bpf_odminit() 404 snprintf(errbuf, PCAP_ERRBUF_SIZE, in bpf_odmcleanup() 413 snprintf(errbuf, PCAP_ERRBUF_SIZE, in bpf_odmcleanup() 446 snprintf(errbuf, PCAP_ERRBUF_SIZE, in bpf_load() 455 snprintf(errbuf, PCAP_ERRBUF_SIZE, in bpf_load() [all …]
|
D | pcap-dlpi.c | 383 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send: %s", in pcap_inject_dlpi() 389 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_inject_dlpi() 395 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send: %s", in pcap_inject_dlpi() 429 PCAP_ERRBUF_SIZE); in pcap_inject_dlpi() 485 strlcpy(ebuf, pcap_strerror(errno), PCAP_ERRBUF_SIZE); in pcap_open_live() 524 snprintf(ebuf, PCAP_ERRBUF_SIZE, in pcap_open_live() 582 snprintf(ebuf, PCAP_ERRBUF_SIZE, "%s: %s", dname, in pcap_open_live() 605 snprintf(ebuf, PCAP_ERRBUF_SIZE, in pcap_open_live() 608 snprintf(ebuf, PCAP_ERRBUF_SIZE, "%s: %s", in pcap_open_live() 705 snprintf(ebuf, PCAP_ERRBUF_SIZE, "A_PROMISCON_REQ: %s", in pcap_open_live() [all …]
|
D | pcap-win32.c | 96 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "PacketGetStats error: %s", pcap_win32strerror()); in pcap_stats_win32() 127 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "read error: PacketReceivePacket failed"); in pcap_read_win32_npf() 208 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "read error: PacketReceivePacket failed"); in pcap_read_win32_dag() 357 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send error: PacketAllocatePacket failed"); in pcap_inject_win32() 363 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send error: PacketSendPacket failed"); in pcap_inject_win32() 405 snprintf(ebuf, PCAP_ERRBUF_SIZE, "malloc: %s", pcap_strerror(errno)); in pcap_open_live() 417 snprintf(ebuf, PCAP_ERRBUF_SIZE, "Error opening adapter: %s", pcap_win32strerror()); in pcap_open_live() 424 snprintf(ebuf, PCAP_ERRBUF_SIZE, "Cannot determine the network type: %s", pcap_win32strerror()); in pcap_open_live() 513 snprintf(ebuf, PCAP_ERRBUF_SIZE, "failed to set hardware filter to promiscuous mode"); in pcap_open_live() 521 snprintf(ebuf, PCAP_ERRBUF_SIZE, "failed to set hardware filter to non-promiscuous mode"); in pcap_open_live() [all …]
|
D | pcap-linux.c | 262 snprintf(ebuf, PCAP_ERRBUF_SIZE, "malloc: %s", in pcap_open_live() 283 snprintf(ebuf, PCAP_ERRBUF_SIZE, in pcap_open_live() 291 snprintf(ebuf, PCAP_ERRBUF_SIZE, "strdup: %s", in pcap_open_live() 414 snprintf(ebuf, PCAP_ERRBUF_SIZE, in pcap_open_live() 756 PCAP_ERRBUF_SIZE); in pcap_inject_linux() 770 PCAP_ERRBUF_SIZE); in pcap_inject_linux() 778 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "send: %s", in pcap_inject_linux() 867 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in pcap_stats_linux() 1410 snprintf(ebuf, PCAP_ERRBUF_SIZE, "socket: %s", in live_open_new() 1469 snprintf(ebuf, PCAP_ERRBUF_SIZE, in live_open_new() [all …]
|
D | inet.c | 189 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in add_or_find_if() 216 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in add_or_find_if() 227 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in add_or_find_if() 238 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in add_or_find_if() 392 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in add_addr_to_iflist() 401 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in add_addr_to_iflist() 412 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in add_addr_to_iflist() 425 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in add_addr_to_iflist() 440 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in add_addr_to_iflist() 575 PCAP_ERRBUF_SIZE); [all …]
|
D | savefile.c | 907 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in sf_stats() 916 PCAP_ERRBUF_SIZE); in sf_inject() 965 snprintf(errbuf, PCAP_ERRBUF_SIZE, "%s: %s", fname, in pcap_open_offline() 989 strlcpy(errbuf, "out of swap", PCAP_ERRBUF_SIZE); in pcap_fopen_offline() 998 snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_fopen_offline() 1002 snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_fopen_offline() 1013 snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_fopen_offline() 1042 snprintf(errbuf, PCAP_ERRBUF_SIZE, "archaic file format"); in pcap_fopen_offline() 1100 strlcpy(errbuf, "out of swap", PCAP_ERRBUF_SIZE); in pcap_fopen_offline() 1191 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in sf_next_packet() [all …]
|
D | fad-win32.c | 65 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in add_addr_to_list() 74 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in add_addr_to_list() 85 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in add_addr_to_list() 96 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in add_addr_to_list() 107 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in add_addr_to_list() 234 snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs() 250 snprintf(errbuf, PCAP_ERRBUF_SIZE, "Cannot allocate enough memory to list the adapters."); in pcap_findalldevs() 255 snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs()
|
D | fad-glifc.c | 105 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs() 115 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs() 128 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs() 141 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs() 157 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs() 219 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs() 244 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs() 272 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs() 307 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs()
|
D | pcap-snit.c | 223 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send: %s", in pcap_inject_snit() 245 snprintf(ebuf, PCAP_ERRBUF_SIZE, "NIOCSTIME: %s", in nit_setflags() 257 snprintf(ebuf, PCAP_ERRBUF_SIZE, "NIOCSFLAGS: %s", in nit_setflags() 277 strlcpy(ebuf, pcap_strerror(errno), PCAP_ERRBUF_SIZE); in pcap_open_live() 306 snprintf(ebuf, PCAP_ERRBUF_SIZE, "%s: %s", dev, in pcap_open_live() 313 snprintf(ebuf, PCAP_ERRBUF_SIZE, "I_SRDOPT: %s", in pcap_open_live() 318 snprintf(ebuf, PCAP_ERRBUF_SIZE, "push nbuf: %s", in pcap_open_live() 328 snprintf(ebuf, PCAP_ERRBUF_SIZE, "NIOCSCHUNK: %s", in pcap_open_live() 340 snprintf(ebuf, PCAP_ERRBUF_SIZE, "NIOCBIND: %s: %s", in pcap_open_live() 350 snprintf(ebuf, PCAP_ERRBUF_SIZE, "NIOCSSNAP: %s", in pcap_open_live() [all …]
|
D | pcap-dag.c | 277 strncpy(p->errbuf, "dag_read: record too small", PCAP_ERRBUF_SIZE); in dag_read() 481 PCAP_ERRBUF_SIZE); in dag_inject() 512 snprintf(ebuf, PCAP_ERRBUF_SIZE, "device is NULL: %s", pcap_strerror(errno)); in dag_open_live() 519 snprintf(ebuf, PCAP_ERRBUF_SIZE, "malloc %s: %s", device, pcap_strerror(errno)); in dag_open_live() 530 …snprintf(ebuf, PCAP_ERRBUF_SIZE, "Can't allocate string for device name: %s\n", pcap_strerror(errn… in dag_open_live() 536 snprintf(ebuf, PCAP_ERRBUF_SIZE, "dag_parse_name: %s\n", pcap_strerror(errno)); in dag_open_live() 542 …snprintf(ebuf, PCAP_ERRBUF_SIZE, "dag_parse_name: tx (even numbered) streams not supported for cap… in dag_open_live() 549 …snprintf(ebuf, PCAP_ERRBUF_SIZE, "Can't allocate string for device name: %s\n", pcap_strerror(errn… in dag_open_live() 560 snprintf(ebuf, PCAP_ERRBUF_SIZE, "dag_open %s: %s", device, pcap_strerror(errno)); in dag_open_live() 567 snprintf(ebuf, PCAP_ERRBUF_SIZE, "dag_attach_stream: %s\n", pcap_strerror(errno)); in dag_open_live() [all …]
|
D | pcap-snoop.c | 149 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send: %s", in pcap_inject_snoop() 212 snprintf(ebuf, PCAP_ERRBUF_SIZE, "malloc: %s", in pcap_open_live() 219 snprintf(ebuf, PCAP_ERRBUF_SIZE, "snoop socket: %s", in pcap_open_live() 228 snprintf(ebuf, PCAP_ERRBUF_SIZE, "snoop bind: %s", in pcap_open_live() 234 snprintf(ebuf, PCAP_ERRBUF_SIZE, "SIOCADDSNOOP: %s", in pcap_open_live() 307 snprintf(ebuf, PCAP_ERRBUF_SIZE, in pcap_open_live() 320 snprintf(ebuf, PCAP_ERRBUF_SIZE, "SIOCGIFMTU: %s", in pcap_open_live() 354 snprintf(ebuf, PCAP_ERRBUF_SIZE, "SIOCSNOOPLEN: %s", in pcap_open_live() 361 snprintf(ebuf, PCAP_ERRBUF_SIZE, "SIOCSNOOPING: %s", in pcap_open_live() 369 snprintf(ebuf, PCAP_ERRBUF_SIZE, "malloc: %s", in pcap_open_live()
|
D | pcap-pf.c | 234 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send: %s", in pcap_inject_pf() 307 snprintf(ebuf, PCAP_ERRBUF_SIZE, in pcap_open_live() 335 snprintf(ebuf, PCAP_ERRBUF_SIZE, "pf open: %s: %s\n\ in pcap_open_live() 345 snprintf(ebuf, PCAP_ERRBUF_SIZE, "EIOCMBIS: %s", in pcap_open_live() 356 snprintf(ebuf, PCAP_ERRBUF_SIZE, "EIOCSETW: %s", in pcap_open_live() 362 snprintf(ebuf, PCAP_ERRBUF_SIZE, "EIOCDEVP: %s", in pcap_open_live() 444 snprintf(ebuf, PCAP_ERRBUF_SIZE, "unknown data-link type %u", in pcap_open_live() 459 snprintf(ebuf, PCAP_ERRBUF_SIZE, "EIOCTRUNCATE: %s", in pcap_open_live() 469 snprintf(ebuf, PCAP_ERRBUF_SIZE, "EIOCSETF: %s", in pcap_open_live() 479 snprintf(ebuf, PCAP_ERRBUF_SIZE, "EIOCSRTIMEOUT: %s", in pcap_open_live() [all …]
|
D | fad-gifc.c | 215 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in scan_proc_net_dev() 244 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in scan_proc_net_dev() 292 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs() 308 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs() 319 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs() 383 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs() 409 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs() 440 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs() 479 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs()
|
D | pcap-nit.c | 205 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send: %s", in pcap_inject_nit() 234 snprintf(ebuf, PCAP_ERRBUF_SIZE, "SIOCSNIT: %s", in nit_setflags() 259 strlcpy(ebuf, pcap_strerror(errno), PCAP_ERRBUF_SIZE); in pcap_open_live() 272 snprintf(ebuf, PCAP_ERRBUF_SIZE, in pcap_open_live() 280 snprintf(ebuf, PCAP_ERRBUF_SIZE, in pcap_open_live() 295 strlcpy(ebuf, pcap_strerror(errno), PCAP_ERRBUF_SIZE); in pcap_open_live() 304 strlcpy(ebuf, pcap_strerror(errno), PCAP_ERRBUF_SIZE); in pcap_open_live()
|
D | pcap.c | 600 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "F_GETFL: %s", in pcap_getnonblock_fd() 631 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "F_GETFL: %s", in pcap_setnonblock_fd() 640 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "F_SETFL: %s", in pcap_setnonblock_fd() 658 static char errbuf[PCAP_ERRBUF_SIZE+1]; in pcap_win32strerror() 664 PCAP_ERRBUF_SIZE, NULL); in pcap_win32strerror() 717 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_setdirection() 733 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_stats_dead()
|
D | pcap-septel.c | 197 PCAP_ERRBUF_SIZE); in septel_inject() 214 snprintf(ebuf, PCAP_ERRBUF_SIZE, "malloc %s: %s", device, pcap_strerror(errno)); in septel_open_live()
|
D | pcap-null.c | 46 (void)strlcpy(ebuf, nosup, PCAP_ERRBUF_SIZE); in pcap_open_live()
|
D | fad-getad.c | 163 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs()
|
/external/wpa_supplicant_6/wpa_supplicant/src/l2_packet/ |
D | l2_packet_freebsd.c | 108 char pcap_filter[200], pcap_err[PCAP_ERRBUF_SIZE]; in l2_packet_init_libpcap() 253 char err[PCAP_ERRBUF_SIZE + 1]; in l2_packet_get_ip_addr()
|
D | l2_packet_winpcap.c | 171 char pcap_filter[200], pcap_err[PCAP_ERRBUF_SIZE]; in l2_packet_init_libpcap() 307 char err[PCAP_ERRBUF_SIZE + 1]; in l2_packet_get_ip_addr()
|
D | l2_packet_pcap.c | 206 char pcap_filter[200], pcap_err[PCAP_ERRBUF_SIZE]; in l2_packet_init_libpcap() 344 char err[PCAP_ERRBUF_SIZE + 1]; in l2_packet_get_ip_addr()
|
/external/wpa_supplicant/ |
D | l2_packet_freebsd.c | 105 char pcap_filter[200], pcap_err[PCAP_ERRBUF_SIZE]; in l2_packet_init_libpcap() 250 char err[PCAP_ERRBUF_SIZE + 1]; in l2_packet_get_ip_addr()
|
D | l2_packet_pcap.c | 206 char pcap_filter[200], pcap_err[PCAP_ERRBUF_SIZE]; in l2_packet_init_libpcap() 344 char err[PCAP_ERRBUF_SIZE + 1]; in l2_packet_get_ip_addr()
|
D | l2_packet_winpcap.c | 171 char pcap_filter[200], pcap_err[PCAP_ERRBUF_SIZE]; in l2_packet_init_libpcap() 307 char err[PCAP_ERRBUF_SIZE + 1]; in l2_packet_get_ip_addr()
|
/external/ppp/pppd/include/ |
D | pcap-int.h | 97 char errbuf[PCAP_ERRBUF_SIZE];
|