Home
last modified time | relevance | path

Searched refs:pcap_snprintf (Results 1 – 25 of 44) sorted by relevance

12

/external/libpcap/
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()
164 (void)pcap_snprintf(pcap->errbuf, sizeof(pcap->errbuf), in sf_getevent()
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()
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()
501 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in bpf_open()
509 (void)pcap_snprintf(device, sizeof(device), "/dev/bpf%d", n++); 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()
383 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in open_dlpi_device()
407 pcap_snprintf(dname, sizeof(dname), "%s/%s", PCAP_DEV_PREFIX, 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-new.c110pcap_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()
168 pcap_snprintf(tmpstring, sizeof(tmpstring) - 1, "%s '%s' %s", PCAP_TEXT_SOURCE_ADAPTER, in pcap_findalldevs_ex()
171 pcap_snprintf(tmpstring, sizeof(tmpstring) - 1, "%s '%s' %s", PCAP_TEXT_SOURCE_ADAPTER, in pcap_findalldevs_ex()
181 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "malloc() failed: %s", pcap_strerror(errno)); in pcap_findalldevs_ex()
226 pcap_snprintf(path, sizeof(path), "%s", name); in pcap_findalldevs_ex()
240pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "Error when listing files: does folder '%s' exist?", path); in pcap_findalldevs_ex()
253pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "Error when listing files: does folder '%s' exist?", path); in pcap_findalldevs_ex()
262 pcap_snprintf(filename, sizeof(filename), "%s%s", path, filedata.cFileName); in pcap_findalldevs_ex()
[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()
119 pcap_snprintf(dev_name, 20, BT_IFACE"%d", dev_req->dev_id); in bt_findalldevs()
120 pcap_snprintf(dev_descr, 30, "Bluetooth adapter number %d", i); 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()
[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()
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()
347 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in snf_findalldevs()
[all …]
Dpcap-win32.c183 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_stats_win32()
241 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_stats_ex_win32()
260pcap_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()
285pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "driver error: unable to set the requested mintocopy si… in pcap_setmintocopy_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()
359 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_oid_set_request_win32()
369 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_oid_set_request_win32()
394 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, in pcap_sendqueue_transmit_win32()
[all …]
Dsockutils.c145 pcap_snprintf(errbuf, errbuflen, "%sUnable to get the exact error message", caller); in sock_geterror()
147 pcap_snprintf(errbuf, errbuflen, "Unable to get the exact error message"); in sock_geterror()
153 pcap_snprintf(errbuf, errbuflen, "%s%s (code %d)", caller, message, code); in sock_geterror()
155 pcap_snprintf(errbuf, errbuflen, "%s (code %d)", message, code); in sock_geterror()
166 pcap_snprintf(errbuf, errbuflen, "%s%s (code %d)", caller, message, errno); in sock_geterror()
168 pcap_snprintf(errbuf, errbuflen, "%s (code %d)", message, errno); in sock_geterror()
199 pcap_snprintf(errbuf, errbuflen, "Failed to initialize Winsock\n"); in sock_init()
312 pcap_snprintf(errbuf, errbuflen, "setsockopt(IPV6_BINDV6ONLY)"); in sock_open()
369 pcap_snprintf(errbufptr, bufspaceleft, in sock_open()
493 pcap_snprintf(errbuf, errbuflen, "getaddrinfo() %s", gai_strerror(retval)); in sock_initaddress()
[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-usb-linux.c147 pcap_snprintf(dev_name, 10, USB_IFACE"%d", n); in usb_dev_add()
148 pcap_snprintf(dev_descr, 30, "USB bus number %d", n); in usb_dev_add()
290 pcap_snprintf(buf, sizeof(buf), "/dev/bus/usb/%03d", bus); in probe_devices()
302 pcap_snprintf(buf, sizeof(buf), "/dev/bus/usb/%03d/%s", bus, data->d_name); in probe_devices()
400 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, in usb_activate()
406 pcap_snprintf(full_path, USB_LINE_LEN, LINUX_USB_MON_DEV"%d", handlep->bus_index); in usb_activate()
445 pcap_snprintf(full_path, USB_LINE_LEN, USB_TEXT_DIR"/%dt", handlep->bus_index); in usb_activate()
455 pcap_snprintf(full_path, USB_LINE_LEN, USB_TEXT_DIR_OLD"/%dt", handlep->bus_index); 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()
[all …]
Dpcap-pf.c130 pcap_snprintf(pc->errbuf, sizeof(pc->errbuf), "pf read: %s", in pcap_read_pf()
163 pcap_snprintf(pc->errbuf, sizeof(pc->errbuf), in pcap_read_pf()
175 pcap_snprintf(pc->errbuf, sizeof(pc->errbuf), in pcap_read_pf()
235 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()
[all …]
Dpcap.c111 (void)pcap_snprintf(pcap->errbuf, sizeof(pcap->errbuf), in pcap_not_initialized()
121 (void)pcap_snprintf(pcap->errbuf, sizeof(pcap->errbuf), in pcap_not_initialized_ptr()
129 (void)pcap_snprintf(pcap->errbuf, sizeof(pcap->errbuf), in pcap_getevent_not_initialized()
137 (void)pcap_snprintf(pcap->errbuf, sizeof(pcap->errbuf), in pcap_sendqueue_transmit_not_initialized()
145 (void)pcap_snprintf(pcap->errbuf, sizeof(pcap->errbuf), in pcap_get_airpcap_handle_not_initialized()
193 (void)pcap_snprintf(p->errbuf, sizeof(p->errbuf), in pcap_list_tstamp_types()
403 pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, in pcap_create()
408 pcap_snprintf(device_str, length + 1, "%ws", 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()
[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()
Dpcap-tc.c568 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "Error allocating memory"); in TcActivate()
592pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "Error opening TurboCap adapter: %s", g_TcFunctions.Sta… in TcActivate()
624pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE,"Error enabling reception on a TurboCap instance: %s", g… in TcActivate()
663pcap_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()
833pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send error: the TurboCap API does not support packets … in TcInject()
841pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send error: TcPacketsBufferCreate failure: %s (%08x)",… in TcInject()
[all …]
Dpcap-netfilter-linux.c107pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't receive packet %d:%s", errno, pcap_strerror… in netfilter_read_linux()
118pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Message truncated: (got: %d) (nlmsg_len: %u)", le… in netfilter_read_linux()
140pcap_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()
497pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't create raw socket %d:%s", errno, pcap_strer… in netfilter_activate()
515pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't allocate dump buffer: %s", pcap_strerror(er… in netfilter_activate()
521pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "NFULNL_CFG_CMD_PF_UNBIND: %s", pcap_strerror(errn… in netfilter_activate()
[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()
115pcap_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()
186pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Failed to open connection to: %s: %s", addr, erro… in dbus_activate()
192pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Failed to register bus %s: %s\n", addr, error.mes… in dbus_activate()
198pcap_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-dag.c736 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "device is NULL: %s", pcap_strerror(errno)); in dag_activate()
745pcap_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()
757pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "dag_parse_name: tx (even numbered) streams not su… in dag_activate()
764pcap_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()
816 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "dag_set_stream_poll: %s", pcap_strerror(errno)); in dag_activate()
822 pcap_snprintf(handle->errbuf, PCAP_ERRBUF_SIZE,"dag_mmap %s: %s", device, pcap_strerror(errno)); in dag_activate()
[all …]
Dpcap-snoop.c98 pcap_snprintf(p->errbuf, sizeof(p->errbuf), in pcap_read_snoop()
153 pcap_snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "send: %s", in pcap_inject_snoop()
170 pcap_snprintf(p->errbuf, sizeof(p->errbuf), in pcap_stats_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()
[all …]
Dpcap-snit.c133 pcap_snprintf(p->errbuf, sizeof(p->errbuf), "pcap_read: %s", in pcap_read_snit()
226 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()
[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()
Dinet.c161 (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,
270 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE, "memory allocation failure");
277 (void)pcap_snprintf(errbuf, PCAP_ERRBUF_SIZE,
Dfad-helpers.c343 pcap_snprintf(description, descr_size, in get_if_description()
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-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()

12