Home
last modified time | relevance | path

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

/external/libpcap/
Dpcap-linux.c727 struct pcap_linux *handlep = handle->priv; local
814 handlep->mondevice = strdup(mondevice);
815 if (handlep->mondevice == NULL) {
891 struct pcap_linux *handlep = handle->priv; local
971 handlep->mondevice);
980 strlcpy(ifr.ifr_name, handlep->mondevice, sizeof(ifr.ifr_name));
984 handlep->mondevice);
986 handlep->mondevice);
994 handlep->mondevice);
996 handlep->mondevice);
[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.c386 struct pcap_usb_linux *handlep = handle->priv; in usb_mmap() local
391 handlep->mmapbuflen = len; in usb_mmap()
392 handlep->mmapbuf = mmap(0, handlep->mmapbuflen, PROT_READ, in usb_mmap()
394 return handlep->mmapbuf != MAP_FAILED; in usb_mmap()
515 struct pcap_usb_linux *handlep = handle->priv; in usb_activate() local
542 if (sscanf(handle->opt.device, USB_IFACE"%d", &handlep->bus_index) != 1) in usb_activate()
555 pcap_snprintf(full_path, USB_LINE_LEN, LINUX_USB_MON_DEV"%d", handlep->bus_index); in usb_activate()
612 probe_devices(handlep->bus_index); in usb_activate()
627 probe_devices(handlep->bus_index); in usb_activate()
635 pcap_snprintf(full_path, USB_LINE_LEN, USB_TEXT_DIR"/%dt", handlep->bus_index); in usb_activate()
[all …]
Dpcap-bt-linux.c186 struct pcap_bt *handlep = handle->priv; in bt_activate() local
225 handlep->dev_id = dev_id; in bt_activate()
270 addr.hci_dev = handlep->dev_id; in bt_activate()
276 errno, "Can't attach to device %d", handlep->dev_id); in bt_activate()
391 struct pcap_bt *handlep = handle->priv; in bt_stats_linux() local
395 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()
245 handlep->packets_read++; in netfilter_read_linux()
293 struct pcap_netfilter *handlep = handle->priv; in netfilter_stats_linux() local
295 stats->ps_recv = handlep->packets_read; in netfilter_stats_linux()
296 stats->ps_drop = handlep->packets_nobufs; in netfilter_stats_linux()
Dpcap-septel.c265 struct pcap_septel *handlep = p->priv; in septel_stats() local
269 *ps = handlep->stat; in septel_stats()
/external/adhd/cras/src/alsa_plugin/
Dctl_cras.c355 *handlep = cras->ext_ctl.handle; in SND_CTL_PLUGIN_DEFINE_FUNC()