Home
last modified time | relevance | path

Searched refs:PCAP_ERRBUF_SIZE (Results 1 – 25 of 48) sorted by relevance

12

/external/libpcap/
Dsf-pcap.c188 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 …]
Dpcap-bpf.c350 (void) snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_next_zbuf()
378 (void) snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_next_zbuf()
397 (void) snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_next_zbuf()
467 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in bpf_open()
509 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in bpf_open()
518 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in bpf_open()
530 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in bpf_open()
540 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in bpf_open()
562 (void)snprintf(ebuf, PCAP_ERRBUF_SIZE, "malloc: %s", in get_dlt_list()
568 (void)snprintf(ebuf, PCAP_ERRBUF_SIZE, in get_dlt_list()
[all …]
Dpcap-dlpi.c251 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send: %s", in pcap_inject_dlpi()
257 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_inject_dlpi()
263 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send: %s", in pcap_inject_dlpi()
297 PCAP_ERRBUF_SIZE); in pcap_inject_dlpi()
398 snprintf(p->errbuf, PCAP_ERRBUF_SIZE,
464 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "%s: %s", dname,
495 snprintf(p->errbuf, PCAP_ERRBUF_SIZE,
502 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "%s: %s",
630 snprintf(p->errbuf, PCAP_ERRBUF_SIZE,
748 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "DLIOCRAW: %s",
[all …]
Dsf-pcap-ng.c239 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 …]
Dsavefile.c99 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in sf_setnonblock()
107 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in sf_stats()
116 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in sf_setbuff()
124 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in sf_setmode()
132 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in sf_setmintocopy()
142 PCAP_ERRBUF_SIZE); in sf_inject()
193 snprintf(errbuf, PCAP_ERRBUF_SIZE, "%s: %s", fname, in pcap_open_offline_with_tstamp_precision()
223 snprintf(errbuf, PCAP_ERRBUF_SIZE, pcap_strerror(errno)); in pcap_hopen_offline_with_tstamp_precision()
230 snprintf(errbuf, PCAP_ERRBUF_SIZE, pcap_strerror(errno)); in pcap_hopen_offline_with_tstamp_precision()
275 snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_fopen_offline_with_tstamp_precision()
[all …]
Dpcap-bt-linux.c90 snprintf(err_str, PCAP_ERRBUF_SIZE, in bt_findalldevs()
98 snprintf(err_str, PCAP_ERRBUF_SIZE, "Can't allocate %zu bytes for Bluetooth device list", in bt_findalldevs()
108 snprintf(err_str, PCAP_ERRBUF_SIZE, in bt_findalldevs()
195 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in bt_activate()
219 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in bt_activate()
226 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't allocate dump buffer: %s", in bt_activate()
233 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in bt_activate()
240 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in bt_activate()
251 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in bt_activate()
264 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in bt_activate()
[all …]
Dpcap-snf.c54 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "snf_get_stats: %s", in snf_pcap_stats()
167 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "snf_read: %s", in snf_read()
222 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in snf_inject()
233 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "snf_inject_send: %s", in snf_inject()
239 PCAP_ERRBUF_SIZE); in snf_inject()
254 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in snf_activate()
275 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in snf_activate()
285 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in snf_activate()
298 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in snf_activate()
338 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in snf_findalldevs()
[all …]
Dpcap-linux.c479 snprintf(ebuf, PCAP_ERRBUF_SIZE, "malloc: %s", in pcap_create_interface()
553 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in get_mac80211_phydev()
568 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in get_mac80211_phydev()
625 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in nl80211_init()
631 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in nl80211_init()
638 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in nl80211_init()
646 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in nl80211_init()
682 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE,
714 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE,
742 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE,
[all …]
Dpcap-win32.c143 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "PacketGetStats error: %s", pcap_win32strerror()); in pcap_stats_win32()
156 …snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "driver error: not enough memory to allocate the kernel buff… in pcap_setbuff_win32()
168 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "driver error: working mode not recognized"); in pcap_setmode_win32()
181 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "driver error: unable to set the requested mintocopy size"); in pcap_setmintocopy_win32()
220 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "read error: PacketReceivePacket failed"); in pcap_read_win32_npf()
322 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "read error: PacketReceivePacket failed"); in pcap_read_win32_dag()
471 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send error: PacketAllocatePacket failed"); in pcap_inject_win32()
477 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send error: PacketSendPacket failed"); in pcap_inject_win32()
529 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "Error opening adapter: %s", pcap_win32strerror()); in pcap_activate_win32()
536 …snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "Cannot determine the network type: %s", pcap_win32strerror(… in pcap_activate_win32()
[all …]
Dpcap-netfilter-linux.c104 …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()
137 … snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Malformed message: (nlmsg_len: %u)", nlh->nlmsg_len); in netfilter_read_linux()
235 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "inject not supported on netfilter devices"); in netfilter_inject_linux()
442 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in netfilter_activate()
451 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in netfilter_activate()
467 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in netfilter_activate()
494 …snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't create raw socket %d:%s", errno, pcap_strerror(e… in netfilter_activate()
512 …snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't allocate dump buffer: %s", pcap_strerror(errno)); in netfilter_activate()
518 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "NFULNL_CFG_CMD_PF_UNBIND: %s", pcap_strerror(errno)); in netfilter_activate()
[all …]
Dfad-glifc.c100 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces()
110 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces()
123 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces()
136 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces()
152 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces()
213 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces()
236 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces()
264 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces()
299 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces()
Dinet.c187 char open_errbuf[PCAP_ERRBUF_SIZE]; in add_or_find_if()
242 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in add_or_find_if()
318 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in add_or_find_if()
329 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in add_or_find_if()
340 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in add_or_find_if()
666 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in add_addr_to_dev()
675 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in add_addr_to_dev()
686 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in add_addr_to_dev()
699 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in add_addr_to_dev()
714 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in add_addr_to_dev()
[all …]
Dpcap-dbus.c71 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()
Dpcap-snit.c226 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send: %s", in pcap_inject_snit()
250 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "NIOCSCHUNK: %s", in nit_setflags()
263 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "NIOCSTIME: %s", in nit_setflags()
275 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "NIOCSFLAGS: %s", in nit_setflags()
323 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "%s: %s", dev, in pcap_activate_snit()
330 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "I_SRDOPT: %s", in pcap_activate_snit()
335 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "push nbuf: %s", in pcap_activate_snit()
345 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "NIOCSCHUNK: %s", in pcap_activate_snit()
357 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "NIOCBIND: %s: %s", in pcap_activate_snit()
367 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "NIOCSSNAP: %s", in pcap_activate_snit()
[all …]
Dfad-gifc.c157 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces()
173 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces()
184 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces()
247 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces()
271 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces()
302 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces()
341 (void)snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces()
Dpcap-can-linux.c167 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()
Dpcap-dag.c338 strncpy(p->errbuf, "dag_read: record too small", PCAP_ERRBUF_SIZE); in dag_read()
612 PCAP_ERRBUF_SIZE); in dag_inject()
645 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "device is NULL: %s", pcap_strerror(errno)); in dag_activate()
654 …snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't allocate string for device name: %s\n", pcap_str… in dag_activate()
660 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "dag_parse_name: %s\n", pcap_strerror(errno)); in dag_activate()
666 …snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "dag_parse_name: tx (even numbered) streams not support… in dag_activate()
673 …snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't allocate string for device name: %s\n", pcap_str… in dag_activate()
684 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "dag_open %s: %s", device, pcap_strerror(errno)); in dag_activate()
691 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "dag_attach_stream: %s\n", pcap_strerror(errno)); in dag_activate()
700 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "dag_get_stream_poll: %s\n", pcap_strerror(errno)); in dag_activate()
[all …]
Dpcap-pf.c235 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send: %s", in pcap_inject_pf()
329 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "pf open: %s: %s\n\ in pcap_activate_pf()
341 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "EIOCMBIS: %s", in pcap_activate_pf()
352 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "EIOCSETW: %s", in pcap_activate_pf()
358 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "EIOCDEVP: %s", in pcap_activate_pf()
440 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_pf()
453 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "EIOCTRUNCATE: %s", in pcap_activate_pf()
462 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "EIOCSETF: %s", in pcap_activate_pf()
472 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "EIOCSRTIMEOUT: %s", in pcap_activate_pf()
481 strlcpy(p->errbuf, pcap_strerror(errno), PCAP_ERRBUF_SIZE); in pcap_activate_pf()
Dpcap-snoop.c153 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send: %s", in pcap_inject_snoop()
215 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "snoop socket: %s", in pcap_activate_snoop()
224 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "snoop bind: %s", in pcap_activate_snoop()
230 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "SIOCADDSNOOP: %s", in pcap_activate_snoop()
306 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_snoop()
328 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "SIOCGIFMTU: %s", in pcap_activate_snoop()
362 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "SIOCSNOOPLEN: %s", in pcap_activate_snoop()
368 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "SIOCSNOOPING: %s", in pcap_activate_snoop()
376 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "malloc: %s", in pcap_activate_snoop()
Dpcap-usb-linux.c360 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in usb_activate()
420 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in usb_activate()
448 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in usb_activate()
499 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in usb_read_linux()
512 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in usb_read_linux()
526 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in usb_read_linux()
578 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in usb_read_linux()
602 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in usb_read_linux()
620 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in usb_read_linux()
668 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "inject not supported on " in usb_inject_linux()
[all …]
Dpcap-bt-monitor-linux.c101 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in bt_monitor_read()
132 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "inject not supported yet"); in bt_monitor_inject()
180 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in bt_monitor_activate()
187 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't allocate dump buffer: %s", in bt_monitor_activate()
198 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in bt_monitor_activate()
205 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in bt_monitor_activate()
Dpcap.c501 snprintf(ebuf, PCAP_ERRBUF_SIZE, "malloc: %s", in pcap_alloc_pcap_t()
542 snprintf(ebuf, PCAP_ERRBUF_SIZE, "malloc: %s", in pcap_create_common()
580 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "can't perform " in pcap_check_activated()
752 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "%s", in pcap_activate()
800 snprintf(errbuf, PCAP_ERRBUF_SIZE, "%s: %s", source, in pcap_open_live()
805 snprintf(errbuf, PCAP_ERRBUF_SIZE, "%s: %s (%s)", source, in pcap_open_live()
808 snprintf(errbuf, PCAP_ERRBUF_SIZE, "%s: %s", source, in pcap_open_live()
826 snprintf(ebuf, PCAP_ERRBUF_SIZE, "malloc: %s", in pcap_open_offline_common()
1410 strlcpy(p->errbuf, errbuf, PCAP_ERRBUF_SIZE); in pcap_getnonblock()
1430 snprintf(errbuf, PCAP_ERRBUF_SIZE, "F_GETFL: %s", in pcap_getnonblock_fd()
[all …]
Dfad-win32.c155 snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces()
171 snprintf(errbuf, PCAP_ERRBUF_SIZE, "Cannot allocate enough memory to list the adapters."); in pcap_findalldevs_interfaces()
176 snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces()
Dpcap-nit.c209 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send: %s", in pcap_inject_nit()
252 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "SIOCSNIT: %s", in nit_setflags()
283 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_nit()
291 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_nit()
306 strlcpy(p->errbuf, pcap_strerror(errno), PCAP_ERRBUF_SIZE); in pcap_activate_nit()
Dpcap-sita.c265 …snprintf(errbuf, PCAP_ERRBUF_SIZE, "Cannot open '/etc/hosts' for reading."); /* return the nohosts…
288 snprintf(errbuf, PCAP_ERRBUF_SIZE, "Invalid ACN name in '/etc/hosts'."); /* warn the user */
292 snprintf(errbuf, PCAP_ERRBUF_SIZE, "malloc: %s", pcap_strerror(errno));
580 snprintf(errbuf, PCAP_ERRBUF_SIZE, "malloc: %s", pcap_strerror(errno));
589 snprintf(errbuf, PCAP_ERRBUF_SIZE, "malloc: %s", pcap_strerror(errno));
600 snprintf(errbuf, PCAP_ERRBUF_SIZE, "malloc: %s", pcap_strerror(errno));
620 snprintf(errbuf, PCAP_ERRBUF_SIZE, "malloc: %s", pcap_strerror(errno));
628 snprintf(errbuf, PCAP_ERRBUF_SIZE, "malloc: %s", pcap_strerror(errno));
640 snprintf(errbuf, PCAP_ERRBUF_SIZE, "malloc: %s", pcap_strerror(errno));
654 snprintf(errbuf, PCAP_ERRBUF_SIZE, "malloc: %s", pcap_strerror(errno));
[all …]

12