Home | History | Annotate | Download | only in libpcap

Lines Matching refs:handlep

253 	struct pcap_usb_linux *handlep = handle->priv;
258 handlep->mmapbuflen = len;
259 handlep->mmapbuf = mmap(0, handlep->mmapbuflen, PROT_READ,
261 return handlep->mmapbuf != MAP_FAILED;
382 struct pcap_usb_linux *handlep = handle->priv;
398 if (sscanf(handle->opt.device, USB_IFACE"%d", &handlep->bus_index) != 1)
406 pcap_snprintf(full_path, USB_LINE_LEN, LINUX_USB_MON_DEV"%d", handlep->bus_index);
425 probe_devices(handlep->bus_index);
440 probe_devices(handlep->bus_index);
445 pcap_snprintf(full_path, USB_LINE_LEN, USB_TEXT_DIR"/%dt", handlep->bus_index);
455 pcap_snprintf(full_path, USB_LINE_LEN, USB_TEXT_DIR_OLD"/%dt", handlep->bus_index);
514 struct pcap_usb_linux *handlep = handle->priv;
559 uhdr->bus_id = handlep->bus_index;
698 handlep->packets_read++;
716 struct pcap_usb_linux *handlep = handle->priv;
723 pcap_snprintf(string, USB_LINE_LEN, USB_TEXT_DIR"/%ds", handlep->bus_index);
733 pcap_snprintf(string, USB_LINE_LEN, USB_TEXT_DIR_OLD"/%ds", handlep->bus_index);
784 stats->ps_recv = handlep->packets_read;
800 struct pcap_usb_linux *handlep = handle->priv;
811 stats->ps_recv = handlep->packets_read + st.queued;
824 struct pcap_usb_linux *handlep = handle->priv;
867 handlep->packets_read++;
883 struct pcap_usb_linux *handlep = handle->priv;
929 hdr = (pcap_usb_header*) &handlep->mmapbuf[vec[i]];
948 handlep->packets_read++;
971 struct pcap_usb_linux *handlep = handle->priv;
974 if (handlep->mmapbuf != NULL) {
975 munmap(handlep->mmapbuf, handlep->mmapbuflen);
976 handlep->mmapbuf = NULL;