/external/libpcap/ |
D | pcap-dlpi.c | 256 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send: %s", in pcap_inject_dlpi() 262 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_inject_dlpi() 268 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send: %s", in pcap_inject_dlpi() 302 PCAP_ERRBUF_SIZE); in pcap_inject_dlpi() 400 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, 464 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "%s: %s", dname, 495 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, 500 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "%s: %s", 612 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, 712 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "DLIOCRAW: %s", [all …]
|
D | pcap-bpf.c | 354 (void) snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_next_zbuf() 382 (void) snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_next_zbuf() 401 (void) snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_next_zbuf() 471 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in bpf_open() 513 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in bpf_open() 522 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in bpf_open() 534 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in bpf_open() 544 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in bpf_open() 566 (void)snprintf(ebuf, PCAP_ERRBUF_SIZE, "malloc: %s", in get_dlt_list() 572 (void)snprintf(ebuf, PCAP_ERRBUF_SIZE, in get_dlt_list() [all …]
|
D | sf-pcap-ng.c | 239 snprintf(errbuf, PCAP_ERRBUF_SIZE, in read_bytes() 245 snprintf(errbuf, PCAP_ERRBUF_SIZE, in read_bytes() 278 snprintf(errbuf, PCAP_ERRBUF_SIZE, in read_block() 290 snprintf(errbuf, PCAP_ERRBUF_SIZE, in read_block() 306 snprintf(errbuf, PCAP_ERRBUF_SIZE, "out of memory"); in read_block() 341 snprintf(errbuf, PCAP_ERRBUF_SIZE, in get_from_block_data() 442 snprintf(errbuf, PCAP_ERRBUF_SIZE, in process_idb_options() 451 snprintf(errbuf, PCAP_ERRBUF_SIZE, in process_idb_options() 457 snprintf(errbuf, PCAP_ERRBUF_SIZE, in process_idb_options() 481 snprintf(errbuf, PCAP_ERRBUF_SIZE, in process_idb_options() [all …]
|
D | savefile.c | 104 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in sf_setnonblock() 112 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in sf_stats() 121 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in sf_setbuff() 129 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in sf_setmode() 137 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in sf_setmintocopy() 147 PCAP_ERRBUF_SIZE); in sf_inject() 198 snprintf(errbuf, PCAP_ERRBUF_SIZE, "%s: %s", fname, in pcap_open_offline_with_tstamp_precision() 228 snprintf(errbuf, PCAP_ERRBUF_SIZE, pcap_strerror(errno)); in pcap_hopen_offline_with_tstamp_precision() 235 snprintf(errbuf, PCAP_ERRBUF_SIZE, pcap_strerror(errno)); in pcap_hopen_offline_with_tstamp_precision() 280 snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_fopen_offline_with_tstamp_precision() [all …]
|
D | sf-pcap.c | 188 snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_check_header() 192 snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_check_header() 214 snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_check_header() 285 snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_check_header() 380 snprintf(errbuf, PCAP_ERRBUF_SIZE, "out of memory"); in pcap_check_header() 415 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_next_packet() 421 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_next_packet() 504 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_next_packet() 516 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_next_packet() 524 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_next_packet() [all …]
|
D | pcap-bt-linux.c | 94 snprintf(err_str, PCAP_ERRBUF_SIZE, in bt_findalldevs() 102 snprintf(err_str, PCAP_ERRBUF_SIZE, "Can't allocate %zu bytes for Bluetooth device list", in bt_findalldevs() 112 snprintf(err_str, PCAP_ERRBUF_SIZE, in bt_findalldevs() 199 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in bt_activate() 223 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in bt_activate() 230 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't allocate dump buffer: %s", in bt_activate() 237 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in bt_activate() 244 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in bt_activate() 255 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in bt_activate() 268 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in bt_activate() [all …]
|
D | pcap-linux.c | 523 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in get_mac80211_phydev() 538 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in get_mac80211_phydev() 595 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in nl80211_init() 601 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in nl80211_init() 608 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in nl80211_init() 616 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in nl80211_init() 652 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, 684 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, 712 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, 727 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, [all …]
|
D | pcap-win32.c | 135 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "PacketGetStats error: %s", pcap_win32strerror()); in pcap_stats_win32() 148 …snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "driver error: not enough memory to allocate the kernel buff… in pcap_setbuff_win32() 160 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "driver error: working mode not recognized"); in pcap_setmode_win32() 173 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "driver error: unable to set the requested mintocopy size"); in pcap_setmintocopy_win32() 210 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "read error: PacketReceivePacket failed"); in pcap_read_win32_npf() 292 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "read error: PacketReceivePacket failed"); in pcap_read_win32_dag() 441 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send error: PacketAllocatePacket failed"); in pcap_inject_win32() 447 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send error: PacketSendPacket failed"); in pcap_inject_win32() 499 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "Error opening adapter: %s", pcap_win32strerror()); in pcap_activate_win32() 506 …snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "Cannot determine the network type: %s", pcap_win32strerror(… in pcap_activate_win32() [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() 252 snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces() 268 snprintf(errbuf, PCAP_ERRBUF_SIZE, "Cannot allocate enough memory to list the adapters."); in pcap_findalldevs_interfaces() 273 snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces()
|
D | pcap-netfilter-linux.c | 104 …snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't receive packet %d:%s", errno, pcap_strerror(errn… in netfilter_read_linux() 115 …snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Message truncated: (got: %d) (nlmsg_len: %u)", len, nl… in netfilter_read_linux() 138 … snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Malformed message: (nlmsg_len: %u)", nlh->nlmsg_len); in netfilter_read_linux() 233 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "inject not supported on netfilter devices"); in netfilter_inject_linux() 440 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in netfilter_activate() 449 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in netfilter_activate() 465 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in netfilter_activate() 492 …snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't create raw socket %d:%s", errno, pcap_strerror(e… in netfilter_activate() 510 …snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't allocate dump buffer: %s", pcap_strerror(errno)); in netfilter_activate() 516 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "NFULNL_CFG_CMD_PF_UNBIND: %s", pcap_strerror(errno)); in netfilter_activate() [all …]
|
D | inet.c | 136 char open_errbuf[PCAP_ERRBUF_SIZE]; in add_or_find_if() 190 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in add_or_find_if() 217 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in add_or_find_if() 228 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in add_or_find_if() 239 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in add_or_find_if() 515 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in add_addr_to_iflist() 524 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in add_addr_to_iflist() 535 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in add_addr_to_iflist() 548 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in add_addr_to_iflist() 563 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in add_addr_to_iflist() [all …]
|
D | fad-glifc.c | 105 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces() 115 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces() 128 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces() 141 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces() 157 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces() 219 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces() 244 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces() 272 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces() 307 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces()
|
D | pcap-dbus.c | 71 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Connection closed"); in dbus_read() 84 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Disconnected"); in dbus_read() 115 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "dbus_message_demarshal() failed: %s", error.message); in dbus_write() 170 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Failed to get system bus: %s", error.message); in dbus_activate() 177 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Failed to get session bus: %s", error.message); in dbus_activate() 186 …snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Failed to open connection to: %s: %s", addr, error.mes… in dbus_activate() 192 …snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Failed to register bus %s: %s\n", addr, error.message); in dbus_activate() 198 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't get bus address from %s", handle->opt.source); in dbus_activate() 237 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Failed to add bus match: %s\n", error.message); in dbus_activate()
|
D | pcap-snit.c | 231 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send: %s", in pcap_inject_snit() 255 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "NIOCSCHUNK: %s", in nit_setflags() 268 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "NIOCSTIME: %s", in nit_setflags() 280 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "NIOCSFLAGS: %s", in nit_setflags() 328 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "%s: %s", dev, in pcap_activate_snit() 335 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "I_SRDOPT: %s", in pcap_activate_snit() 340 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "push nbuf: %s", in pcap_activate_snit() 350 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "NIOCSCHUNK: %s", in pcap_activate_snit() 362 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "NIOCBIND: %s: %s", in pcap_activate_snit() 372 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "NIOCSSNAP: %s", in pcap_activate_snit() [all …]
|
D | fad-gifc.c | 162 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces() 178 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces() 189 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces() 253 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces() 279 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces() 310 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces() 349 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces()
|
D | pcap-can-linux.c | 167 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't create raw socket %d:%s", in can_activate() 177 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in can_activate() 189 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't allocate dump buffer: %s", in can_activate() 200 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't attach to device %d %d:%s", in can_activate() 248 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't receive packet %d:%s", in can_read_linux() 262 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't get time of day %d:%s", in can_read_linux() 277 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "inject not supported on " in can_inject_linux()
|
D | pcap-pf.c | 240 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send: %s", in pcap_inject_pf() 334 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "pf open: %s: %s\n\ in pcap_activate_pf() 346 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "EIOCMBIS: %s", in pcap_activate_pf() 357 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "EIOCSETW: %s", in pcap_activate_pf() 363 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "EIOCDEVP: %s", in pcap_activate_pf() 445 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_pf() 458 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "EIOCTRUNCATE: %s", in pcap_activate_pf() 467 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "EIOCSETF: %s", in pcap_activate_pf() 477 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "EIOCSRTIMEOUT: %s", in pcap_activate_pf() 486 strlcpy(p->errbuf, pcap_strerror(errno), PCAP_ERRBUF_SIZE); in pcap_activate_pf()
|
D | pcap-snoop.c | 157 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send: %s", in pcap_inject_snoop() 219 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "snoop socket: %s", in pcap_activate_snoop() 228 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "snoop bind: %s", in pcap_activate_snoop() 234 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "SIOCADDSNOOP: %s", in pcap_activate_snoop() 310 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_snoop() 332 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "SIOCGIFMTU: %s", in pcap_activate_snoop() 366 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "SIOCSNOOPLEN: %s", in pcap_activate_snoop() 372 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "SIOCSNOOPING: %s", in pcap_activate_snoop() 380 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "malloc: %s", in pcap_activate_snoop()
|
D | pcap-dag.c | 341 strncpy(p->errbuf, "dag_read: record too small", PCAP_ERRBUF_SIZE); in dag_read() 597 PCAP_ERRBUF_SIZE); in dag_inject() 630 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "device is NULL: %s", pcap_strerror(errno)); in dag_activate() 639 …snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't allocate string for device name: %s\n", pcap_str… in dag_activate() 645 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "dag_parse_name: %s\n", pcap_strerror(errno)); in dag_activate() 651 …snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "dag_parse_name: tx (even numbered) streams not support… in dag_activate() 658 …snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't allocate string for device name: %s\n", pcap_str… in dag_activate() 669 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "dag_open %s: %s", device, pcap_strerror(errno)); in dag_activate() 676 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "dag_attach_stream: %s\n", pcap_strerror(errno)); in dag_activate() 685 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "dag_get_stream_poll: %s\n", pcap_strerror(errno)); in dag_activate() [all …]
|
D | pcap-snf.c | 47 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "snf_get_stats: %s", in snf_pcap_stats() 142 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "snf_read: %s", in snf_read() 187 PCAP_ERRBUF_SIZE); in snf_inject() 201 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in snf_activate() 220 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in snf_activate() 227 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in snf_activate() 239 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in snf_activate()
|
D | pcap-usb-linux.c | 361 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in usb_activate() 417 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in usb_activate() 445 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in usb_activate() 496 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in usb_read_linux() 509 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in usb_read_linux() 523 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in usb_read_linux() 575 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in usb_read_linux() 599 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in usb_read_linux() 617 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in usb_read_linux() 665 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "inject not supported on " in usb_inject_linux() [all …]
|
D | pcap.c | 495 snprintf(ebuf, PCAP_ERRBUF_SIZE, "malloc: %s", in pcap_alloc_pcap_t() 536 snprintf(ebuf, PCAP_ERRBUF_SIZE, "malloc: %s", in pcap_create_common() 568 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "can't perform " in pcap_check_activated() 740 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "%s", in pcap_activate() 788 snprintf(errbuf, PCAP_ERRBUF_SIZE, "%s: %s", source, in pcap_open_live() 793 snprintf(errbuf, PCAP_ERRBUF_SIZE, "%s: %s (%s)", source, in pcap_open_live() 796 snprintf(errbuf, PCAP_ERRBUF_SIZE, "%s: %s", source, in pcap_open_live() 814 snprintf(ebuf, PCAP_ERRBUF_SIZE, "malloc: %s", in pcap_open_offline_common() 1380 strlcpy(p->errbuf, errbuf, PCAP_ERRBUF_SIZE); in pcap_getnonblock() 1400 snprintf(errbuf, PCAP_ERRBUF_SIZE, "F_GETFL: %s", in pcap_getnonblock_fd() [all …]
|
D | pcap-nit.c | 213 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send: %s", in pcap_inject_nit() 256 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "SIOCSNIT: %s", in nit_setflags() 287 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_nit() 295 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_nit() 310 strlcpy(p->errbuf, pcap_strerror(errno), PCAP_ERRBUF_SIZE); in pcap_activate_nit()
|
D | pcap-sita.c | 267 …snprintf(errbuf, PCAP_ERRBUF_SIZE, "Cannot open '/etc/hosts' for reading."); /* return the nohosts… 290 snprintf(errbuf, PCAP_ERRBUF_SIZE, "Invalid ACN name in '/etc/hosts'."); /* warn the user */ 294 snprintf(errbuf, PCAP_ERRBUF_SIZE, "malloc: %s", pcap_strerror(errno)); 582 snprintf(errbuf, PCAP_ERRBUF_SIZE, "malloc: %s", pcap_strerror(errno)); 591 snprintf(errbuf, PCAP_ERRBUF_SIZE, "malloc: %s", pcap_strerror(errno)); 602 snprintf(errbuf, PCAP_ERRBUF_SIZE, "malloc: %s", pcap_strerror(errno)); 622 snprintf(errbuf, PCAP_ERRBUF_SIZE, "malloc: %s", pcap_strerror(errno)); 630 snprintf(errbuf, PCAP_ERRBUF_SIZE, "malloc: %s", pcap_strerror(errno)); 642 snprintf(errbuf, PCAP_ERRBUF_SIZE, "malloc: %s", pcap_strerror(errno)); 656 snprintf(errbuf, PCAP_ERRBUF_SIZE, "malloc: %s", pcap_strerror(errno)); [all …]
|
D | dlpisubs.c | 263 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "unknown mactype %u", in pcap_process_mactype() 335 strlcpy(p->errbuf, pcap_strerror(errno), PCAP_ERRBUF_SIZE); in pcap_alloc_databuf() 369 snprintf(errbuf, PCAP_ERRBUF_SIZE, "%s: %s", func, pcap_strerror(err)); in pcap_stream_err()
|