/external/libpcap/rpcapd/ |
D | daemon.c | 221 char errbuf[PCAP_ERRBUF_SIZE + 1]; // keeps the error string, prior to be printed in daemon_serviceloop() 222 char errmsgbuf[PCAP_ERRBUF_SIZE + 1]; // buffer for errors to send to the client in daemon_serviceloop() 264 SOCK_EOF_ISNT_ERROR|SOCK_MSG_PEEK, errbuf, PCAP_ERRBUF_SIZE); in daemon_serviceloop() 339 ssl = ssl_promotion(1, sockctrl, errbuf, PCAP_ERRBUF_SIZE); in daemon_serviceloop() 366 errbuf, PCAP_ERRBUF_SIZE); in daemon_serviceloop() 396 TLS_RECORD_HEADER_LEN, errbuf, PCAP_ERRBUF_SIZE) == -1) in daemon_serviceloop() 406 TLS_ALERT_LEN, errbuf, PCAP_ERRBUF_SIZE) == -1) in daemon_serviceloop() 452 sock_geterror("getpeername()", errmsgbuf, PCAP_ERRBUF_SIZE); in daemon_serviceloop() 461 …atus = sock_check_hostlist(passiveClients, RPCAP_HOSTLIST_SEP, &from, errmsgbuf, PCAP_ERRBUF_SIZE); in daemon_serviceloop() 526 sock_geterror("select() failed", errmsgbuf, PCAP_ERRBUF_SIZE); in daemon_serviceloop() [all …]
|
D | rpcapd.c | 186 char errbuf[PCAP_ERRBUF_SIZE + 1]; // keeps the error string, prior to be printed in main() 342 if (sock_init(errbuf, PCAP_ERRBUF_SIZE) == -1) in main() 364 PCAP_ERRBUF_SIZE); in main() 375 PCAP_ERRBUF_SIZE); in main() 397 if (ssl_init_once(1, enable_compression, errbuf, PCAP_ERRBUF_SIZE) < 0) in main() 430 PCAP_ERRBUF_SIZE); in main() 557 char errbuf[PCAP_ERRBUF_SIZE + 1]; // keeps the error string, prior to be printed in main_startup() 613 …ddress((address[0]) ? address : NULL, port, &mainhints, &addrinfo, errbuf, PCAP_ERRBUF_SIZE) == -1) in main_startup() 625 …if ((sock = sock_open(tempaddrinfo, SOCKOPEN_SERVER, SOCKET_MAXCONN, errbuf, PCAP_ERRBUF_SIZE)) ==… in main_startup() 734 char errbuf[PCAP_ERRBUF_SIZE + 1]; // keeps the error string, prior to be printed in send_state_change_event() [all …]
|
/external/libpcap/ |
D | pcap-rpcap.c | 308 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in rpcap_deseraddr() 338 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in rpcap_deseraddr() 435 sock_geterror("select()", p->errbuf, PCAP_ERRBUF_SIZE); in pcap_read_nocb_remote() 456 p->bufsize, p->errbuf, PCAP_ERRBUF_SIZE); in pcap_read_nocb_remote() 472 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_read_nocb_remote() 483 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_read_nocb_remote() 527 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_read_nocb_remote() 576 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_read_nocb_remote() 897 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in rpcap_stats_rpcap() 929 sizeof(struct rpcap_header), p->errbuf, PCAP_ERRBUF_SIZE) < 0) in rpcap_stats_rpcap() [all …]
|
D | sf-pcap.c | 194 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in pcap_check_header() 197 snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_check_header() 218 snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_check_header() 232 snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_check_header() 303 snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_check_header() 406 snprintf(errbuf, PCAP_ERRBUF_SIZE, "out of memory"); in pcap_check_header() 427 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "out of memory"); in grow_buffer() 459 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_next_packet() 464 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_next_packet() 548 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_next_packet() [all …]
|
D | savefile.c | 109 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in sf_setnonblock() 117 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in sf_stats() 126 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in sf_stats_ex() 134 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in sf_setbuff() 142 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in sf_setmode() 150 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in sf_setmintocopy() 167 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in sf_oid_get_request() 176 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in sf_oid_set_request() 185 PCAP_ERRBUF_SIZE); in sf_sendqueue_transmit() 192 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in sf_setuserbuffer() [all …]
|
D | pcap-dlpi.c | 259 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_inject_dlpi() 265 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_inject_dlpi() 271 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_inject_dlpi() 305 PCAP_ERRBUF_SIZE); in pcap_inject_dlpi() 390 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in open_dlpi_device() 439 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in open_dlpi_device() 472 snprintf(errbuf, PCAP_ERRBUF_SIZE, in open_dlpi_device() 480 PCAP_ERRBUF_SIZE, errno, "%s", dname2); in open_dlpi_device() 663 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, 781 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, [all …]
|
D | pcap-new.c | 91 snprintf(errbuf, PCAP_ERRBUF_SIZE, "The source string is too long. Cannot handle it correctly."); in pcap_findalldevs_ex() 122 snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_ex() 147 PCAP_ERRBUF_SIZE, errno, in pcap_findalldevs_ex() 165 PCAP_ERRBUF_SIZE, errno, in pcap_findalldevs_ex() 227 snprintf(errbuf, PCAP_ERRBUF_SIZE, "Error when listing files: does folder '%s' exist?", path); in pcap_findalldevs_ex() 240 snprintf(errbuf, PCAP_ERRBUF_SIZE, "Error when listing files: does folder '%s' exist?", path); in pcap_findalldevs_ex() 268 PCAP_ERRBUF_SIZE, errno, in pcap_findalldevs_ex() 307 PCAP_ERRBUF_SIZE, errno, in pcap_findalldevs_ex() 321 PCAP_ERRBUF_SIZE, errno, in pcap_findalldevs_ex() 349 pcap_strlcpy(errbuf, "Source type not supported", PCAP_ERRBUF_SIZE); in pcap_findalldevs_ex() [all …]
|
D | pcap-bpf.c | 372 PCAP_ERRBUF_SIZE, errno, "BIOCROTZBUF"); in pcap_next_zbuf() 399 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_next_zbuf() 418 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_next_zbuf() 460 pcap_fmt_errmsg_for_errno(ebuf, PCAP_ERRBUF_SIZE, errno, in pcap_create_interface() 510 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in bpf_open() 559 snprintf(errbuf, PCAP_ERRBUF_SIZE, in bpf_open() 568 snprintf(errbuf, PCAP_ERRBUF_SIZE, in bpf_open() 580 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in bpf_open() 589 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in bpf_open() 679 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in bpf_bind() [all …]
|
D | sf-pcapng.c | 264 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in read_bytes() 269 snprintf(errbuf, PCAP_ERRBUF_SIZE, in read_bytes() 305 snprintf(errbuf, PCAP_ERRBUF_SIZE, in read_block() 319 snprintf(errbuf, PCAP_ERRBUF_SIZE, in read_block() 336 snprintf(errbuf, PCAP_ERRBUF_SIZE, "pcapng block size %u > maximum %u", bhdr.total_length, in read_block() 342 snprintf(errbuf, PCAP_ERRBUF_SIZE, "out of memory"); in read_block() 373 snprintf(errbuf, PCAP_ERRBUF_SIZE, in read_block() 398 snprintf(errbuf, PCAP_ERRBUF_SIZE, in get_from_block_data() 499 snprintf(errbuf, PCAP_ERRBUF_SIZE, in process_idb_options() 508 snprintf(errbuf, PCAP_ERRBUF_SIZE, in process_idb_options() [all …]
|
D | pcap-airpcap.c | 328 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in airpcap_set_datalink() 383 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in airpcap_stats() 429 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in airpcap_stats_ex() 455 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in airpcap_setbuff() 468 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in airpcap_setmode() 482 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in airpcap_setmintocopy() 502 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in airpcap_oid_get_request() 511 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in airpcap_oid_set_request() 519 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in airpcap_sendqueue_transmit() 531 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in airpcap_setuserbuffer() [all …]
|
D | pcap-linux.c | 358 pcap_fmt_errmsg_for_errno(ebuf, PCAP_ERRBUF_SIZE, in pcap_create_interface() 439 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in get_mac80211_phydev() 454 pcap_fmt_errmsg_for_errno(handle->errbuf, PCAP_ERRBUF_SIZE, in get_mac80211_phydev() 477 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in nl80211_init() 483 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in nl80211_init() 490 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in nl80211_init() 498 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in nl80211_init() 539 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in add_mon_if() 569 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in add_mon_if() 593 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in add_mon_if() [all …]
|
D | pcap-npf.c | 173 snprintf(errbuf, PCAP_ERRBUF_SIZE, in oid_get_request() 184 pcap_fmt_errmsg_for_win32_err(errbuf, PCAP_ERRBUF_SIZE, in oid_get_request() 223 pcap_fmt_errmsg_for_win32_err(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_stats_npf() 280 pcap_fmt_errmsg_for_win32_err(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_stats_ex_npf() 306 …snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "driver error: not enough memory to allocate the kernel buff… in pcap_setbuff_npf() 320 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "driver error: working mode not recognized"); in pcap_setmode_npf() 335 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "driver error: unable to set the requested mintocopy size"); in pcap_setmintocopy_npf() 373 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_oid_set_request_npf() 382 pcap_fmt_errmsg_for_win32_err(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_oid_set_request_npf() 412 pcap_fmt_errmsg_for_win32_err(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_sendqueue_transmit_npf() [all …]
|
D | pcap-bt-linux.c | 87 pcap_fmt_errmsg_for_errno(err_str, PCAP_ERRBUF_SIZE, in bt_findalldevs() 95 snprintf(err_str, PCAP_ERRBUF_SIZE, "Can't allocate %zu bytes for Bluetooth device list", in bt_findalldevs() 105 pcap_fmt_errmsg_for_errno(err_str, PCAP_ERRBUF_SIZE, in bt_findalldevs() 197 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in bt_activate() 231 pcap_fmt_errmsg_for_errno(handle->errbuf, PCAP_ERRBUF_SIZE, in bt_activate() 238 pcap_fmt_errmsg_for_errno(handle->errbuf, PCAP_ERRBUF_SIZE, in bt_activate() 245 pcap_fmt_errmsg_for_errno(handle->errbuf, PCAP_ERRBUF_SIZE, in bt_activate() 252 pcap_fmt_errmsg_for_errno(handle->errbuf, PCAP_ERRBUF_SIZE, in bt_activate() 263 pcap_fmt_errmsg_for_errno(handle->errbuf, PCAP_ERRBUF_SIZE, in bt_activate() 276 pcap_fmt_errmsg_for_errno(handle->errbuf, PCAP_ERRBUF_SIZE, in bt_activate() [all …]
|
D | pcap-snf.c | 57 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in snf_pcap_stats() 169 PCAP_ERRBUF_SIZE, err, "snf_read"); in snf_read() 204 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in snf_inject() 215 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in snf_inject() 221 PCAP_ERRBUF_SIZE); in snf_inject() 236 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "device is NULL"); in snf_activate() 263 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in snf_activate() 273 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in snf_activate() 296 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in snf_activate() 338 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in snf_findalldevs() [all …]
|
D | pcap-dpdk.c | 416 PCAP_ERRBUF_SIZE); in pcap_dpdk_inject() 638 snprintf(ebuf, PCAP_ERRBUF_SIZE, in dpdk_pre_init() 648 snprintf(ebuf, PCAP_ERRBUF_SIZE, in dpdk_pre_init() 665 snprintf(ebuf, PCAP_ERRBUF_SIZE, in dpdk_pre_init() 673 snprintf(ebuf, PCAP_ERRBUF_SIZE, in dpdk_pre_init() 680 snprintf(ebuf, PCAP_ERRBUF_SIZE, in dpdk_pre_init() 686 snprintf(ebuf, PCAP_ERRBUF_SIZE, in dpdk_pre_init() 712 snprintf(ebuf, PCAP_ERRBUF_SIZE, in dpdk_pre_init() 719 snprintf(ebuf, PCAP_ERRBUF_SIZE, in dpdk_pre_init() 730 PCAP_ERRBUF_SIZE, -is_dpdk_pre_inited, in dpdk_pre_init() [all …]
|
D | pcap.c | 189 pcap_fmt_errmsg_for_win32_err(errbuf, PCAP_ERRBUF_SIZE, in internal_wsockinit() 260 snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_init() 271 snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_init() 280 snprintf(errbuf, PCAP_ERRBUF_SIZE, "Unknown options specified"); in pcap_init() 1132 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, 1141 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, 1152 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, 1165 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, 1180 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, 1316 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, [all …]
|
D | pcap-haiku.cpp | 117 PCAP_ERRBUF_SIZE); in pcap_inject_haiku() 133 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "pcap_stats: %s", in pcap_stats_haiku() 165 pcap_fmt_errmsg_for_errno(handle->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_haiku() 176 pcap_fmt_errmsg_for_errno(handle->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_haiku() 200 snprintf(errorBuffer, PCAP_ERRBUF_SIZE, in pcap_create_interface() 207 snprintf(errorBuffer, PCAP_ERRBUF_SIZE, in pcap_create_interface() 215 snprintf(errorBuffer, PCAP_ERRBUF_SIZE, in pcap_create_interface() 228 snprintf(errorBuffer, PCAP_ERRBUF_SIZE, "No link level: %s\n", in pcap_create_interface() 235 snprintf(errorBuffer, PCAP_ERRBUF_SIZE, "Cannot start monitoring: %s\n", in pcap_create_interface() 243 snprintf(errorBuffer, PCAP_ERRBUF_SIZE, "malloc: %s", strerror(errno)); in pcap_create_interface()
|
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() 157 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in dbus_getnonblock() 165 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in dbus_setnonblock() 192 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Failed to get system bus: %s", error.message); in dbus_activate() 199 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Failed to get session bus: %s", error.message); in dbus_activate() 208 …snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Failed to open connection to: %s: %s", addr, error.mes… in dbus_activate() 214 …snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Failed to register bus %s: %s\n", addr, error.message); in dbus_activate() 220 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't get bus address from %s", handle->opt.device); in dbus_activate() [all …]
|
D | fad-glifc.c | 99 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces() 109 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces() 122 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces() 135 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces() 151 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces() 200 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces() 223 PCAP_ERRBUF_SIZE, errno, in pcap_findalldevs_interfaces() 251 PCAP_ERRBUF_SIZE, errno, in pcap_findalldevs_interfaces() 286 PCAP_ERRBUF_SIZE, errno, in pcap_findalldevs_interfaces()
|
D | pcap-netfilter-linux.c | 131 PCAP_ERRBUF_SIZE, errno, "Can't receive packet"); in netfilter_read_linux() 182 …snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Message truncated: (got: %zd) (nlmsg_len: %u)", len, n… in netfilter_read_linux() 204 … snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Malformed message: (nlmsg_len: %u)", nlh->nlmsg_len); in netfilter_read_linux() 322 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in netfilter_inject_linux() 535 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in netfilter_activate() 544 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in netfilter_activate() 560 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in netfilter_activate() 598 pcap_fmt_errmsg_for_errno(handle->errbuf, PCAP_ERRBUF_SIZE, in netfilter_activate() 617 pcap_fmt_errmsg_for_errno(handle->errbuf, PCAP_ERRBUF_SIZE, in netfilter_activate() 625 PCAP_ERRBUF_SIZE, errno, in netfilter_activate() [all …]
|
D | fad-gifc.c | 157 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces() 175 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces() 183 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces() 194 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces() 267 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces() 291 PCAP_ERRBUF_SIZE, errno, in pcap_findalldevs_interfaces() 322 PCAP_ERRBUF_SIZE, errno, in pcap_findalldevs_interfaces() 361 PCAP_ERRBUF_SIZE, errno, in pcap_findalldevs_interfaces()
|
D | rpcap-protocol.c | 91 if (length > PCAP_ERRBUF_SIZE) in rpcap_senderror() 92 length = PCAP_ERRBUF_SIZE; in rpcap_senderror() 97 RPCAP_NETBUF_SIZE, SOCKBUF_CHECKONLY, errbuf, PCAP_ERRBUF_SIZE)) in rpcap_senderror() 101 RPCAP_NETBUF_SIZE, SOCKBUF_BUFFERIZE, errbuf, PCAP_ERRBUF_SIZE)) in rpcap_senderror() 104 if (sock_send(sock, ssl, sendbuf, sendbufidx, errbuf, PCAP_ERRBUF_SIZE) < 0) in rpcap_senderror()
|
D | pcap-snit.c | 225 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_inject_snit() 249 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in nit_setflags() 262 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in nit_setflags() 274 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in nit_setflags() 338 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_snit() 345 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_snit() 351 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_snit() 362 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_snit() 380 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_snit() 391 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_snit() [all …]
|
D | pcap-tc.c | 502 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "Error allocating memory"); in TcActivate() 537 …snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "Error opening TurboCap adapter: %s", g_TcFunctions.StatusGe… in TcActivate() 569 …snprintf(p->errbuf, PCAP_ERRBUF_SIZE,"Error enabling reception on a TurboCap instance: %s", g_TcFu… in TcActivate() 608 …snprintf(p->errbuf, PCAP_ERRBUF_SIZE,"Error setting the read timeout a TurboCap instance: %s", g_T… in TcActivate() 741 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in TcGetNonBlock() 748 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in TcSetNonBlock() 790 …snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send error: the TurboCap API does not support packets large… in TcInject() 798 …snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send error: TcPacketsBufferCreate failure: %s (%08x)", g_Tc… in TcInject() 818 …snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send error: TcInstanceTransmitPackets failure: %s (%08x)", … in TcInject() 823 …snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send error: TcPacketsBufferCommitNextPacket failure: %s (%0… in TcInject() [all …]
|
D | pcap-pf.c | 230 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_inject_pf() 329 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_pf() 335 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_pf() 360 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_pf() 372 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_pf() 379 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_pf() 462 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_pf() 476 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_pf() 486 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_pf() 497 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_pf() [all …]
|