Home
last modified time | relevance | path

Searched refs:handlep (Results 1 – 9 of 9) sorted by relevance

/external/libpcap/
Dpcap-linux.c367 struct pcap_linux *handlep = handle->priv; in pcap_create_interface() local
368 handlep->poll_breakloop_fd = eventfd(0, EFD_NONBLOCK); in pcap_create_interface()
528 struct pcap_linux *handlep = handle->priv; in add_mon_if() local
609 handlep->mondevice = strdup(mondevice); in add_mon_if()
610 if (handlep->mondevice == NULL) { in add_mon_if()
778 struct pcap_linux *handlep = handle->priv; in pcap_cleanup_linux() local
784 if (handlep->must_do_on_close != 0) { in pcap_cleanup_linux()
790 if (handlep->must_do_on_close & MUST_DELETE_MONIF) { in pcap_cleanup_linux()
791 ret = nl80211_init(handle, &nlstate, handlep->device); in pcap_cleanup_linux()
794 handlep->device, handlep->mondevice); in pcap_cleanup_linux()
[all …]
Dpcap-dbus.c56 struct pcap_dbus *handlep = handle->priv; in dbus_read() local
66 message = dbus_connection_pop_message(handlep->conn); in dbus_read()
70 if (!dbus_connection_read_write(handlep->conn, 100)) { in dbus_read()
80 message = dbus_connection_pop_message(handlep->conn); in dbus_read()
95 handlep->packets_read++; in dbus_read()
109 struct pcap_dbus *handlep = handle->priv; in dbus_write() local
120 dbus_connection_send(handlep->conn, msg, NULL); in dbus_write()
121 dbus_connection_flush(handlep->conn); in dbus_write()
130 struct pcap_dbus *handlep = handle->priv; in dbus_stats() local
132 stats->ps_recv = handlep->packets_read; in dbus_stats()
[all …]
Dpcap-usb-linux.c456 struct pcap_usb_linux *handlep = handle->priv; in usb_mmap() local
470 handlep->mmapbuflen = len; in usb_mmap()
471 handlep->mmapbuf = mmap(0, handlep->mmapbuflen, PROT_READ, in usb_mmap()
473 if (handlep->mmapbuf == MAP_FAILED) { in usb_mmap()
631 struct pcap_usb_linux *handlep = handle->priv; in usb_activate() local
659 if (sscanf(handle->opt.device, USB_IFACE"%d", &handlep->bus_index) != 1) in usb_activate()
672 snprintf(full_path, USB_LINE_LEN, LINUX_USB_MON_DEV"%d", handlep->bus_index); in usb_activate()
730 probe_devices(handlep->bus_index); in usb_activate()
757 probe_devices(handlep->bus_index); in usb_activate()
765 snprintf(full_path, USB_LINE_LEN, USB_TEXT_DIR"/%dt", handlep->bus_index); in usb_activate()
[all …]
Dpcap-haiku.cpp55 struct pcap_haiku* handlep = (struct pcap_haiku*)handle->priv; in pcap_read_haiku() local
125 struct pcap_haiku* handlep = (struct pcap_haiku*)handle->priv; in pcap_stats_haiku() local
131 prepare_request(request, handlep->device); in pcap_stats_haiku()
140 handlep->stat.ps_recv += request.ifr_stats.receive.packets; in pcap_stats_haiku()
141 handlep->stat.ps_drop += request.ifr_stats.receive.dropped; in pcap_stats_haiku()
142 *stats = handlep->stat; in pcap_stats_haiku()
150 struct pcap_haiku* handlep = (struct pcap_haiku*)handle->priv; in pcap_activate_haiku() local
163 handlep->device = strdup(device); in pcap_activate_haiku()
164 if (handlep->device == NULL) { in pcap_activate_haiku()
Dpcap-bt-linux.c187 struct pcap_bt *handlep = handle->priv; in bt_activate() local
226 handlep->dev_id = dev_id; in bt_activate()
271 addr.hci_dev = handlep->dev_id; in bt_activate()
277 errno, "Can't attach to device %d", handlep->dev_id); in bt_activate()
404 struct pcap_bt *handlep = handle->priv; in bt_stats_linux() local
408 dev_info.dev_id = handlep->dev_id; in bt_stats_linux()
Dpcap-netfilter-linux.c91 struct pcap_netfilter *handlep = handle->priv; in netfilter_read_linux() local
126 handlep->packets_nobufs++; in netfilter_read_linux()
256 handlep->packets_read++; in netfilter_read_linux()
311 struct pcap_netfilter *handlep = handle->priv; in netfilter_stats_linux() local
313 stats->ps_recv = handlep->packets_read; in netfilter_stats_linux()
314 stats->ps_drop = handlep->packets_nobufs; in netfilter_stats_linux()
Dpcap-septel.c254 struct pcap_septel *handlep = p->priv; in septel_stats() local
258 *ps = handlep->stat; in septel_stats()
/external/adhd/cras/src/alsa_plugin/
Dctl_cras.c276 *handlep = cras->ext_ctl.handle; in SND_CTL_PLUGIN_DEFINE_FUNC()
/external/libabigail/tests/data/test-abidiff/
Dtest-PR18166-libtirpc.so.abi2505 …<parameter type-id='type-id-5' name='handlep' filepath='/home/max/src/v6/libtirpc/src/getnetconfig…
2509 …<parameter type-id='type-id-5' name='handlep' filepath='/home/max/src/v6/libtirpc/src/getnetconfig…
2586 …<parameter type-id='type-id-5' name='handlep' filepath='/home/max/src/v6/libtirpc/src/getnetpath.c…
2590 …<parameter type-id='type-id-5' name='handlep' filepath='/home/max/src/v6/libtirpc/src/getnetpath.c…