/external/libpcap/rpcapd/ |
D | daemon.c | 141 char errbuf[PCAP_ERRBUF_SIZE + 1]; // keeps the error string, prior to be printed in daemon_serviceloop() 142 char errmsgbuf[PCAP_ERRBUF_SIZE + 1]; // buffer for errors to send to the client in daemon_serviceloop() 218 sock_geterror("select failed: ", errmsgbuf, PCAP_ERRBUF_SIZE); in daemon_serviceloop() 376 …pcap_snprintf(errmsgbuf, PCAP_ERRBUF_SIZE, "%s request sent before authentication was completed", … in daemon_serviceloop() 380 …pcap_snprintf(errmsgbuf, PCAP_ERRBUF_SIZE, "Message of type %u sent before authentication was comp… in daemon_serviceloop() 412 …pcap_snprintf(errmsgbuf, PCAP_ERRBUF_SIZE, "Server-to-client message %s received from client", msg… in daemon_serviceloop() 416 …pcap_snprintf(errmsgbuf, PCAP_ERRBUF_SIZE, "Server-to-client message of type %u received from clie… in daemon_serviceloop() 437 pcap_snprintf(errmsgbuf, PCAP_ERRBUF_SIZE, "Unknown message type %u", header.type); in daemon_serviceloop() 497 sock_geterror("select failed: ", errmsgbuf, PCAP_ERRBUF_SIZE); in daemon_serviceloop() 781 …pcap_snprintf(errmsgbuf, PCAP_ERRBUF_SIZE, "Server-to-client message %s received from client", msg… in daemon_serviceloop() [all …]
|
D | rpcapd.c | 168 char errbuf[PCAP_ERRBUF_SIZE + 1]; // keeps the error string, prior to be printed in main() 180 if (sock_init(errbuf, PCAP_ERRBUF_SIZE) == -1) in main() 302 sock_geterror(NULL, errbuf, PCAP_ERRBUF_SIZE); in main() 313 sock_geterror(NULL, errbuf, PCAP_ERRBUF_SIZE); in main() 356 sock_geterror(NULL, errbuf, PCAP_ERRBUF_SIZE); in main() 364 sock_geterror(NULL, errbuf, PCAP_ERRBUF_SIZE); in main() 484 char errbuf[PCAP_ERRBUF_SIZE + 1]; // keeps the error string, prior to be printed in main_startup() 540 …ddress((address[0]) ? address : NULL, port, &mainhints, &addrinfo, errbuf, PCAP_ERRBUF_SIZE) == -1) in main_startup() 552 …if ((sock = sock_open(tempaddrinfo, SOCKOPEN_SERVER, SOCKET_MAXCONN, errbuf, PCAP_ERRBUF_SIZE)) ==… in main_startup() 661 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 | 297 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in rpcap_deseraddr() 327 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in rpcap_deseraddr() 412 sock_geterror("select(): ", p->errbuf, PCAP_ERRBUF_SIZE); in pcap_read_nocb_remote() 432 p->bufsize, p->errbuf, PCAP_ERRBUF_SIZE); in pcap_read_nocb_remote() 448 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_read_nocb_remote() 459 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_read_nocb_remote() 504 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_read_nocb_remote() 554 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_read_nocb_remote() 850 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in rpcap_stats_rpcap() 882 sizeof(struct rpcap_header), p->errbuf, PCAP_ERRBUF_SIZE) < 0) in rpcap_stats_rpcap() [all …]
|
D | sf-pcap.c | 175 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in pcap_check_header() 178 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_check_header() 200 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_check_header() 214 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_check_header() 297 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_check_header() 394 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "out of memory"); in pcap_check_header() 415 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "out of memory"); in grow_buffer() 447 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_next_packet() 452 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_next_packet() 537 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_next_packet() [all …]
|
D | savefile.c | 107 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in sf_setnonblock() 115 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in sf_stats() 124 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in sf_stats_ex() 132 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in sf_setbuff() 140 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in sf_setmode() 148 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in sf_setmintocopy() 165 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in sf_oid_get_request() 174 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in sf_oid_set_request() 183 PCAP_ERRBUF_SIZE); in sf_sendqueue_transmit() 190 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in sf_setuserbuffer() [all …]
|
D | pcap-bpf.c | 373 PCAP_ERRBUF_SIZE, errno, "BIOCROTZBUF"); in pcap_next_zbuf() 400 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_next_zbuf() 419 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_next_zbuf() 462 pcap_fmt_errmsg_for_errno(ebuf, PCAP_ERRBUF_SIZE, errno, in pcap_create_interface() 511 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in bpf_open() 560 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in bpf_open() 569 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in bpf_open() 581 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in bpf_open() 590 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in bpf_open() 646 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in bpf_open_and_bind() [all …]
|
D | pcap-dlpi.c | 265 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_inject_dlpi() 271 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_inject_dlpi() 277 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_inject_dlpi() 311 PCAP_ERRBUF_SIZE); in pcap_inject_dlpi() 396 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in open_dlpi_device() 445 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in open_dlpi_device() 478 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in open_dlpi_device() 486 PCAP_ERRBUF_SIZE, errno, "%s", dname2); in open_dlpi_device() 669 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, 787 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, [all …]
|
D | pcap-new.c | 84 …pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "The source string is too long. Cannot handle it correctly… in pcap_findalldevs_ex() 115 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_ex() 138 PCAP_ERRBUF_SIZE, errno, in pcap_findalldevs_ex() 160 PCAP_ERRBUF_SIZE, errno, in pcap_findalldevs_ex() 218 …pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "Error when listing files: does folder '%s' exist?", path); in pcap_findalldevs_ex() 231 …pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "Error when listing files: does folder '%s' exist?", path); in pcap_findalldevs_ex() 255 PCAP_ERRBUF_SIZE, errno, in pcap_findalldevs_ex() 296 PCAP_ERRBUF_SIZE, errno, in pcap_findalldevs_ex() 317 PCAP_ERRBUF_SIZE, errno, in pcap_findalldevs_ex() 348 strlcpy(errbuf, "Source type not supported", PCAP_ERRBUF_SIZE); in pcap_findalldevs_ex() [all …]
|
D | sf-pcapng.c | 258 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in read_bytes() 263 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in read_bytes() 301 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in read_block() 313 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in read_block() 330 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "block is larger than maximum block size %u", in read_block() 336 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "out of memory"); in read_block() 372 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in get_from_block_data() 473 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in process_idb_options() 482 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in process_idb_options() 488 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in process_idb_options() [all …]
|
D | pcap-npf.c | 158 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in oid_get_request() 169 char errmsgbuf[PCAP_ERRBUF_SIZE+1]; in oid_get_request() 172 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in oid_get_request() 196 char errbuf[PCAP_ERRBUF_SIZE+1]; in pcap_stats_npf() 213 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_stats_npf() 259 char errbuf[PCAP_ERRBUF_SIZE+1]; in pcap_stats_ex_npf() 272 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_stats_ex_npf() 293 …pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "driver error: not enough memory to allocate the kernel… in pcap_setbuff_npf() 307 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "driver error: working mode not recognized"); in pcap_setmode_npf() 322 …pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "driver error: unable to set the requested mintocopy si… in pcap_setmintocopy_npf() [all …]
|
D | pcap-bt-linux.c | 86 pcap_fmt_errmsg_for_errno(err_str, PCAP_ERRBUF_SIZE, in bt_findalldevs() 94 pcap_snprintf(err_str, PCAP_ERRBUF_SIZE, "Can't allocate %zu bytes for Bluetooth device list", in bt_findalldevs() 104 pcap_fmt_errmsg_for_errno(err_str, PCAP_ERRBUF_SIZE, in bt_findalldevs() 196 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in bt_activate() 230 pcap_fmt_errmsg_for_errno(handle->errbuf, PCAP_ERRBUF_SIZE, in bt_activate() 237 pcap_fmt_errmsg_for_errno(handle->errbuf, PCAP_ERRBUF_SIZE, in bt_activate() 244 pcap_fmt_errmsg_for_errno(handle->errbuf, PCAP_ERRBUF_SIZE, in bt_activate() 251 pcap_fmt_errmsg_for_errno(handle->errbuf, PCAP_ERRBUF_SIZE, in bt_activate() 262 pcap_fmt_errmsg_for_errno(handle->errbuf, PCAP_ERRBUF_SIZE, in bt_activate() 275 pcap_fmt_errmsg_for_errno(handle->errbuf, PCAP_ERRBUF_SIZE, in bt_activate() [all …]
|
D | pcap-snf.c | 58 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in snf_pcap_stats() 170 PCAP_ERRBUF_SIZE, err, "snf_read"); in snf_read() 224 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in snf_inject() 235 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in snf_inject() 241 PCAP_ERRBUF_SIZE); in snf_inject() 256 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "device is NULL"); in snf_activate() 283 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in snf_activate() 293 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in snf_activate() 316 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in snf_activate() 358 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in snf_findalldevs() [all …]
|
D | pcap-linux.c | 533 pcap_fmt_errmsg_for_errno(ebuf, PCAP_ERRBUF_SIZE, in pcap_create_interface() 605 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in get_mac80211_phydev() 620 pcap_fmt_errmsg_for_errno(handle->errbuf, PCAP_ERRBUF_SIZE, in get_mac80211_phydev() 676 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in nl80211_init() 682 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in nl80211_init() 689 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in nl80211_init() 697 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in nl80211_init() 738 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, 770 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, 798 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, [all …]
|
D | pcap-dbus.c | 71 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Connection closed"); in dbus_read() 84 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Disconnected"); in dbus_read() 115 …pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "dbus_message_demarshal() failed: %s", error.messa… in dbus_write() 157 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in dbus_getnonblock() 165 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in dbus_setnonblock() 192 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Failed to get system bus: %s", error.message); in dbus_activate() 199 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Failed to get session bus: %s", error.message); in dbus_activate() 208 …pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Failed to open connection to: %s: %s", addr, erro… in dbus_activate() 214 …pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Failed to register bus %s: %s\n", addr, error.mes… in dbus_activate() 220 …pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't get bus address from %s", handle->opt.devic… in dbus_activate() [all …]
|
D | pcap.c | 898 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, 907 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, 918 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, 931 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, 946 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, 1082 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, 1093 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, 1109 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, 1296 PCAP_ERRBUF_SIZE); 1360 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, [all …]
|
D | fad-glifc.c | 100 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces() 110 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces() 123 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces() 136 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces() 152 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces() 201 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces() 224 PCAP_ERRBUF_SIZE, errno, in pcap_findalldevs_interfaces() 252 PCAP_ERRBUF_SIZE, errno, in pcap_findalldevs_interfaces() 287 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() 171 …pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Message truncated: (got: %d) (nlmsg_len: %u)", le… in netfilter_read_linux() 193 …pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Malformed message: (nlmsg_len: %u)", nlh->nlmsg_l… in netfilter_read_linux() 304 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "inject not supported on netfilter devices"); in netfilter_inject_linux() 511 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in netfilter_activate() 520 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in netfilter_activate() 536 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in netfilter_activate() 574 pcap_fmt_errmsg_for_errno(handle->errbuf, PCAP_ERRBUF_SIZE, in netfilter_activate() 593 pcap_fmt_errmsg_for_errno(handle->errbuf, PCAP_ERRBUF_SIZE, in netfilter_activate() 601 PCAP_ERRBUF_SIZE, errno, in netfilter_activate() [all …]
|
D | fad-gifc.c | 163 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces() 181 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces() 189 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() 273 pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces() 297 PCAP_ERRBUF_SIZE, errno, in pcap_findalldevs_interfaces() 328 PCAP_ERRBUF_SIZE, errno, in pcap_findalldevs_interfaces() 367 PCAP_ERRBUF_SIZE, errno, in pcap_findalldevs_interfaces()
|
D | pcap-snit.c | 226 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_inject_snit() 250 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in nit_setflags() 263 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in nit_setflags() 275 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in nit_setflags() 339 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_snit() 346 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_snit() 352 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_snit() 363 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_snit() 381 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_snit() 392 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_snit() [all …]
|
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, sendbuf, sendbufidx, errbuf, PCAP_ERRBUF_SIZE) < 0) in rpcap_senderror()
|
D | pcap-tc.c | 570 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "Error allocating memory"); in TcActivate() 605 …pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "Error opening TurboCap adapter: %s", g_TcFunctions.Sta… in TcActivate() 637 …pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE,"Error enabling reception on a TurboCap instance: %s", g… in TcActivate() 676 …pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE,"Error setting the read timeout a TurboCap instance: %s"… in TcActivate() 809 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in TcGetNonBlock() 816 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in TcSetNonBlock() 858 …pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send error: the TurboCap API does not support packets … in TcInject() 866 …pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send error: TcPacketsBufferCreate failure: %s (%08x)",… in TcInject() 886 …pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send error: TcInstanceTransmitPackets failure: %s (%08… in TcInject() 891 …pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send error: TcPacketsBufferCommitNextPacket failure: %… in TcInject() [all …]
|
D | pcap-pf.c | 235 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_inject_pf() 334 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_pf() 340 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_pf() 365 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_pf() 377 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_pf() 384 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_pf() 467 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_pf() 481 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_pf() 491 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_pf() 502 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_pf() [all …]
|
D | pcap-snoop.c | 153 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_inject_snoop() 215 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_snoop() 231 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_snoop() 237 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_snoop() 313 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_snoop() 346 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_snoop() 380 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_snoop() 386 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_snoop() 394 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_snoop()
|
D | pcap-rdmasniff.c | 200 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in rdmasniff_activate() 207 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in rdmasniff_activate() 214 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in rdmasniff_activate() 222 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in rdmasniff_activate() 236 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in rdmasniff_activate() 245 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in rdmasniff_activate() 253 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in rdmasniff_activate() 264 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in rdmasniff_activate() 272 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in rdmasniff_activate() 279 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in rdmasniff_activate() [all …]
|
D | pcap-dag.c | 426 strncpy(p->errbuf, "dag_read: record too small", PCAP_ERRBUF_SIZE); in dag_read() 726 PCAP_ERRBUF_SIZE); in dag_inject() 754 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "device is NULL"); in dag_activate() 761 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in dag_activate() 768 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in dag_activate() 775 …pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "dag_parse_name: tx (even numbered) streams not support… in dag_activate() 781 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in dag_activate() 787 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in dag_activate() 794 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in dag_activate() 812 pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, in dag_activate() [all …]
|