/freebsd/contrib/libpcap/rpcapd/ |
H A D | daemon.c | 219 char errbuf[PCAP_ERRBUF_SIZE + 1]; // keeps the error string, prior to be printed in daemon_serviceloop() 220 char errmsgbuf[PCAP_ERRBUF_SIZE + 1]; // buffer for errors to send to the client in daemon_serviceloop() 262 SOCK_EOF_ISNT_ERROR|SOCK_MSG_PEEK, errbuf, PCAP_ERRBUF_SIZE); in daemon_serviceloop() 337 ssl = ssl_promotion(1, sockctrl, errbuf, PCAP_ERRBUF_SIZE); in daemon_serviceloop() 364 errbuf, PCAP_ERRBUF_SIZE); in daemon_serviceloop() 394 TLS_RECORD_HEADER_LEN, errbuf, PCAP_ERRBUF_SIZE) == -1) in daemon_serviceloop() 404 TLS_ALERT_LEN, errbuf, PCAP_ERRBUF_SIZE) == -1) in daemon_serviceloop() 450 sock_geterrmsg(errmsgbuf, PCAP_ERRBUF_SIZE, in daemon_serviceloop() 460 …atus = sock_check_hostlist(passiveClients, RPCAP_HOSTLIST_SEP, &from, errmsgbuf, PCAP_ERRBUF_SIZE); in daemon_serviceloop() 525 sock_geterrmsg(errmsgbuf, PCAP_ERRBUF_SIZE, in daemon_serviceloop() [all …]
|
H A D | rpcapd.c | 185 char errbuf[PCAP_ERRBUF_SIZE + 1]; // keeps the error string, prior to be printed in main() 341 if (sock_init(errbuf, PCAP_ERRBUF_SIZE) == -1) in main() 362 sock_geterrmsg(errbuf, PCAP_ERRBUF_SIZE, in main() 373 sock_geterrmsg(errbuf, PCAP_ERRBUF_SIZE, in main() 402 if (ssl_init_once(1, enable_compression, errbuf, PCAP_ERRBUF_SIZE) < 0) in main() 434 sock_geterrmsg(errbuf, PCAP_ERRBUF_SIZE, in main() 562 char errbuf[PCAP_ERRBUF_SIZE + 1]; // keeps the error string, prior to be printed in main_startup() 619 port, &mainhints, errbuf, PCAP_ERRBUF_SIZE); in main_startup() 632 …k_open(NULL, tempaddrinfo, SOCKOPEN_SERVER, SOCKET_MAXCONN, errbuf, PCAP_ERRBUF_SIZE)) == INVALID_… in main_startup() 741 char errbuf[PCAP_ERRBUF_SIZE + 1]; // keeps the error string, prior to be printed in send_state_change_event() [all …]
|
/freebsd/contrib/libpcap/ |
H A D | pcap-rpcap.c | 314 pcapint_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in rpcap_deseraddr() 344 pcapint_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in rpcap_deseraddr() 441 sock_geterrmsg(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_read_nocb_remote() 463 p->bufsize, p->errbuf, PCAP_ERRBUF_SIZE); in pcap_read_nocb_remote() 479 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_read_nocb_remote() 490 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_read_nocb_remote() 534 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_read_nocb_remote() 583 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_read_nocb_remote() 924 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in rpcap_stats_rpcap() 956 sizeof(struct rpcap_header), p->errbuf, PCAP_ERRBUF_SIZE) < 0) in rpcap_stats_rpcap() [all …]
|
H A D | sf-pcap.c | 260 pcapint_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in pcap_check_header() 263 snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_check_header() 284 snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_check_header() 298 snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_check_header() 309 snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_check_header() 380 snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_check_header() 483 snprintf(errbuf, PCAP_ERRBUF_SIZE, "out of memory"); in pcap_check_header() 504 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "out of memory"); in grow_buffer() 536 pcapint_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_next_packet() 541 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_next_packet() [all …]
|
H A D | savefile.c | 107 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in sf_setnonblock() 125 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in sf_stats() 134 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in sf_stats_ex() 142 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in sf_setbuff() 150 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in sf_setmode() 158 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in sf_setmintocopy() 175 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in sf_oid_get_request() 184 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in sf_oid_set_request() 193 PCAP_ERRBUF_SIZE); in sf_sendqueue_transmit() 200 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in sf_setuserbuffer() [all …]
|
H A D | pcap-dlpi.c | 257 pcapint_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_inject_dlpi() 263 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_inject_dlpi() 269 pcapint_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_inject_dlpi() 303 PCAP_ERRBUF_SIZE); in pcap_inject_dlpi() 390 snprintf(errbuf, PCAP_ERRBUF_SIZE, in open_dlpi_device() 395 pcapint_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in open_dlpi_device() 447 snprintf(errbuf, PCAP_ERRBUF_SIZE, in open_dlpi_device() 454 PCAP_ERRBUF_SIZE, errno, in open_dlpi_device() 488 snprintf(errbuf, PCAP_ERRBUF_SIZE, in open_dlpi_device() 493 snprintf(errbuf, PCAP_ERRBUF_SIZE, in open_dlpi_device() [all …]
|
H A D | pcap-bpf.c | 371 PCAP_ERRBUF_SIZE, errno, "BIOCROTZBUF"); in pcap_next_zbuf() 398 pcapint_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_next_zbuf() 417 pcapint_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_next_zbuf() 459 pcapint_fmt_errmsg_for_errno(ebuf, PCAP_ERRBUF_SIZE, errno, in pcapint_create_interface() 507 snprintf(errbuf, PCAP_ERRBUF_SIZE, in bpf_open() 513 PCAP_ERRBUF_SIZE, errno, in bpf_open() 563 snprintf(errbuf, PCAP_ERRBUF_SIZE, in bpf_open() 573 snprintf(errbuf, PCAP_ERRBUF_SIZE, in bpf_open() 585 snprintf(errbuf, PCAP_ERRBUF_SIZE, in bpf_open() 595 pcapint_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in bpf_open() [all …]
|
H A D | pcap-npf.c | 214 snprintf(errbuf, PCAP_ERRBUF_SIZE, in oid_get_request() 225 pcapint_fmt_errmsg_for_win32_err(errbuf, PCAP_ERRBUF_SIZE, in oid_get_request() 264 pcapint_fmt_errmsg_for_win32_err(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_stats_npf() 321 pcapint_fmt_errmsg_for_win32_err(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_stats_ex_npf() 347 …snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "driver error: not enough memory to allocate the kernel buff… in pcap_setbuff_npf() 361 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "driver error: working mode not recognized"); in pcap_setmode_npf() 376 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "driver error: unable to set the requested mintocopy size"); in pcap_setmintocopy_npf() 414 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_oid_set_request_npf() 423 pcapint_fmt_errmsg_for_win32_err(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_oid_set_request_npf() 453 pcapint_fmt_errmsg_for_win32_err(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_sendqueue_transmit_npf() [all …]
|
H A D | pcap-new.c | 90 snprintf(errbuf, PCAP_ERRBUF_SIZE, "The source string is too long. Cannot handle it correctly."); in pcap_findalldevs_ex() 121 snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_ex() 146 PCAP_ERRBUF_SIZE, errno, in pcap_findalldevs_ex() 164 PCAP_ERRBUF_SIZE, errno, in pcap_findalldevs_ex() 226 snprintf(errbuf, PCAP_ERRBUF_SIZE, "Error when listing files: does folder '%s' exist?", path); in pcap_findalldevs_ex() 235 snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_ex() 248 snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_ex() 281 PCAP_ERRBUF_SIZE, errno, in pcap_findalldevs_ex() 330 PCAP_ERRBUF_SIZE, errno, in pcap_findalldevs_ex() 349 PCAP_ERRBUF_SIZE, errno, in pcap_findalldevs_ex() [all …]
|
H A D | pcap-linux.c | 368 pcapint_fmt_errmsg_for_errno(ebuf, PCAP_ERRBUF_SIZE, in pcapint_create_interface() 453 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in get_mac80211_phydev() 468 pcapint_fmt_errmsg_for_errno(handle->errbuf, PCAP_ERRBUF_SIZE, in get_mac80211_phydev() 491 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in nl80211_init() 497 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in nl80211_init() 504 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in nl80211_init() 512 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in nl80211_init() 553 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in add_mon_if() 583 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in add_mon_if() 607 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in add_mon_if() [all …]
|
H A D | sf-pcapng.c | 264 pcapint_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 …]
|
H A D | pcap-airpcap.c | 326 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in airpcap_set_datalink() 381 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in airpcap_stats() 427 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in airpcap_stats_ex() 453 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in airpcap_setbuff() 466 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in airpcap_setmode() 480 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in airpcap_setmintocopy() 500 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in airpcap_oid_get_request() 509 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in airpcap_oid_set_request() 517 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in airpcap_sendqueue_transmit() 529 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in airpcap_setuserbuffer() [all …]
|
H A D | pcap.c | 196 pcapint_fmt_errmsg_for_win32_err(errbuf, PCAP_ERRBUF_SIZE, in internal_wsockinit() 267 snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_init() 278 snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_init() 287 snprintf(errbuf, PCAP_ERRBUF_SIZE, "Unknown options specified"); in pcap_init() 1143 pcapint_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, 1152 pcapint_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, 1163 pcapint_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, 1176 pcapint_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, 1191 pcapint_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, 1327 pcapint_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, [all …]
|
H A D | pcap-bt-linux.c | 86 pcapint_fmt_errmsg_for_errno(err_str, PCAP_ERRBUF_SIZE, in bt_findalldevs() 94 snprintf(err_str, PCAP_ERRBUF_SIZE, "Can't allocate %zu bytes for Bluetooth device list", in bt_findalldevs() 112 pcapint_fmt_errmsg_for_errno(err_str, PCAP_ERRBUF_SIZE, in bt_findalldevs() 204 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in bt_activate() 238 pcapint_fmt_errmsg_for_errno(handle->errbuf, PCAP_ERRBUF_SIZE, in bt_activate() 245 pcapint_fmt_errmsg_for_errno(handle->errbuf, PCAP_ERRBUF_SIZE, in bt_activate() 252 pcapint_fmt_errmsg_for_errno(handle->errbuf, PCAP_ERRBUF_SIZE, in bt_activate() 259 pcapint_fmt_errmsg_for_errno(handle->errbuf, PCAP_ERRBUF_SIZE, in bt_activate() 270 pcapint_fmt_errmsg_for_errno(handle->errbuf, PCAP_ERRBUF_SIZE, in bt_activate() 283 pcapint_fmt_errmsg_for_errno(handle->errbuf, PCAP_ERRBUF_SIZE, in bt_activate() [all …]
|
H A D | pcap-snf.c | 56 pcapint_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in snf_pcap_stats() 183 PCAP_ERRBUF_SIZE, err, "snf_read"); in snf_read() 218 pcapint_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in snf_inject() 229 pcapint_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in snf_inject() 235 PCAP_ERRBUF_SIZE); in snf_inject() 250 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "device is NULL"); in snf_activate() 277 pcapint_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in snf_activate() 287 pcapint_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in snf_activate() 310 pcapint_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in snf_activate() 352 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in snf_findalldevs() [all …]
|
H A D | pcap-dpdk.c | 430 PCAP_ERRBUF_SIZE); in pcap_dpdk_inject() 652 snprintf(ebuf, PCAP_ERRBUF_SIZE, in dpdk_pre_init() 662 snprintf(ebuf, PCAP_ERRBUF_SIZE, in dpdk_pre_init() 679 snprintf(ebuf, PCAP_ERRBUF_SIZE, in dpdk_pre_init() 687 snprintf(ebuf, PCAP_ERRBUF_SIZE, in dpdk_pre_init() 694 snprintf(ebuf, PCAP_ERRBUF_SIZE, in dpdk_pre_init() 700 snprintf(ebuf, PCAP_ERRBUF_SIZE, in dpdk_pre_init() 726 snprintf(ebuf, PCAP_ERRBUF_SIZE, in dpdk_pre_init() 733 snprintf(ebuf, PCAP_ERRBUF_SIZE, in dpdk_pre_init() 744 PCAP_ERRBUF_SIZE, -is_dpdk_pre_inited, in dpdk_pre_init() [all …]
|
H A D | pcap-dbus.c | 69 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Connection closed"); in dbus_read() 82 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Disconnected"); in dbus_read() 113 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "dbus_message_demarshal() failed: %s", error.message); in dbus_write() 155 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in dbus_getnonblock() 163 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in dbus_setnonblock() 190 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Failed to get system bus: %s", error.message); in dbus_activate() 197 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Failed to get session bus: %s", error.message); in dbus_activate() 206 …snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Failed to open connection to: %s: %s", addr, error.mes… in dbus_activate() 212 …snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Failed to register bus %s: %s\n", addr, error.message); in dbus_activate() 218 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't get bus address from %s", handle->opt.device); in dbus_activate() [all …]
|
H A D | pcap-snit.c | 226 pcapint_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_inject_snit() 250 pcapint_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in nit_setflags() 263 pcapint_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in nit_setflags() 275 pcapint_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in nit_setflags() 337 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_snit() 342 pcapint_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_snit() 350 pcapint_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_snit() 356 pcapint_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_snit() 367 pcapint_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_snit() 385 pcapint_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_snit() [all …]
|
H A D | fad-glifc.c | 101 pcapint_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in pcapint_findalldevs_interfaces() 111 pcapint_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in pcapint_findalldevs_interfaces() 124 pcapint_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in pcapint_findalldevs_interfaces() 137 pcapint_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in pcapint_findalldevs_interfaces() 153 pcapint_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in pcapint_findalldevs_interfaces() 202 pcapint_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in pcapint_findalldevs_interfaces() 225 PCAP_ERRBUF_SIZE, errno, in pcapint_findalldevs_interfaces() 253 PCAP_ERRBUF_SIZE, errno, in pcapint_findalldevs_interfaces() 288 PCAP_ERRBUF_SIZE, errno, in pcapint_findalldevs_interfaces()
|
H A D | pcap-netfilter-linux.c | 130 PCAP_ERRBUF_SIZE, errno, "Can't receive packet"); in netfilter_read_linux() 188 …snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Message truncated: (got: %zd) (nlmsg_len: %u)", len, n… in netfilter_read_linux() 210 … snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Malformed message: (nlmsg_len: %u)", nlh->nlmsg_len); in netfilter_read_linux() 328 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in netfilter_inject_linux() 543 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in netfilter_activate() 552 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in netfilter_activate() 568 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in netfilter_activate() 606 pcapint_fmt_errmsg_for_errno(handle->errbuf, PCAP_ERRBUF_SIZE, in netfilter_activate() 616 PCAP_ERRBUF_SIZE, errno, in netfilter_activate() 628 pcapint_fmt_errmsg_for_errno(handle->errbuf, PCAP_ERRBUF_SIZE, in netfilter_activate() [all …]
|
H A D | pcap-tc.c | 500 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "Error allocating memory"); in TcActivate() 535 …snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "Error opening TurboCap adapter: %s", g_TcFunctions.StatusGe… in TcActivate() 543 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "Error allocating memory"); in TcActivate() 567 …snprintf(p->errbuf, PCAP_ERRBUF_SIZE,"Error enabling reception on a TurboCap instance: %s", g_TcFu… in TcActivate() 606 …snprintf(p->errbuf, PCAP_ERRBUF_SIZE,"Error setting the read timeout a TurboCap instance: %s", g_T… in TcActivate() 739 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in TcGetNonBlock() 746 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in TcSetNonBlock() 788 …snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send error: the TurboCap API does not support packets large… in TcInject() 796 …snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send error: TcPacketsBufferCreate failure: %s (%08x)", g_Tc… in TcInject() 816 …snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send error: TcInstanceTransmitPackets failure: %s (%08x)", … in TcInject() [all …]
|
H A D | fad-gifc.c | 159 pcapint_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in pcapint_findalldevs_interfaces() 177 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcapint_findalldevs_interfaces() 185 pcapint_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in pcapint_findalldevs_interfaces() 196 pcapint_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in pcapint_findalldevs_interfaces() 269 pcapint_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in pcapint_findalldevs_interfaces() 293 PCAP_ERRBUF_SIZE, errno, in pcapint_findalldevs_interfaces() 324 PCAP_ERRBUF_SIZE, errno, in pcapint_findalldevs_interfaces() 363 PCAP_ERRBUF_SIZE, errno, in pcapint_findalldevs_interfaces()
|
H A D | rpcap-protocol.c | 89 if (length > PCAP_ERRBUF_SIZE) in rpcap_senderror() 90 length = PCAP_ERRBUF_SIZE; in rpcap_senderror() 95 RPCAP_NETBUF_SIZE, SOCKBUF_CHECKONLY, errbuf, PCAP_ERRBUF_SIZE)) in rpcap_senderror() 99 RPCAP_NETBUF_SIZE, SOCKBUF_BUFFERIZE, errbuf, PCAP_ERRBUF_SIZE)) in rpcap_senderror() 102 if (sock_send(sock, ssl, sendbuf, sendbufidx, errbuf, PCAP_ERRBUF_SIZE) < 0) in rpcap_senderror()
|
H A D | pcap-pf.c | 231 pcapint_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_inject_pf() 330 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_pf() 336 pcapint_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_pf() 361 pcapint_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_pf() 373 pcapint_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_pf() 380 pcapint_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_pf() 406 pcapint_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_pf() 464 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_pf() 478 pcapint_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_pf() 488 pcapint_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_pf() [all …]
|
H A D | pcap-snoop.c | 151 pcapint_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_inject_snoop() 213 pcapint_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_snoop() 229 pcapint_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_snoop() 235 pcapint_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_snoop() 285 pcapint_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_snoop() 311 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_snoop() 344 pcapint_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_snoop() 378 pcapint_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_snoop() 384 pcapint_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_snoop() 392 pcapint_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_snoop()
|