Home
last modified time | relevance | path

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

123

/external/libpcap/
Dpcap-rpcap.c151 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "malloc() failed: %s", pcap_strerror(errno)); in rpcap_deseraddr()
170 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "malloc() failed: %s", pcap_strerror(errno)); in rpcap_deseraddr()
240 sock_geterror("select(): ", p->errbuf, PCAP_ERRBUF_SIZE); in pcap_read_nocb_remote()
264 …d->rmt_sockdata, netbuf, RPCAP_NETBUF_SIZE, SOCK_RECEIVEALL_NO, p->errbuf, PCAP_ERRBUF_SIZE) == -1) in pcap_read_nocb_remote()
269 …data, netbuf, sizeof(struct rpcap_header), SOCK_RECEIVEALL_YES, p->errbuf, PCAP_ERRBUF_SIZE) == -1) in pcap_read_nocb_remote()
299 p->errbuf, PCAP_ERRBUF_SIZE); in pcap_read_nocb_remote()
350 p->errbuf, PCAP_ERRBUF_SIZE); in pcap_read_nocb_remote()
367 …pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "Received a packet that is larger than the internal buf… in pcap_read_nocb_remote()
592 …_send(md->rmt_sockctrl, (char *)&header, sizeof(struct rpcap_header), p->errbuf, PCAP_ERRBUF_SIZE)) in rpcap_stats_remote()
596 …ar *)&header, sizeof(struct rpcap_header), SOCK_RECEIVEALL_YES, p->errbuf, PCAP_ERRBUF_SIZE) == -1) in rpcap_stats_remote()
[all …]
Dpcap-new.c110 …pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "The source string is too long. Cannot handle it correctly… in pcap_findalldevs_ex()
140 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_ex()
162 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "malloc() failed: %s", pcap_strerror(errno)); in pcap_findalldevs_ex()
181 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "malloc() failed: %s", pcap_strerror(errno)); in pcap_findalldevs_ex()
240 …pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "Error when listing files: does folder '%s' exist?", path); in pcap_findalldevs_ex()
253 …pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "Error when listing files: does folder '%s' exist?", path); in pcap_findalldevs_ex()
286 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "malloc() failed: %s", pcap_strerror(errno)); in pcap_findalldevs_ex()
302 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "malloc() failed: %s", pcap_strerror(errno)); in pcap_findalldevs_ex()
320 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "malloc() failed: %s", pcap_strerror(errno)); in pcap_findalldevs_ex()
353 if (sock_init(errbuf, PCAP_ERRBUF_SIZE) == -1) in pcap_findalldevs_ex()
[all …]
Dsf-pcap.c188 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_check_header()
192 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_check_header()
214 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_check_header()
228 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_check_header()
236 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_check_header()
308 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_check_header()
403 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "out of memory"); in pcap_check_header()
438 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_next_packet()
444 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_next_packet()
530 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_next_packet()
[all …]
Dsavefile.c115 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in sf_setnonblock()
123 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in sf_stats()
132 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in sf_stats_ex()
140 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in sf_setbuff()
148 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in sf_setmode()
156 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in sf_setmintocopy()
173 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in sf_oid_get_request()
182 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in sf_oid_set_request()
191 PCAP_ERRBUF_SIZE); in sf_sendqueue_transmit()
198 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in sf_setuserbuffer()
[all …]
Dpcap-bpf.c368 (void) pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_next_zbuf()
396 (void) pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_next_zbuf()
415 (void) pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_next_zbuf()
458 snprintf(ebuf, PCAP_ERRBUF_SIZE, "malloc: %s", in pcap_create_interface()
501 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in bpf_open()
543 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in bpf_open()
552 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in bpf_open()
564 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in bpf_open()
574 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in bpf_open()
632 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in bpf_open_and_bind()
[all …]
Dpcap-dlpi.c254 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send: %s", in pcap_inject_dlpi()
260 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_inject_dlpi()
266 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send: %s", in pcap_inject_dlpi()
300 PCAP_ERRBUF_SIZE); in pcap_inject_dlpi()
383 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in open_dlpi_device()
432 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "%s: %s", dname, in open_dlpi_device()
465 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in open_dlpi_device()
472 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "%s: %s", in open_dlpi_device()
645 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE,
763 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "DLIOCRAW: %s",
[all …]
Dsf-pcap-ng.c243 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in read_bytes()
249 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in read_bytes()
284 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in read_block()
296 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in read_block()
314 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "out of memory"); in read_block()
350 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in get_from_block_data()
451 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in process_idb_options()
460 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in process_idb_options()
466 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in process_idb_options()
492 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in process_idb_options()
[all …]
Dpcap-win32.c166 char errbuf[PCAP_ERRBUF_SIZE+1]; in pcap_stats_win32()
183 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_stats_win32()
228 char errbuf[PCAP_ERRBUF_SIZE+1]; in pcap_stats_ex_win32()
241 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_stats_ex_win32()
260 …pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "driver error: not enough memory to allocate the kernel… in pcap_setbuff_win32()
272 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "driver error: working mode not recognized"); in pcap_setmode_win32()
285 …pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "driver error: unable to set the requested mintocopy si… in pcap_setmintocopy_win32()
301 char errbuf[PCAP_ERRBUF_SIZE+1]; in pcap_oid_get_request_win32()
312 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_oid_get_request_win32()
324 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_oid_get_request_win32()
[all …]
Dpcap-snf.c54 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "snf_get_stats: %s", in snf_pcap_stats()
164 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "snf_read: %s", in snf_read()
219 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in snf_inject()
230 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "snf_inject_send: %s", in snf_inject()
236 PCAP_ERRBUF_SIZE); in snf_inject()
251 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in snf_activate()
272 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in snf_activate()
282 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in snf_activate()
295 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in snf_activate()
335 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in snf_findalldevs()
[all …]
Dpcap-linux.c491 pcap_snprintf(ebuf, PCAP_ERRBUF_SIZE, "malloc: %s", in pcap_create_interface()
563 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in get_mac80211_phydev()
578 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in get_mac80211_phydev()
635 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in nl80211_init()
641 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in nl80211_init()
648 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in nl80211_init()
656 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in nl80211_init()
697 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE,
729 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE,
757 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE,
[all …]
Dpcap-bt-linux.c90 pcap_snprintf(err_str, PCAP_ERRBUF_SIZE, in bt_findalldevs()
98 pcap_snprintf(err_str, PCAP_ERRBUF_SIZE, "Can't allocate %zu bytes for Bluetooth device list", in bt_findalldevs()
108 pcap_snprintf(err_str, PCAP_ERRBUF_SIZE, in bt_findalldevs()
195 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in bt_activate()
218 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in bt_activate()
225 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't allocate dump buffer: %s", in bt_activate()
232 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in bt_activate()
239 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in bt_activate()
250 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in bt_activate()
263 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in bt_activate()
[all …]
Dfad-glifc.c101 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces()
111 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces()
124 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces()
137 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces()
153 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces()
202 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces()
225 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces()
253 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces()
288 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces()
Dinet.c109 PCAP_ERRBUF_SIZE);
161 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "socket: %s",
173 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE,
176 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE,
192 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE,
207 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE,
234 char our_errbuf[PCAP_ERRBUF_SIZE+1];
270 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "memory allocation failure");
277 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE,
Dpcap-netfilter-linux.c107 …pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't receive packet %d:%s", errno, pcap_strerror… in netfilter_read_linux()
118 …pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Message truncated: (got: %d) (nlmsg_len: %u)", le… in netfilter_read_linux()
140 …pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Malformed message: (nlmsg_len: %u)", nlh->nlmsg_l… in netfilter_read_linux()
238 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "inject not supported on netfilter devices"); in netfilter_inject_linux()
445 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in netfilter_activate()
454 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in netfilter_activate()
470 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in netfilter_activate()
497 …pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't create raw socket %d:%s", errno, pcap_strer… in netfilter_activate()
515 …pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't allocate dump buffer: %s", pcap_strerror(er… in netfilter_activate()
521 …pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "NFULNL_CFG_CMD_PF_UNBIND: %s", pcap_strerror(errn… in netfilter_activate()
[all …]
Dpcap-tc.c568 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "Error allocating memory"); in TcActivate()
592 …pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "Error opening TurboCap adapter: %s", g_TcFunctions.Sta… in TcActivate()
624 …pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE,"Error enabling reception on a TurboCap instance: %s", g… in TcActivate()
663 …pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE,"Error setting the read timeout a TurboCap instance: %s"… in TcActivate()
779 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in TcGetNonBlock()
781 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in TcGetNonBlock()
788 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in TcSetNonBlock()
790 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in TcSetNonBlock()
833 …pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send error: the TurboCap API does not support packets … in TcInject()
841 …pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send error: TcPacketsBufferCreate failure: %s (%08x)",… in TcInject()
[all …]
Dpcap-dbus.c71 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()
170 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Failed to get system bus: %s", error.message); in dbus_activate()
177 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Failed to get session bus: %s", error.message); in dbus_activate()
186 …pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Failed to open connection to: %s: %s", addr, erro… in dbus_activate()
192 …pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Failed to register bus %s: %s\n", addr, error.mes… in dbus_activate()
198 …pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't get bus address from %s", handle->opt.devic… in dbus_activate()
237 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Failed to add bus match: %s\n", error.message); in dbus_activate()
Dpcap-snit.c226 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send: %s", in pcap_inject_snit()
250 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "NIOCSCHUNK: %s", in nit_setflags()
263 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "NIOCSTIME: %s", in nit_setflags()
275 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "NIOCSFLAGS: %s", in nit_setflags()
323 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "%s: %s", dev, in pcap_activate_snit()
330 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "I_SRDOPT: %s", in pcap_activate_snit()
335 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "push nbuf: %s", in pcap_activate_snit()
345 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "NIOCSCHUNK: %s", in pcap_activate_snit()
362 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "NIOCBIND: %s: %s", in pcap_activate_snit()
372 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "NIOCSSNAP: %s", in pcap_activate_snit()
[all …]
Dpcap-dag.c429 strncpy(p->errbuf, "dag_read: record too small", PCAP_ERRBUF_SIZE); in dag_read()
703 PCAP_ERRBUF_SIZE); in dag_inject()
736 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "device is NULL: %s", pcap_strerror(errno)); in dag_activate()
745 …pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't allocate string for device name: %s", pcap_… in dag_activate()
751 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "dag_parse_name: %s", pcap_strerror(errno)); in dag_activate()
757 …pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "dag_parse_name: tx (even numbered) streams not su… in dag_activate()
764 …pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't allocate string for device name: %s", pcap_… in dag_activate()
775 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "dag_open %s: %s", device, pcap_strerror(errno)); in dag_activate()
782 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "dag_attach_stream: %s", pcap_strerror(errno)); in dag_activate()
791 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "dag_get_stream_poll: %s", pcap_strerror(errno)); in dag_activate()
[all …]
Dpcap-pf.c235 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send: %s", in pcap_inject_pf()
332 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "pf open: %s: %s\n\ in pcap_activate_pf()
344 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "EIOCMBIS: %s", in pcap_activate_pf()
355 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "EIOCSETW: %s", in pcap_activate_pf()
361 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "EIOCDEVP: %s", in pcap_activate_pf()
443 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_pf()
456 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "EIOCTRUNCATE: %s", in pcap_activate_pf()
465 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "EIOCSETF: %s", in pcap_activate_pf()
475 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "EIOCSRTIMEOUT: %s", in pcap_activate_pf()
484 strlcpy(p->errbuf, pcap_strerror(errno), PCAP_ERRBUF_SIZE); in pcap_activate_pf()
Dpcap.c403 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_create()
415 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_create()
525 pcap_snprintf(ebuf, PCAP_ERRBUF_SIZE, "malloc: %s", in pcap_alloc_pcap_t()
596 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "can't perform " in pcap_check_activated()
798 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "%s", in pcap_activate()
846 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "%s: %s", device, in pcap_open_live()
851 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "%s: %s (%s)", device, in pcap_open_live()
854 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "%s: %s", device, in pcap_open_live()
1447 strlcpy(p->errbuf, errbuf, PCAP_ERRBUF_SIZE); in pcap_getnonblock()
1464 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "F_GETFL: %s", in pcap_getnonblock_fd()
[all …]
Dfad-gifc.c158 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces()
174 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces()
185 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces()
258 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces()
282 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces()
313 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces()
352 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_findalldevs_interfaces()
Dpcap-snoop.c153 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send: %s", in pcap_inject_snoop()
215 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "snoop socket: %s", in pcap_activate_snoop()
231 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "snoop bind: %s", in pcap_activate_snoop()
237 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "SIOCADDSNOOP: %s", in pcap_activate_snoop()
313 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_activate_snoop()
335 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "SIOCGIFMTU: %s", in pcap_activate_snoop()
369 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "SIOCSNOOPLEN: %s", in pcap_activate_snoop()
375 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "SIOCSNOOPING: %s", in pcap_activate_snoop()
383 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "malloc: %s", in pcap_activate_snoop()
Dfad-helpers.c381 char open_errbuf[PCAP_ERRBUF_SIZE]; in add_or_find_if()
436 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in add_or_find_if()
512 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in add_or_find_if()
523 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in add_or_find_if()
541 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in add_or_find_if()
721 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in add_addr_to_dev()
730 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in add_addr_to_dev()
741 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in add_addr_to_dev()
754 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in add_addr_to_dev()
769 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in add_addr_to_dev()
Dpcap-usb-linux.c400 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in usb_activate()
460 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in usb_activate()
488 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in usb_activate()
539 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in usb_read_linux()
552 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in usb_read_linux()
566 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in usb_read_linux()
618 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in usb_read_linux()
642 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in usb_read_linux()
660 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in usb_read_linux()
708 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "inject not supported on " in usb_inject_linux()
[all …]
Dpcap-bt-monitor-linux.c113 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in bt_monitor_read()
143 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "inject not supported yet"); in bt_monitor_inject()
190 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in bt_monitor_activate()
197 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't allocate dump buffer: %s", in bt_monitor_activate()
208 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in bt_monitor_activate()
215 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in bt_monitor_activate()

123